Menu

Commit [r136]  Maximize  Restore  History

- Folded duplicate code stdio_init_exit.c into a common function.

- Simplified the code in time_asctime_r.c which builds the time
string. It gracefully handles buffer sizes which are too short
by returning an empty string.

- Moved the tm->tm_wday initialization out of the hook function
in time_strftime.c since it was to be called only once anyway.

- Lost a few compiler warnings in unistd_time_delay.c and
time_gettimeofday.c.

- Folded duplicate code in time_mktime.c; also, errno is no longer
modified unless the library is built with the CHECK_FOR_NULL_POINTERS
option.

obarthel 2005-01-30

changed /trunk/library/changes
changed /trunk/library/macros.h
changed /trunk/library/stat_convertfileinfo.c
changed /trunk/library/stat_stat.c
changed /trunk/library/stdio_init_exit.c
changed /trunk/library/time_asctime_r.c
changed /trunk/library/time_gettimeofday.c
changed /trunk/library/time_headers.h
changed /trunk/library/time_mktime.c
changed /trunk/library/time_strftime.c
changed /trunk/library/unistd_time_delay.c
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/macros.h Diff Switch to side-by-side view
Loading...
/trunk/library/stat_convertfileinfo.c Diff Switch to side-by-side view
Loading...
/trunk/library/stat_stat.c Diff Switch to side-by-side view
Loading...
/trunk/library/stdio_init_exit.c Diff Switch to side-by-side view
Loading...
/trunk/library/time_asctime_r.c Diff Switch to side-by-side view
Loading...
/trunk/library/time_gettimeofday.c Diff Switch to side-by-side view
Loading...
/trunk/library/time_headers.h Diff Switch to side-by-side view
Loading...
/trunk/library/time_mktime.c Diff Switch to side-by-side view
Loading...
/trunk/library/time_strftime.c Diff Switch to side-by-side view
Loading...
/trunk/library/unistd_time_delay.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.