/* 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
/* 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;
/* 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