]> Savannah Git Hosting - gnulib.git/commit
glob: get closer to glibc glob.c
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Nov 2019 01:57:53 +0000 (17:57 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Nov 2019 01:58:12 +0000 (17:58 -0800)
commit5c6bf411220ec1b1dbc57958759ffb092e3f832e
treec561c3c0b0094ad735575ce0eaa4b37597e6e87a
parent3701658a6ae874972a7e41e1e9632782f84534d6
glob: get closer to glibc glob.c

Omit differences from glibc when the differences don’t matter.
* lib/glob.c [_LIBC]: Include shlib-compat.h.
(__glob) [!_LIBC]: New macro.  All uses of glob changed to __glob.
(glob_lstat): New function.
(glob_in_dir): Use it.
(GLOB_ATTRIBUTE): Define to empty if not already defined.
Use changed.
ChangeLog
lib/glob.c