annotate modules/canonicalize @ 7581:45c727466eb8

Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h. stat-macros.h is now for our own macros, whereas stat_h is for macros in the <sys/stat.h> name space. * lib/stat-macros.h: Remove copyright notice, as this file is now tiny. (STAT_MACROS_H): Remove. (S_IFMT, S_ISBLK, S_ISCHR, S_ISDIR, S_ISFIFO, S_ISLNK, S_ISNAM): (S_ISMPB, S_ISMPC, S_ISNWK, S_ISREG, S_ISSOCK, S_ISDOOR, S_ISPORT): (S_TYPEISMQ, S_TYPEISTMO, S_TYPEISSEM, S_TYPEISSHM, S_ISCTG, S_ISOFD): (S_ISOFL, S_ISWHT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRGRP): (S_IROTH, S_IWUSR, S_IWGRP, S_IWOTH, S_IXUSR, S_IXGRP, S_IXOTH): (S_IRWXU, S_IRWXG, S_IRWXO, S_IXUGO, S_IRWXUGO): Move these macros to ... * lib/stat_.h: here. Don't include stat-macros.h. * lib/canonicalize.c: Don't include stat-macros.h. * lib/chown.c: Likewise. * lib/euidaccess.c: Likewise. * lib/file-type.c: Likewise. * lib/filemode.c: Likewise. * lib/glob.c: Likewise. * lib/isapipe.c: Likewise. * lib/lchown.c: Likewise. * lib/lstat.c: Likewise. * lib/mkdir-p.c: Likewise. * lib/rmdir.c: Likewise. * m4/lchown.m4 (gl_FUNC_LCHOWN): Don't require gl_STAT_MACROS. * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Don't check for io.h unless mkdir isn't declared, to speed up 'configure'. Always create sys/stat.h, since it's unlikely any real sys/stat.h would define all the S_* symbols. * modules/canonicalize (Depends-on): Depend on sys_stat, not stat-macros. * modules/chown: Likewise. * modules/euidaccess: Likewise. * modules/filemode: Likewise. * modules/file-type: Likewise. * modules/glob: Likewise. * modules/isapipe: Likewise. * modules/lchown: Likewise. * modules/lstat: Likewise. * modules/mkancesdirs: Likewise. * modules/rmdir: Likewise. * modules/mkdir-p (Depends-on): Also depend on sys_stat. * modules/modechange: Likewise. * modules/stat-macros (Files): Remove m4/stat-macros.m4. (configure.ac): Remove gl_STAT_MACROS. * modules/sys_stat (Depends-on): Remove stat-macros.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 27 Oct 2006 20:46:43 +0000
parents 6a764f23e302
children d58de0c4e214
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5131
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
1 Description:
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
2 Return the canonical absolute name of a given file.
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
3
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
4 Files:
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
5 lib/canonicalize.h
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
6 lib/canonicalize.c
5943
9b2762e9dd90 (Files): Add lib/pathmax.h.
Jim Meyering <jim@meyering.net>
parents: 5907
diff changeset
7 lib/pathmax.h
5131
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
8 m4/canonicalize.m4
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
9
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
10 Depends-on:
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
11 cycle-check
5907
c47674a83a78 Sync from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5726
diff changeset
12 filenamecat
7581
45c727466eb8 Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.
Paul Eggert <eggert@cs.ucla.edu>
parents: 7497
diff changeset
13 sys_stat
5131
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
14 xalloc
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
15 xgetcwd
5479
e82f409b1d52 (Depends-on): Add xreadlink.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5251
diff changeset
16 xreadlink
5131
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
17
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
18 configure.ac:
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
19 AC_FUNC_CANONICALIZE_FILE_NAME
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
20
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
21 Makefile.am:
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
22
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
23 Include:
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
24 "canonicalize.h"
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
25
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5159
diff changeset
26 License:
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5159
diff changeset
27 GPL
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5159
diff changeset
28
5131
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
29 Maintainer:
5ae20cfe1a13 New module, from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
30 Jim Meyering