1 new commit in XEmacs:
https://bitbucket.org/xemacs/xemacs/commits/ff13c44ce0d9/
Changeset: ff13c44ce0d9
User: Vin Shelton
Date: 2013-04-25 02:16:14
Summary: Hack in rudimentary group support for WIN32 in support of Mats ID-FORMAT
patch
Affected #: 3 files
diff -r aebf53236cff0fee341e717cf3f8b74daeb4e838 -r
ff13c44ce0d92d2872eb38404c9c076628c3301d src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-23 Vin Shelton <acs(a)xemacs.org>
+
+ * sysdep.c (qxe_getgrgid): Hack in WIN32_NATIVE group support.
+ * dired.c (file_attributes): Add a hack for group name in native
+ Windows builds.
+
2013-04-19 Mats Lidell <matsl(a)xemacs.org>
* sysdep.c (qxe_getgrgid): Encapsulation of getgrgid.
diff -r aebf53236cff0fee341e717cf3f8b74daeb4e838 -r
ff13c44ce0d92d2872eb38404c9c076628c3301d src/dired.c
--- a/src/dired.c
+++ b/src/dired.c
@@ -948,7 +948,11 @@
struct group *gr = qxe_getgrgid (s.st_gid);
uidInfo = build_istring (pw ? (Ibyte *) pw->pw_name : NULL);
+#ifndef WIN32_NATIVE
gidInfo = build_istring (gr ? (Ibyte *) gr->gr_name : NULL);
+#else
+ gidInfo = build_istring (NULL);
+#endif //WIN32_NATIVE
}
RETURN_UNGCPRO (listn (12,
diff -r aebf53236cff0fee341e717cf3f8b74daeb4e838 -r
ff13c44ce0d92d2872eb38404c9c076628c3301d src/sysdep.c
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -3127,11 +3127,14 @@
#endif /* WIN32_NATIVE */
}
-// TODO: WIN32 mapping
struct group *
qxe_getgrgid (gid_t gid)
{
- return getgrgid (gid);
+#ifdef WIN32_NATIVE
+ return NULL;
+#else
+ return getgrgid (gid);
+#endif /* WIN32_NATIVE */
}
#ifndef WIN32_NATIVE
Repository URL:
https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from
bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches