diff options
author | Ken Brown <kbrown@cornell.edu> | 2022-05-22 15:18:48 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2022-05-29 17:45:52 -0400 |
commit | 2d9b48760c48f19b2941f05ee6720f510700823c (patch) | |
tree | 693f2793b34d8aea8a57d8e0f6202d802eb91097 /winsup/cygwin/ipc.cc | |
parent | 7c0de0af97d35c8fed5ffbf311e54af85d1c4af3 (diff) | |
download | newlib-2d9b48760c48f19b2941f05ee6720f510700823c.zip newlib-2d9b48760c48f19b2941f05ee6720f510700823c.tar.gz newlib-2d9b48760c48f19b2941f05ee6720f510700823c.tar.bz2 |
Cygwin: simplify some function names
Remove "32" or "64" from each of the following names: acl32,
aclcheck32, aclfrommode32, aclfrompbits32, aclfromtext32, aclsort32,
acltomode32, acltopbits32, acltotext32, facl32, fchown32, fcntl64,
fstat64, _fstat64, _fstat64_r, ftruncate64, getgid32, getgrent32,
getgrgid32, getgrnam32, getgroups32, getpwuid32, getpwuid_r32,
getuid32, getuid32, initgroups32, lseek64, lstat64, mknod32, mmap64,
setegid32, seteuid32, setgid32, setgroups32, setregid32, setreuid32,
setuid32, stat64, _stat64_r, truncate64.
Remove prototypes and macro definitions of these names.
Remove "#ifndef __INSIDE_CYGWIN__" from some headers so that the new
names will be available when compiling Cygwin.
Remove aliases that are no longer needed.
Include <unistd.h> in fhandler_clipboard.cc for the declarations of
geteuid and getegid.
Diffstat (limited to 'winsup/cygwin/ipc.cc')
-rw-r--r-- | winsup/cygwin/ipc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/ipc.cc b/winsup/cygwin/ipc.cc index 571ac87..e670cdb 100644 --- a/winsup/cygwin/ipc.cc +++ b/winsup/cygwin/ipc.cc @@ -18,7 +18,7 @@ ftok (const char *path, int id) { struct stat statbuf; key_t tmp; - if (stat64 (path, &statbuf)) + if (stat (path, &statbuf)) { /* stat set the appropriate errno for us */ return (key_t) -1; |