diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-17 23:21:14 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-17 23:21:14 +0000 |
commit | ac2d45ce67d71988ee05c40df3d713b6ade4f675 (patch) | |
tree | 373e7217d1630ca5269a15914f079cf0d926fb5d /lib/idcache.c | |
parent | 79cbf5925cdc03bcbd9fbabde1a5f9617fade6e3 (diff) | |
download | coreutils-ac2d45ce67d71988ee05c40df3d713b6ade4f675.tar.xz |
Include "filemode.h" first, to test the interface.
Assume that filemode.h includes sys/types.h and sys/stat.h.
(HAVE_ST_DM_MODE): New macro, moved here from ls.c.
(ftypelet): Reorder to put common cases first, for efficiency.
Add 'P', 'w'. Remove 'M', since it's now the caller's responsibility
to do 'M'.
(strmode): Renamed from mode_string, and now stores 12 bytes instead
of 10, for compatibility with FreeBSD. All callers changed.
(filemodestring): Now stores 12 bytes instead of 10, and sets file types
that can't be deduced solely from st_mode. First arg is now a const
pointer.
Diffstat (limited to 'lib/idcache.c')
0 files changed, 0 insertions, 0 deletions