view modules/glob @ 7268:e476bb105193

Fix global typo in last change: use chmod u-w, not chmod u-x. Spotted by Paul Eggert and Bruce Korb. * modules/alloca-opt, modules/argz, modules/arpa_inet: * modules/byteswap, modules/configmake, modules/fcntl: * modules/fnmatch, modules/getopt, modules/glob, modules/inttypes: * modules/localcharset, modules/netinet_in, modules/poll: * modules/stdbool, modules/stdint, modules/sys_select: * modules/sys_socket, modules/sys_stat, modules/sysexits:
author Jim Meyering <jim@meyering.net>
date Thu, 07 Sep 2006 05:53:52 +0000
parents 8dffb67501b7
children 9ff9e0f3d681
line wrap: on
line source

Description:
glob() function: Search for files and directories with paths matching a
pattern, with GNU extensions.

Files:
lib/glob_.h
lib/glob-libc.h
lib/glob.c
m4/glob.m4

Depends-on:
alloca
d-type
extensions
fnmatch
getlogin_r
mempcpy
stat-macros
stdbool
strdup
unistd

configure.ac:
gl_GLOB

Makefile.am:
BUILT_SOURCES += $(GLOB_H)
EXTRA_DIST += glob_.h glob-libc.h

# We need the following in order to create <glob.h> when the system
# doesn't have one that works with the given compiler.
glob.h: glob_.h
	rm -f $@-t $@
	cp $(srcdir)/glob_.h $@-t
	chmod a-w $@-t
	mv $@-t $@
MOSTLYCLEANFILES += glob.h glob.h-t

Include:
<glob.h>

License:
LGPL

Maintainer:
all, glibc