mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- File descriptors produced by dup() or dup2() now work exactly like
the original file descriptors they are duplicates of. I modified the function which maps file descriptor numbers to file descriptor table entries to return the table entries of the original files. - In the thread-safe library, duplicated stdin/stdout/stderr descriptors now work like the "real" ones. This is true even if the "real" ones were closed and only their former aliases remain. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14909 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: signal_raise.c,v 1.6 2005-03-27 10:02:50 obarthel Exp $
|
||||
* $Id: signal_raise.c,v 1.7 2005-04-01 18:46:37 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -112,10 +112,6 @@ raise(int sig)
|
||||
__print_termination_message(break_string);
|
||||
|
||||
SHOWMSG("bye, bye...");
|
||||
|
||||
/* Note that we drop into the exit() function which
|
||||
does not trigger the exit trap. */
|
||||
_exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* Drop straight into abort(), which might call signal()
|
||||
|
||||
Reference in New Issue
Block a user