diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 17:33:37 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 17:33:37 +0000 |
commit | 8889b11fa1f6a667ed93efd3dee98064da50de3e (patch) | |
tree | 086e80b4e2f1cb73622147f67afe7cb3d1d8e7cf /lib | |
parent | 68d51a361e41b19080a7f6c4ca10922b38270baa (diff) | |
download | coreutils-8889b11fa1f6a667ed93efd3dee98064da50de3e.tar.xz |
(dir_name): Use bool when appropriate.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dirname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirname.c b/lib/dirname.c index aff6bf05b..7671a0d62 100644 --- a/lib/dirname.c +++ b/lib/dirname.c @@ -53,7 +53,7 @@ char * dir_name (char const *path) { size_t length = dir_len (path); - int append_dot = (length == FILE_SYSTEM_PREFIX_LEN (path)); + bool append_dot = (length == FILE_SYSTEM_PREFIX_LEN (path)); char *newpath = xmalloc (length + append_dot + 1); memcpy (newpath, path, length); if (append_dot) |