home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
- From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
- Newsgroups: comp.os.linux
- Subject: Re: C_A_D=0
- Message-ID: <1992Jul27.191256.6181@klaava.Helsinki.FI>
- Date: 27 Jul 92 19:12:56 GMT
- References: <1992Jul27.180447.28246@ifi.uio.no> <1992Jul27.185353.5771@klaava.Helsinki.FI>
- Organization: University of Helsinki
- Lines: 21
-
- Never write in a patch by hand: it usually gets messed up...
-
- In article <1992Jul27.185353.5771@klaava.Helsinki.FI> I wrote:
- >
- >(b) apply this "patch" (or wait for my next release):
- >
- > in linux/kernel/sys.c, ctrl_alt_del():
- >
- >! if (task[1])
- > send_sig(SIGINT,task[1],1);
- >
- > should be:
- >
- >! if (task[1] && task[1].sigaction[SIGINT-1].sa_handler)
- ^^^
- > send_sig(SIGINT,task[1],1);
-
- the 'task[1].sigaction' should obviously be a 'task[1]->sigaction', or
- it won't even compile...
-
- Linus "shamefaced" Torvalds
-