Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 1997 17:14:44 -0800 (PST)
From:      Brian Somers <brian>
To:        CVS-committers, cvs-all, cvs-usrsbin
Subject:   cvs commit:  src/usr.sbin/ppp sig.c sig.h Makefile chat.c main.c timeout.h timer.c
Message-ID:  <199702190114.RAA18095@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
brian       97/02/18 17:14:44

  Modified:    usr.sbin/ppp  Makefile chat.c main.c timeout.h timer.c
  Added:       usr.sbin/ppp  sig.c sig.h
  Log:
  Tidy up signal handling.
  All signal() calls have been changed to pending_signal() calls.
  pending_signal() is defined in the new sig.c file.  It remembers
  the handler and traps the signal with a function that will remember
  the signal.
  
  main.c now calls handle_signals() to actually call the required
  handlers (if the above handler was called).
  
  If this doesn't close PR2662 (was PR2347), I'll cry.
  
  Joerg, I think this should go into 2.2, but I havn't done anything
  about it because I'm bound to botch it with the new sig.[ch] files.
  
  I've just "cvs add"'d sig.[ch] so far.... can you update to 2.2 and
  tell me what you did ?  Thanks.
  
  Revision  Changes    Path
  1.13      +1 -1      src/usr.sbin/ppp/Makefile
  1.15      +6 -6      src/usr.sbin/ppp/chat.c
  1.31      +18 -40    src/usr.sbin/ppp/main.c
  1.8       +0 -1      src/usr.sbin/ppp/timeout.h
  1.8       +3 -26     src/usr.sbin/ppp/timer.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702190114.RAA18095>