Menu

Commit [r227]  Maximize  Restore  History

- 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.

obarthel 2005-04-01

changed /trunk/library/changes
changed /trunk/library/fcntl_close.c
changed /trunk/library/fcntl_lock.c
changed /trunk/library/mount_fstatfs.c
changed /trunk/library/signal_raise.c
changed /trunk/library/socket_select.c
changed /trunk/library/stat_fchmod.c
changed /trunk/library/stdio_fdhookentry.c
changed /trunk/library/stdio_file_init.c
changed /trunk/library/stdio_get_file_descriptor.c
changed /trunk/library/stdio_grow_file.c
changed /trunk/library/stdio_iobhookentry.c
changed /trunk/library/stdio_protos.h
changed /trunk/library/stdio_record_locking.c
changed /trunk/library/stdio_remove_fd_alias.c
changed /trunk/library/stdlib_main.c
changed /trunk/library/unistd_fchown.c
changed /trunk/library/unistd_ftruncate.c
changed /trunk/library/unistd_sync_fd.c
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/fcntl_close.c Diff Switch to side-by-side view
Loading...
/trunk/library/fcntl_lock.c Diff Switch to side-by-side view
Loading...
/trunk/library/mount_fstatfs.c Diff Switch to side-by-side view
Loading...
/trunk/library/signal_raise.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_select.c Diff Switch to side-by-side view
Loading...
/trunk/library/stat_fchmod.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_fdhookentry.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_file_init.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_get_file_descriptor.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_grow_file.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_iobhookentry.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_protos.h Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_record_locking.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_remove_fd_alias.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdlib_main.c Diff Switch to side-by-side view
Loading...
/trunk/library/unistd_fchown.c Diff Switch to side-by-side view
Loading...
/trunk/library/unistd_ftruncate.c Diff Switch to side-by-side view
Loading...
/trunk/library/unistd_sync_fd.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.