diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-02-06 20:38:35 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-02-06 20:38:35 +0000 |
commit | abbe1f5320881ec7da114a4e0b6d17045d6b5500 (patch) | |
tree | 19a806f7d195cc35873a287f58ed285f2492ed20 /winsup/cygwin/fhandler_disk_file.cc | |
parent | 46913a8290408f9321791c0ee00b786c4f767b75 (diff) | |
download | cygnal-abbe1f5320881ec7da114a4e0b6d17045d6b5500.tar.gz cygnal-abbe1f5320881ec7da114a4e0b6d17045d6b5500.tar.bz2 cygnal-abbe1f5320881ec7da114a4e0b6d17045d6b5500.zip |
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Fix typo in
comment.
* mount.cc (mount_info::from_fstab): Use tmp_pathbuf rather than
stack for big local buffer.
* net.cc (cygwin_gethostname): Call GetComputerNameExA rather than
GetComputerNameA if gethostname failed.
* shared.cc (user_info::initialize): Fix formatting.
* include/sys/file.h: Define flock and accompanying macros if not
already defined in sys/_default_fcntl.h.
Diffstat (limited to 'winsup/cygwin/fhandler_disk_file.cc')
-rw-r--r-- | winsup/cygwin/fhandler_disk_file.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index ebdc806e2..8f4720e99 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -1,7 +1,7 @@ /* fhandler_disk_file.cc Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc. + 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc. This file is part of Cygwin. @@ -928,7 +928,7 @@ fhandler_disk_file::fchown (uid_t uid, gid_t gid) if (pc.issymlink ()) attrib = S_IFLNK | STD_RBITS | STD_WBITS; res = set_file_attribute (get_handle (), pc, uid, gid, attrib); - /* If you're running a Samba server which has no winbidd running, the + /* If you're running a Samba server which has no winbind running, the uid<->SID mapping is disfunctional. Even trying to chown to your own account fails since the account used on the server is the UNIX account which gets used for the standard user mapping. This is a |