annotate modules/glob @ 15416:10b35faca629

Rename module 'c++defs' to 'snippet/c++defs'. * modules/snippet/c++defs: Renamed from modules/c++defs. (Files, Makefile.am): Update. * build-aux/snippet/c++defs.h: Renamed from build-aux/c++defs.h. * modules/arpa_inet (Depends-on): Update. * modules/ctype (Depends-on): Update. * modules/dirent (Depends-on): Update. * modules/fcntl-h (Depends-on): Update. * modules/glob (Depends-on): Update. * modules/iconv-h (Depends-on): Update. * modules/langinfo (Depends-on): Update. * modules/locale (Depends-on): Update. * modules/math (Depends-on): Update. * modules/netdb (Depends-on): Update. * modules/poll-h (Depends-on): Update. * modules/pty (Depends-on): Update. * modules/search (Depends-on): Update. * modules/signal (Depends-on): Update. * modules/spawn (Depends-on): Update. * modules/stdio (Depends-on): Update. * modules/stdlib (Depends-on): Update. * modules/string (Depends-on): Update. * modules/strings (Depends-on): Update. * modules/sys_ioctl (Depends-on): Update. * modules/sys_select (Depends-on): Update. * modules/sys_socket (Depends-on): Update. * modules/sys_stat (Depends-on): Update. * modules/sys_time (Depends-on): Update. * modules/sys_wait (Depends-on): Update. * modules/termios (Depends-on): Update. * modules/time (Depends-on): Update. * modules/unistd (Depends-on): Update. * modules/wchar (Depends-on): Update. * modules/wctype-h (Depends-on): Update.
author Bruno Haible <bruno@clisp.org>
date Tue, 12 Jul 2011 11:39:50 +0200
parents 768296dab89a
children d2437ed29d20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5898
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
1 Description:
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
2 glob() function: Search for files and directories with paths matching a
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
3 pattern, with GNU extensions.
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
4
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
5 Files:
9251
b63ebb550394 Rename glob_.h to glob.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9196
diff changeset
6 lib/glob.in.h
6223
1c8ef7732db0 * modules/glob (Files): Add glob-libc.h.
Derek R. Price <derek@ximbiot.com>
parents: 6001
diff changeset
7 lib/glob-libc.h
5898
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
8 lib/glob.c
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
9 m4/glob.m4
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
10
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
11 Depends-on:
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
12 extensions
15415
768296dab89a Rename module 'arg-nonnull' to 'snippet/arg-nonnull'.
Bruno Haible <bruno@clisp.org>
parents: 14977
diff changeset
13 snippet/arg-nonnull
15416
10b35faca629 Rename module 'c++defs' to 'snippet/c++defs'.
Bruno Haible <bruno@clisp.org>
parents: 15415
diff changeset
14 snippet/c++defs
12932
fecbba7601e9 glob: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12422
diff changeset
15 warn-on-use
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
16 alloca [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
17 d-type [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
18 dirfd [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
19 fnmatch [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
20 getlogin_r [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
21 memchr [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
22 mempcpy [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
23 stdbool [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
24 strdup [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
25 sys_stat [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
26 unistd [test -n "$GLOB_H"]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
27 malloc-posix [test -n "$GLOB_H"]
5898
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
28
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
29 configure.ac:
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
30 gl_GLOB
14977
dba5736dcefe glob: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
31 if test -n "$GLOB_H"; then
dba5736dcefe glob: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
32 AC_LIBOBJ([glob])
dba5736dcefe glob: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
33 gl_PREREQ_GLOB
dba5736dcefe glob: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
34 fi
5898
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
35
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
36 Makefile.am:
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
37 BUILT_SOURCES += $(GLOB_H)
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
38
6001
322a0918d54a * modules/alloca-opt (Makefile.am): Remove explicit dependency on
Paul Eggert <eggert@cs.ucla.edu>
parents: 5898
diff changeset
39 # We need the following in order to create <glob.h> when the system
5898
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
40 # doesn't have one that works with the given compiler.
14528
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
41 if GL_GENERATE_GLOB_H
14527
049942251f65 Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
42 glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11858
diff changeset
43 $(AM_V_GEN)rm -f $@-t $@ && \
7421
8bace4b08db5 Mark generated files as "DO NOT EDIT".
Bruno Haible <bruno@clisp.org>
parents: 7274
diff changeset
44 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
8777
b0892cca14c9 Make the generated glob.h self-contained.
Bruno Haible <bruno@clisp.org>
parents: 7581
diff changeset
45 sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
12932
fecbba7601e9 glob: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12422
diff changeset
46 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
12422
f7842310a565 New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
47 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
12932
fecbba7601e9 glob: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12422
diff changeset
48 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
9251
b63ebb550394 Rename glob_.h to glob.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9196
diff changeset
49 < $(srcdir)/glob.in.h; \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11858
diff changeset
50 } > $@-t && \
7274
9ff9e0f3d681 Don't make generated files read-only. That would bother too many
Jim Meyering <jim@meyering.net>
parents: 7268
diff changeset
51 mv -f $@-t $@
14528
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
52 else
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
53 glob.h: $(top_builddir)/config.status
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
54 rm -f $@
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
55 endif
5898
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
56 MOSTLYCLEANFILES += glob.h glob.h-t
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
57
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
58 Include:
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
59 <glob.h>
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
60
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
61 License:
9102
404dc8725caf Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents: 8777
diff changeset
62 LGPLv2+
5898
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
63
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
64 Maintainer:
429b55c14554 * MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff changeset
65 all, glibc