]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(chown_files): Return true/false, not 0/-1, since we don't set errno.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 23:38:36 +0000 (23:38 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 23:38:36 +0000 (23:38 +0000)
src/chown-core.h

index 3005f83dc3465e6300390052b5fd0f36369849f6..8080dc490906b92fe3abc0ad7b5cc4473a74e5c9 100644 (file)
@@ -1,5 +1,6 @@
 /* chown-core.h -- types and prototypes shared by chown and chgrp.
-   Copyright (C) 2000, 2003 Free Software Foundation.
+
+   Copyright (C) 2000, 2003, 2004 Free Software Foundation.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -77,7 +78,7 @@ gid_to_name (gid_t);
 char *
 uid_to_name (uid_t);
 
-int
+bool
 chown_files (char **files, int bit_flags,
             uid_t uid, gid_t gid,
             uid_t required_uid, gid_t required_gid,