annotate modules/getcwd @ 40186:8964917f9574

autoupdate
author Karl Berry <karl@freefriends.org>
date Mon, 18 Feb 2019 08:02:49 -0800
parents d7ff206ef5f6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5136
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
1 Description:
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
2 Return the current working directory.
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
3
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
4 Files:
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
5 lib/getcwd.c
6912
314715e0260d Merge from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5820
diff changeset
6 m4/getcwd-abort-bug.m4
5136
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
7 m4/getcwd-path-max.m4
5491
b3d5c90efc81 Merge from coreutils for getcwd and HP-UX 11.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5251
diff changeset
8 m4/getcwd.m4
19659
d7ff206ef5f6 getpagesize: Fix compilation error on Android.
Bruno Haible <bruno@clisp.org>
parents: 16126
diff changeset
9 m4/getpagesize.m4
15740
f94acfaf527e Consolidate all uses of PATH_MAX in *.m4 files.
Bruno Haible <bruno@clisp.org>
parents: 15738
diff changeset
10 m4/pathmax.m4
5136
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
11
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
12 Depends-on:
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14629
diff changeset
13 unistd
5812
b5145e612254 * modules/getcwd (Depends-on): Add extensions.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5722
diff changeset
14 extensions
15496
451ec8bd8a1c pathmax: Leave PATH_MAX undefined on the Hurd, and a constant otherwise.
Bruno Haible <bruno@clisp.org>
parents: 14956
diff changeset
15 pathmax [test $REPLACE_GETCWD = 1]
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14629
diff changeset
16 mempcpy [test $REPLACE_GETCWD = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14629
diff changeset
17 d-ino [test $REPLACE_GETCWD = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14629
diff changeset
18 memmove [test $REPLACE_GETCWD = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14629
diff changeset
19 openat [test $REPLACE_GETCWD = 1]
16105
a2d45c112907 Depend on module fcntl-h when AT_FDCWD is used.
Bruno Haible <bruno@clisp.org>
parents: 16094
diff changeset
20 fcntl-h [test $REPLACE_GETCWD = 1]
16094
8675282c0ef4 * modules/getcwd (Depends-on): Add fdopendir.
Paul Eggert <eggert@cs.ucla.edu>
parents: 16023
diff changeset
21 fdopendir [test $REPLACE_GETCWD = 1]
15781
16f47458947e New module 'fstat'.
Bruno Haible <bruno@clisp.org>
parents: 15740
diff changeset
22 fstat [test $REPLACE_GETCWD = 1]
16023
dc33aa820898 New module 'fstatat', split off from module 'openat'.
Bruno Haible <bruno@clisp.org>
parents: 15781
diff changeset
23 fstatat [test $REPLACE_GETCWD = 1]
15738
8c84ffc4d210 Add dependencies to new dirent related modules.
Bruno Haible <bruno@clisp.org>
parents: 15496
diff changeset
24 opendir [test $REPLACE_GETCWD = 1]
16126
4eabecda57ee getcwd: Fix link error on MSVC 9.
Bruno Haible <bruno@clisp.org>
parents: 16105
diff changeset
25 readdir [test $REPLACE_GETCWD = 1]
4eabecda57ee getcwd: Fix link error on MSVC 9.
Bruno Haible <bruno@clisp.org>
parents: 16105
diff changeset
26 rewinddir [test $REPLACE_GETCWD = 1]
15738
8c84ffc4d210 Add dependencies to new dirent related modules.
Bruno Haible <bruno@clisp.org>
parents: 15496
diff changeset
27 closedir [test $REPLACE_GETCWD = 1]
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14629
diff changeset
28 stdbool [test $REPLACE_GETCWD = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14629
diff changeset
29 malloc-posix [test $REPLACE_GETCWD = 1]
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14629
diff changeset
30 strdup-posix [test $REPLACE_GETCWD = 1]
5136
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
31
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
32 configure.ac:
5491
b3d5c90efc81 Merge from coreutils for getcwd and HP-UX 11.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5251
diff changeset
33 gl_FUNC_GETCWD
14956
590a6b9eefc0 getcwd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
34 if test $REPLACE_GETCWD = 1; then
590a6b9eefc0 getcwd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
35 AC_LIBOBJ([getcwd])
590a6b9eefc0 getcwd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
36 gl_PREREQ_GETCWD
590a6b9eefc0 getcwd: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
37 fi
14629
7a493fbc787a getcwd-lgpl: new module
Eric Blake <eblake@redhat.com>
parents: 13676
diff changeset
38 gl_MODULE_INDICATOR([getcwd])
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
39 gl_UNISTD_MODULE_INDICATOR([getcwd])
5136
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
40
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
41 Makefile.am:
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
42
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
43 Include:
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
44 <unistd.h>
5136
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
45
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5136
diff changeset
46 License:
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5136
diff changeset
47 GPL
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5136
diff changeset
48
5136
3d7c80bdf362 New getcwd module, imported from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
49 Maintainer:
5491
b3d5c90efc81 Merge from coreutils for getcwd and HP-UX 11.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5251
diff changeset
50 all, glibc