about summary refs log tree commit diff
path: root/posix/glob.c
Commit message (Collapse)AuthorAgeFilesLines
* Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath1996-03-011-27/+26
| | | | | | | | | | | | | | | | | | * posix/glob.c: Use canonical code from autoconf manual for dirent include. [_D_NAMLEN]: Redefine NAMLEN using this. (glob_in_dir): Use NAMLEN macro. * sysdeps/posix/profil.c: New file. Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file. * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove `extern' keyword. * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
* * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not cvs/libc-960120Roland McGrath1996-01-201-1/+1
| | | | | | | | | | | | | | __tcdrain. * posix/glob.c (glob): Use prototype in getlogin decl. * db/ndbm.h: Declare dbm_error, dbm_clearerr. * db/db/db.c (__dberr): Define with prototype. (__dbpanic): Use prototypes in casts. * db/hash/hash_log2.c: Add prototype decl. * sysdeps/generic/_strerror.c (_strerror_internal): Define with prototype.
* * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod. cvs/libc-960119Roland McGrath1996-01-191-0/+5
| | | | | | | | | * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to get args. * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h defines GNU extensions. * posix/fnmatch.c: Likewise.
* Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-960113Roland McGrath1996-01-131-2/+2
| | | | | | | | | | | | * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h. * posix/glob.c (glob): Add parens in glob call flags arg for GLOB_BRACE case. * string/string.h (strdupa): New macro. * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not terminator on empty set. From drepper.
* Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951214Roland McGrath1995-12-141-4/+4
| | | | | | | | | | * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t, and cast STREAM to DIR * before passing to readdir and closedir. Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply after aborting RPCs but before calling proc_mark_stop.
* Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-12-121-1/+4
| | | | | | | | | | | | | | | | | | | | | * posix/glob.c [! STDC_HEADERS]: Declare getenv. (glob): Avoid using function as value. * elf/rtld.c (dl_main): When mapping argument executable, set l_name to "", not l_libname. After loading DT_NEEDED library, set its l_type to lt_library. * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean VM_INHERIT. We can't handle MAP_INHERIT easily. Handle non-page-aligned addresses if congruent to offset. * elf/dl-init.c: Skip the initializer for l_type lt_executable with l_name "". Start at _dl_loaded; don't skip the first element. * elf/dl-load.c (MAP_FILE): Define to zero if undefined. (MAP_COPY): Define to MAP_PRIVATE if undefined. (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls. If file it ET_EXEC, set its l_type to lt_executable.
* Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951210 cvs/libc-951209Roland McGrath1995-12-091-39/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | * locale/error.c, locale/error.h: Files removed. * locale/Makefile (distribute): Remove error.h. (lib-modules): Remove error. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty" magic, return ENXIO if no ctty. * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous mapping if vm_map fails for that reason. * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_TILDE, GLOB_NOMAGIC. (glob): Use stat instead of lstat to determine directoriness. * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): New flag bits. (__GLOB_FLAGS): Include them. (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, gl_stat. * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros. * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to define all the bit values. (MAP_*, MCL_*): Macros removed.
* (glob): Comment fix.Roland McGrath1995-09-111-2/+1
|
* Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-08-311-3/+13
| | | | | | | | | | | | | | | * sysdeps/mach/hurd/select.c: Deal with out of order replies during io_select request loop. Handle MACH_RCV_TIMED_OUT error from requests. * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option, distinguish MACH_RCV_TIMED_OUT from EINTR. * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK slash. (glob_in_dir): Don't allocate extra byte here. * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Decrement the DT_RELSZ value for the skipped reloc.
* * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.Roland McGrath1995-08-071-1/+1
| | | | | * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
* (S_ISDIR): Define if undefined. cvs/make-3-74 cvs/make-3-73-3Roland McGrath1995-04-291-0/+2
|
* (glob): If GLOB_MARK set, stat names to find directories and append slashes ↵Roland McGrath1995-04-251-6/+26
| | | | to them in final pass before sorting. (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the slash; never append it here.
* initial importRoland McGrath1995-02-181-0/+671