]> git.pond.sub.org Git - empserver/commit
(disassoc): Rewrite for POSIX, return status. Caller changed.
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 25 Oct 2005 18:42:03 +0000 (18:42 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 25 Oct 2005 18:42:03 +0000 (18:42 +0000)
commita6a87af6ed7a9202e4f397144823b2d8524d5721
tree09d5d28f881d3202f140987c298aba6c65f41ad3
parent551263cb0723e8e50e3d95f5ac2c7c13cef56f07
(disassoc): Rewrite for POSIX, return status.  Caller changed.
Problems with the old code:
* Insufficient error checking.
* It used TIOCNOTTY (obsolete BSDism) to get rid of the controlling
  tty, except for hpux || Rel4, where it attempted to use the POSIX
  way, but screwed up.
* It left file descriptors 0, 1, 2 in a somewhat weird state.
include/prototypes.h
src/lib/gen/Makefile
src/lib/gen/disassoc.c
src/server/main.c