home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6793 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  935 b 

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: C_A_D=0
  5. Message-ID: <1992Jul27.191256.6181@klaava.Helsinki.FI>
  6. Date: 27 Jul 92 19:12:56 GMT
  7. References: <1992Jul27.180447.28246@ifi.uio.no> <1992Jul27.185353.5771@klaava.Helsinki.FI>
  8. Organization: University of Helsinki
  9. Lines: 21
  10.  
  11. Never write in a patch by hand: it usually gets messed up...
  12.  
  13. In article <1992Jul27.185353.5771@klaava.Helsinki.FI> I wrote:
  14. >
  15. >(b) apply this "patch" (or wait for my next release):
  16. >
  17. >    in linux/kernel/sys.c, ctrl_alt_del():
  18. >
  19. >!         if (task[1])
  20. >            send_sig(SIGINT,task[1],1);
  21. >
  22. >    should be:
  23. >
  24. >!         if (task[1] && task[1].sigaction[SIGINT-1].sa_handler)
  25.                                 ^^^
  26. >            send_sig(SIGINT,task[1],1);
  27.  
  28. the 'task[1].sigaction' should obviously be a 'task[1]->sigaction', or
  29. it won't even compile...
  30.  
  31.         Linus "shamefaced" Torvalds
  32.