Menu

Code Commit Log


Commit Date  
[r159] by obarthel

- Added stdio thread locking functions flockfile(), funlockfile(),
and ftrylockfile().

- Modified the internal FILE structure to allow for thread locking.
Note that this again requires that the library is rebuilt!

- Added or modified macros for getc_unlocked(), getchar_unlocked(),
putc_unlocked() and putchar_unlocked().

- Added rand_r().

- Added flockfile()/funlockfile() wrappers around all stdio
functions.

2005-02-27 18:09:12 Tree
[r158] by obarthel

- The process window pointer is now restored and reset between ^C
checks while wildcard patterns are expanded in the the command line.

2005-02-26 09:05:54 Tree
[r157] by obarthel

- When using the wildcard expansion code for command line
parameters (which is by default linked in with libunix.a),
regular expressions can no longer prompt dos.library requesters
to appear. However, to be on the safe side, if you are expecting
to pass regular expressions on the command line, do not use
the wildcard expansion code such as by overriding the library
symbols with dummy functions such as are used in the file
"stdlib_wildcard_expand.c".

- Added a new variable '__open_locale' which can be used to
restrict all library functions to use the "C" language locale
rather than the current system locale settings. In addition
to that, two new functions __locale_exit() and __locale_init()
can be used to close and (re-)open the system locale at a
later time.

- Local ("static") functions are now identified by the STATIC
qualifier. This was done in preparation for changes that will
deal with global and local data and the issue of thread safety.

2005-02-25 10:14:22 Tree
[r156] by obarthel

- Fixed a warning for a possibly uninitialized variable in the new iob hook
code.

2005-02-21 16:09:44 Tree
[r155] by obarthel

- Cosmetic changes for (hopefully) better readability.

2005-02-21 10:22:02 Tree
[r154] by obarthel

- The lseek() function return code was not consistently treated as the
then current file position. Fixed.

- Numerous house-keeping changes.

2005-02-20 15:46:57 Tree
[r153] by obarthel

- The buffered and unbuffered file hook code is now invoked through
function pointers alone. The utility.library/CallHookPkt mechanism
is no longer required.

- Moved the entire lseek() code relevant for files into the hook
function.

- Simplified the close() function which now just calls into the
hook code to perform whatever is necessary. The hook code is
responsible for cleaning up after aliases, etc. This change in
turn made it possible to greatly simplify the hook code for
buffered files which now bypasses close/read/write/lseek and
directly invokes the hook code for unbuffered files.

2005-02-20 13:19:40 Tree
[r152] by obarthel

- Simplified the fcntl() code to use the varargs functions more carefully.
Also, the file descriptor duplication code no longer uses a goto to
deliver its result.

2005-02-20 09:03:02 Tree
[r151] by obarthel

- Major, major changes! Moved most of the monolithic code out of
the file descriptor hook and into the respective functions,
such as dup2(), fchmod(), fchown(), fcntl(), fdatasync(), fstatfs(),
fsync(), ftruncate() and lseek(). Code which is not strictly
required will no longer find its way into your programs if you
link with the updated library.

NOTE: these changes require that the entire library is rebuilt!

2005-02-18 18:53:17 Tree
[r150] by obarthel

- Moved the slash translation code around a bit more. Now ".//" comes out as
"" rather than ":".

2005-02-16 14:48:17 Tree
Older >
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.