srogue: use functions from mdport.c.

Shell escape, passwd entries, terminal settings, and most signal
handling is now done with the more portable md_* functions.
This commit is contained in:
John "Elwin" Edwards 2014-04-30 14:46:30 -07:00
parent de1e0f2759
commit 791df4324f
10 changed files with 34 additions and 115 deletions

View file

@ -210,6 +210,9 @@ md_onsignal_exit(void)
#ifdef SIGTERM
signal(SIGTERM, exit);
#endif
#ifdef SIGINT
signal(SIGINT, exit);
#endif
}
extern void auto_save(int sig);