comparison src/sysdep.c @ 5733:c30fdcab7bc8

Added optional argument ID-FORMAT to file-attributes for GNU compatibility. src/ChangeLog: 2013-04-19 Mats Lidell <matsl@xemacs.org> * sysdep.c (qxe_getgrgid): Encapsulation of getgrgid. * syspwd.h: Ditto. * dired.c (Ffile_attributes): Added optional ID-FORMAT for compatibility with GNU.
author Mats Lidell <mats.lidell@cag.se>
date Sat, 20 Apr 2013 00:04:58 +0200
parents 56144c8593a8
children ff13c44ce0d9
comparison
equal deleted inserted replaced
5732:02d0124c6314 5733:c30fdcab7bc8
1 /* Interfaces to system-dependent kernel and library entries. 1 /* Interfaces to system-dependent kernel and library entries.
2 Copyright (C) 1985-1988, 1992-1995 Free Software Foundation, Inc. 2 Copyright (C) 1985-1988, 1992-1995, 2013 Free Software Foundation, Inc.
3 Copyright (C) 1995 Tinker Systems. 3 Copyright (C) 1995 Tinker Systems.
4 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2010 Ben Wing. 4 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2010 Ben Wing.
5 5
6 This file is part of XEmacs. 6 This file is part of XEmacs.
7 7
3123 /* Synthetic versions are defined in nt.c and already do conversion. */ 3123 /* Synthetic versions are defined in nt.c and already do conversion. */
3124 return getpwuid (uid); 3124 return getpwuid (uid);
3125 #else 3125 #else
3126 return copy_in_passwd (getpwuid (uid)); 3126 return copy_in_passwd (getpwuid (uid));
3127 #endif /* WIN32_NATIVE */ 3127 #endif /* WIN32_NATIVE */
3128 }
3129
3130 // TODO: WIN32 mapping
3131 struct group *
3132 qxe_getgrgid (gid_t gid)
3133 {
3134 return getgrgid (gid);
3128 } 3135 }
3129 3136
3130 #ifndef WIN32_NATIVE 3137 #ifndef WIN32_NATIVE
3131 3138
3132 struct passwd * 3139 struct passwd *