Menu

Commit [r530]  Maximize  Restore  History

- Reworked the __putc() and putc() macros to reference the 'c' input

parameter only once, and to be free of side-effects when tinkering
with the buffer position.

- isatty() had the __fd_lock() call in the wrong place, which could have
led to cleanup problems later.

- The close action in the stdio, socket and termios hook code now
also zaps the fd pointer itself after cleaning up the file descriptor
table entry.

obarthel 2010-10-20

changed /trunk/library/changes
changed /trunk/library/include/stdio.h
changed /trunk/library/socket_hook_entry.c
changed /trunk/library/stdio_fdhookentry.c
changed /trunk/library/stdio_fwrite.c
changed /trunk/library/stdio_headers.h
changed /trunk/library/termios_console_fdhookentry.c
changed /trunk/library/unistd_isatty.c
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/include/stdio.h Diff Switch to side-by-side view
Loading...
/trunk/library/socket_hook_entry.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_fwrite.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_headers.h Diff Switch to side-by-side view
Loading...
/trunk/library/termios_console_fdhookentry.c Diff Switch to side-by-side view
Loading...
/trunk/library/unistd_isatty.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.