X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fchown.c;h=b212198552be6b581207b9ef3514f1a6f11012e4;hb=bbfcd2f1a92c9bdbb8d7d7d0a8a8c6665c316747;hp=66bb0c8fe1a5a46de5795314c0106bceb28e34d9;hpb=84405cbc35207f178b1b50617254cb85ea803128;p=gnulib.git diff --git a/lib/chown.c b/lib/chown.c index 66bb0c8fe..b21219855 100644 --- a/lib/chown.c +++ b/lib/chown.c @@ -1,7 +1,7 @@ /* provide consistent interface to chown for systems that don't interpret - an ID of -1 as meaning `don't change the corresponding ID'. + an ID of -1 as meaning "don't change the corresponding ID". - Copyright (C) 1997, 2004-2007, 2009 Free Software Foundation, Inc. + Copyright (C) 1997, 2004-2007, 2009-2013 Free Software Foundation, Inc. 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 @@ -33,8 +33,8 @@ /* Simple stub that always fails with ENOSYS, for mingw. */ int -chown (const char *file _UNUSED_PARAMETER_, uid_t uid _UNUSED_PARAMETER_, - gid_t gid _UNUSED_PARAMETER_) +chown (const char *file _GL_UNUSED, uid_t uid _GL_UNUSED, + gid_t gid _GL_UNUSED) { errno = ENOSYS; return -1; @@ -53,7 +53,7 @@ chown (const char *file _UNUSED_PARAMETER_, uid_t uid _UNUSED_PARAMETER_, /* Provide a more-closely POSIX-conforming version of chown on systems with one or both of the following problems: - chown doesn't treat an ID of -1 as meaning - `don't change the corresponding ID'. + "don't change the corresponding ID". - chown doesn't dereference symlinks. */ int