diff 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
line wrap: on
line diff
--- a/src/sysdep.c	Thu Mar 28 08:33:57 2013 -0600
+++ b/src/sysdep.c	Sat Apr 20 00:04:58 2013 +0200
@@ -1,5 +1,5 @@
 /* Interfaces to system-dependent kernel and library entries.
-   Copyright (C) 1985-1988, 1992-1995 Free Software Foundation, Inc.
+   Copyright (C) 1985-1988, 1992-1995, 2013 Free Software Foundation, Inc.
    Copyright (C) 1995 Tinker Systems.
    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2010 Ben Wing.
 
@@ -3127,6 +3127,13 @@
 #endif /* WIN32_NATIVE */
 }
 
+// TODO: WIN32 mapping
+struct group *
+qxe_getgrgid (gid_t gid)
+{
+   return getgrgid (gid);
+}
+
 #ifndef WIN32_NATIVE
 
 struct passwd *