summaryrefslogtreecommitdiff
path: root/lib/ftruncate.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-12 15:38:00 +0000
committerJim Meyering <jim@meyering.net>2001-05-12 15:38:00 +0000
commit521f5344c88705d93c8c7c5f75c76c5b9a8d46c3 (patch)
treed2fdd40c1005942b5a8988c3391155d1cb751359 /lib/ftruncate.c
parent4b8000742fd12724cda7840b51daf9a6c821da95 (diff)
downloadcoreutils-521f5344c88705d93c8c7c5f75c76c5b9a8d46c3.tar.xz
(FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.
Include <string.h> instead of <stdlib.h>. Do not include <assert.h>; no longer needed. Include xalloc.h. (memrchr): Remove decl. (dir_name_r): Remove. (dir_len): Renamed from dirlen. All callers changed. Rewrite in terms of base_name, for simplicity and consistency. (dir_name): Never return NULL. All callers changed. Do not include <stdlib.h> in test program; no longer needed. return 0; is fine for test program.
Diffstat (limited to 'lib/ftruncate.c')
0 files changed, 0 insertions, 0 deletions