Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/lib/libc/gen



Module Name:    basesrc
Committed By:   christos
Date:           Sat Sep  8 22:39:22 UTC 2001

Modified Files:
        basesrc/lib/libc/gen: __glob13.c

Log Message:
Selected fixes from Brian Ginsbach <ginsbach%cray.com@localhost>, modified by 
me.
- handle globbing of patterns that contain unmatched braces. Globbing
  a pattern "foo{" in a directory that contains "foo{" now works.
- check for MAXPATHLEN overflows during filename generation (security problem).
- Posix/XOpen fixes to always return GLOB_ABORTED when a directory open fails
  or when a file access fails.
- pathc was not initialized to 0 in one case.
Also
- rename err to error, so that it does not conflict with the libc function.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 basesrc/lib/libc/gen/__glob13.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index