~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/chown.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* provide consistent interface to chown for systems that don't interpret
2
 
   an ID of -1 as meaning `don't change the corresponding ID'.
 
2
   an ID of -1 as meaning "don't change the corresponding ID".
3
3
 
4
 
   Copyright (C) 1997, 2004-2007, 2009-2011 Free Software Foundation, Inc.
 
4
   Copyright (C) 1997, 2004-2007, 2009-2012 Free Software Foundation, Inc.
5
5
 
6
6
   This program is free software: you can redistribute it and/or modify
7
7
   it under the terms of the GNU General Public License as published by
53
53
/* Provide a more-closely POSIX-conforming version of chown on
54
54
   systems with one or both of the following problems:
55
55
   - chown doesn't treat an ID of -1 as meaning
56
 
   `don't change the corresponding ID'.
 
56
   "don't change the corresponding ID".
57
57
   - chown doesn't dereference symlinks.  */
58
58
 
59
59
int