annotate modules/mountlist @ 16916:3d02d25fa13d

stdioext: Add support for musl libc. * m4/fbufmode.m4 (gl_FUNC_FBUFMODE): Test whether __fbufsize exists. * lib/fbufmode.c (fbufmode): Add conditional code for musl. * m4/fseterr.m4: New file. * lib/fseterr.h (fseterr): Define as an alias of __fseterr if that function exists. * modules/fseterr (Files): Add m4/fseterr.m4. (configure.ac): Invoke gl_FUNC_FSETERR. Compile fseterr.c if __fseterr does not exist. (Makefile.am): Remove fseterr.c from lib_SOURCES. * lib/freadable.h: Update comment. * lib/fwritable.h: Update comment. * lib/freading.h: Update comment. * lib/fwriting.h: Update comment. * m4/freadahead.m4: New file. * lib/freadahead.h (freadahead): Define as an alias of __freadahead if that function exists. * modules/freadahead (Files): Add m4/freadahead.m4. (configure.ac): Invoke gl_FUNC_FREADAHEAD. Compile freadahead.c if __freadahead does not exist. (Makefile.am): Remove freadahead.c from lib_SOURCES. * m4/freadptr.m4: New file. * lib/freadptr.h (freadptr): Define as an alias of __freadptr if that function exists. * modules/freadptr (Files): Add m4/freadptr.m4. (configure.ac): Invoke gl_FUNC_FREADPTR. Compile freadptr.c if __freadptr does not exist. (Makefile.am): Remove freadptr.c from lib_SOURCES. * m4/freadseek.m4: New file. * lib/freadseek.c (freadptrinc): Use __freadptrinc if that function exists. * modules/freadseek (Files): Add m4/freadseek.m4. (configure.ac): Invoke gl_FUNC_FREADSEEK. * lib/fpurge.c (fpurge): Update comment. Reported by and with help from Rich Felker <dalias@aerifal.cx>.
author Bruno Haible <bruno@clisp.org>
date Tue, 19 Jun 2012 23:35:08 +0200
parents 18b690708865
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
6568
b7612c730f92 filesystem -> file system (the POSIX spelling)
Paul Eggert <eggert@cs.ucla.edu>
parents: 5820
diff changeset
2 Return list of mounted file systems.
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/mountlist.h
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/mountlist.c
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/ls-mntd-fs.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 m4/fstypename.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 m4/mountlist.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 Depends-on:
5820
aec0a1f23054 (Depends-on): Add stdbool.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5722
diff changeset
12 stdbool
11395
5442b2430859 avoid gcc warnings about unused macro definitions
Jim Meyering <meyering@redhat.com>
parents: 8070
diff changeset
13 stdint
11628
59047bad770e strstr, strcasestr: replace on platforms with broken memchr
Eric Blake <ebb9@byu.net>
parents: 11395
diff changeset
14 strstr-simple
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 xalloc
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 configure.ac:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 gl_MOUNTLIST
15054
18b690708865 mountlist: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 11628
diff changeset
19 if test $gl_cv_list_mounted_fs = yes; then
18b690708865 mountlist: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 11628
diff changeset
20 AC_LIBOBJ([mountlist])
18b690708865 mountlist: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 11628
diff changeset
21 gl_PREREQ_MOUNTLIST_EXTRA
18b690708865 mountlist: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 11628
diff changeset
22 fi
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 Makefile.am:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 Include:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 "mountlist.h"
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4197
diff changeset
29 License:
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4197
diff changeset
30 GPL
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4197
diff changeset
31
4197
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
32 Maintainer:
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
33 Jim Meyering