Mercurial > hg > octave-nkf > gnulib-hg
annotate modules/glob @ 17935:0ad1f4c9eed5 default tip
tests: support stderr verification with returns_()
* tests/init.sh (returns_): Disable tracing for this wrapper
function, so that stderr of the wrapped command is unchanged,
allowing for verification of the contents.
author | Pádraig Brady <P@draigBrady.com> |
---|---|
date | Mon, 16 Feb 2015 17:20:39 +0000 |
parents | 578b354d30fc |
children |
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 |
15474
51231c56c0a1
Add dependencies to the 'largefile' module.
Paul Eggert <eggert@cs.ucla.edu>
parents:
15419
diff
changeset
|
13 largefile |
15415
768296dab89a
Rename module 'arg-nonnull' to 'snippet/arg-nonnull'.
Bruno Haible <bruno@clisp.org>
parents:
14977
diff
changeset
|
14 snippet/arg-nonnull |
15416
10b35faca629
Rename module 'c++defs' to 'snippet/c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
15415
diff
changeset
|
15 snippet/c++defs |
15419
d2437ed29d20
Rename module 'warn-on-use' to 'snippet/warn-on-use'.
Bruno Haible <bruno@clisp.org>
parents:
15416
diff
changeset
|
16 snippet/warn-on-use |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
17 alloca [test -n "$GLOB_H"] |
15636
578b354d30fc
Add dependencies to new dirent related modules.
Bruno Haible <bruno@clisp.org>
parents:
15474
diff
changeset
|
18 closedir [test -n "$GLOB_H"] |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
19 d-type [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
20 dirfd [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
21 fnmatch [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
22 getlogin_r [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
23 memchr [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
24 mempcpy [test -n "$GLOB_H"] |
15636
578b354d30fc
Add dependencies to new dirent related modules.
Bruno Haible <bruno@clisp.org>
parents:
15474
diff
changeset
|
25 opendir [test -n "$GLOB_H"] |
578b354d30fc
Add dependencies to new dirent related modules.
Bruno Haible <bruno@clisp.org>
parents:
15474
diff
changeset
|
26 readdir [test -n "$GLOB_H"] |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
27 stdbool [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
28 strdup [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
29 sys_stat [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
30 unistd [test -n "$GLOB_H"] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
31 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
|
32 |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
33 configure.ac: |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
34 gl_GLOB |
14977
dba5736dcefe
glob: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
35 if test -n "$GLOB_H"; then |
dba5736dcefe
glob: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
36 AC_LIBOBJ([glob]) |
dba5736dcefe
glob: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
37 gl_PREREQ_GLOB |
dba5736dcefe
glob: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
38 fi |
5898
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
39 |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
40 Makefile.am: |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
41 BUILT_SOURCES += $(GLOB_H) |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
42 |
6001
322a0918d54a
* modules/alloca-opt (Makefile.am): Remove explicit dependency on
Paul Eggert <eggert@cs.ucla.edu>
parents:
5898
diff
changeset
|
43 # 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
|
44 # 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
|
45 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
|
46 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
|
47 $(AM_V_GEN)rm -f $@-t $@ && \ |
7421
8bace4b08db5
Mark generated files as "DO NOT EDIT".
Bruno Haible <bruno@clisp.org>
parents:
7274
diff
changeset
|
48 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
8777
b0892cca14c9
Make the generated glob.h self-contained.
Bruno Haible <bruno@clisp.org>
parents:
7581
diff
changeset
|
49 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
|
50 -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
|
51 -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
|
52 -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
|
53 < $(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
|
54 } > $@-t && \ |
7274
9ff9e0f3d681
Don't make generated files read-only. That would bother too many
Jim Meyering <jim@meyering.net>
parents:
7268
diff
changeset
|
55 mv -f $@-t $@ |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
56 else |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
57 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
|
58 rm -f $@ |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
59 endif |
5898
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
60 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
|
61 |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
62 Include: |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
63 <glob.h> |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
64 |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
65 License: |
9102
404dc8725caf
Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents:
8777
diff
changeset
|
66 LGPLv2+ |
5898
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
67 |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
68 Maintainer: |
429b55c14554
* MODULES.html.sh: Add glob to Enhanced POSIX.2001 section.
Derek R. Price <derek@ximbiot.com>
parents:
diff
changeset
|
69 all, glibc |