[ANNOUNCE] xdm 1.0.2 released

Wang Zhenyu zhenyu.z.wang at intel.com
Mon Mar 27 23:23:08 PST 2006


On 2006.03.27 16:18:12 +0000, Alan Coopersmith wrote:
> Version 1.0.2 of xdm from the Xorg modular tree has been released.
> 
> CVS tag: xdm-1-0-2
> 
> Tarballs:
> http://xorg.freedesktop.org/releases/individual/app/xdm-1.0.2.tar.bz2
> http://xorg.freedesktop.org/releases/individual/app/xdm-1.0.2.tar.gz
> 
> Changes since xdm-1.0.1 (which was included in X11R7.0):
> 
>  - two small security fixes from NetBSD to protect the privacy of session
>    logs and to protect against /tmp attacks on the session log when $HOME
>    is unwritable (Xorg bugs 5897 & 5898)
> 
>  - DragonFly fixes from Jeremy Reed
> 
>  - fixes for memory leaks and other issues reported by Coverity scan
> 
>  - fixes for segfaults in certain conditions
> 
>  - fix xdm hang when invalid xpm is used for logo, from Costantino Leandro

I need below patch to compile it on my P4 Linux, otherwise I got:

util.c: In function `CleanUpChild':
util.c:249: error: too few arguments to function `setpgid'
make[2]: *** [xdm-util.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I'm not familiar this code, pls check if this breaks other archs. 

---
--- app/xdm/util.c.orig	2006-03-28 14:57:19.000000000 +0800
+++ app/xdm/util.c	2006-03-28 15:16:55.000000000 +0800
@@ -56,9 +56,11 @@ from The Open Group.
 #undef _POSIX_SOURCE
 #endif
 #endif
+#ifndef SETPGRP_VOID
 #if defined(__osf__) || defined(linux) || defined(__QNXNTO__) || defined(__GLIBC__)
 #define setpgrp setpgid
 #endif
+#endif
 
 void
 printEnv (char **e)



More information about the xorg mailing list