mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 18:23:41 +08:00
137fe72eca
Previously, application code had to set up the d_namlen member if the target supported it, involving conditional compilation. After this change, glob will use the length of the string in d_name instead of d_namlen to determine the file name length. All glibc targets provide the d_type and d_ino members, and setting them as needed for gl_readdir is straightforward. Changing the behavior with regards to d_ino is left to a future cleanup. |
||
---|---|---|
.. | ||
add.c | ||
argp-ex1.c | ||
argp-ex2.c | ||
argp-ex3.c | ||
argp-ex4.c | ||
atexit.c | ||
db.c | ||
dir2.c | ||
dir.c | ||
execinfo.c | ||
filecli.c | ||
filesrv.c | ||
fmtmsgexpl.c | ||
genpass.c | ||
inetcli.c | ||
inetsrv.c | ||
isockad.c | ||
longopt.c | ||
memopen.c | ||
memstrm.c | ||
mkdirent.c | ||
mkfsock.c | ||
mkisock.c | ||
mygetpass.c | ||
ofdlocks.c | ||
pipe.c | ||
popen.c | ||
README | ||
rprintf.c | ||
search.c | ||
select.c | ||
setjmp.c | ||
sigh1.c | ||
sigusr.c | ||
stpcpy.c | ||
strdupa.c | ||
strftim.c | ||
subopt.c | ||
swapcontext.c | ||
termios.c | ||
testopt.c | ||
testpass.c | ||
timeval_subtract.c |
These are source files for example code that appears in The GNU C Library Reference Manual. While the manual itself is licensed under the terms of the GNU Free Documentation License, you can use these source files on their own under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License, or (at your option) any later version.