summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-07-17Use _SysErrorMsg() in the log message in various error conditions.Branden Robinson3-31/+50
Change LogError() invocations to use _SysErrorMsg() where errno might be set (and not clobbered by intermediate calls). Also make LogError() the first thing we do after an error condition in those cases. Forward-ported by David Nusinow, Eugene Konev and Julien Cristau. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Use xdm's _SysErrorMsg() function instead of merely printing errnoBranden Robinson2-4/+5
2009-07-17session.c: Add more debugging to execute()Branden Robinson1-1/+6
[jcristau@debian.org: save errno before calling Debug() in one place]
2009-07-17Add some more log and debug messagesBranden Robinson1-0/+6
Add log messages for xdm startup, shutdown, and normal exit. Add a debugging message when xdm enters its main loop.
2009-07-17Call InitErrorLog() right after BecomeDaemon()Julien Cristau1-2/+2
The latter points stderr to /dev/null, so the sooner we open the log after that, the better.
2009-07-17spelling fixBranden Robinson1-1/+1
2009-07-17Clarify comment/#ifdefs for USE_SIOCGLIFCONFAlan Coopersmith1-8/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Remove #ifdef Lynx blocksAlan Coopersmith7-38/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Use imdent to show cpp macro nesting more clearlyAlan Coopersmith36-1366/+1366
Also strip trailing whitespace to make git happier. While many lines are changes, "git diff -w" shows no changes other than pure whitespace. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Delete old A/UX (#ifdef macII) codeAlan Coopersmith1-64/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17malloc(strlen()); strcpy() -> strdup()Alan Coopersmith5-28/+17
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Documentation improvementsAlan Coopersmith4-38/+65
- Remove references to setting build-time defaults via Imake configuration - Show actual default $PATH & authDir settings in man page - Whitespace & minor formatting fixes in man page - Update man page info on multicast addresses from RFC 2373 to RFC 4291 - Add notes on mailing list, git repo, and patches to README Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Add variable DisplayManager.authDir to xdm-config (Fedora bug 388431)Matěj Cepl3-1/+9
Fedora patch xdm-1.1.6-authDir-var-bug388431.patch Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17sprintf -> snprintf/asprintf conversionsAlan Coopersmith12-50/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Remove OS/2's duplicate copy of default path definitions in resource.cAlan Coopersmith1-58/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Replace FORCE_CURSOR_FLASH code with simpler cursor update for passwd fieldAlan Coopersmith1-35/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Move xdmcp ARRAY initializators to declarationsAlan Coopersmith3-55/+26
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-16Remove RCS IdsAlan Coopersmith52-121/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-19Update AC_DEFINE_DIR to latest version from Autoconf ArchiveAlan Coopersmith1-17/+15
2009-01-30getLocalAddress(): return 127.0.0.1 if the hostname doesn't resolve.Matthieu Herrb1-2/+11
This code already does this if IPv6 support is compiled in. It was dereferencing a NULL pointer in the IPv4 only case.
2009-01-30Remove RCS Id and put some comment here.Matthieu Herrb1-1/+1
2009-01-20Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade10-16/+33
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and most gcc 4.3 and sparse warnings. Remaining warning is due to passing read or write as function pointers in the format ssize_t (*)(int, void *, size_t), as it is const for write, but not for read.
2008-09-09Add support for syslog on more than openbsd.Julien Cristau2-8/+13
Also use LOG_AUTHPRIV by default, if that exists.
2008-08-20xaw8 is gone, use xaw7James Cloos1-1/+1
2008-08-04Bug 16356: xdm Xstartup/Xreset configuration files malconstructed by cppDavid Sainty2-2/+2
X.Org Bug #16356 <https://bugs.freedesktop.org/show_bug.cgi?id=16356> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2008-05-21xdm 1.1.8xdm-1.1.8Adam Jackson1-1/+1
2008-05-18$(builddir) is the current directoryJulien Cristau1-1/+1
Apparently automake doesn't always export the builddir variable. This fixes the previous commit.
2008-05-06Bug 10145: xdm passes file descriptors to childrenSamuel Thibault1-0/+4
X.Org Bugzilla #10145 <https://bugs.freedesktop.org/show_bug.cgi?id=10145> Patch #14644 <https://bugs.freedesktop.org/attachment.cgi?id=14644> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2008-04-20Fix build with builddir != srcdirJulien Cristau1-0/+1
2008-03-27Build fix for case-insensitive file systemsJeremy Huddleston2-1/+1
2008-03-27Added include of pwd.h so we build correctly on OS-X - see xorg mailing listJeremy Huddleston1-1/+1
2008-03-23Fix installation of app-defaultsJulien Cristau2-2/+9
Add a configure option for appdefaultdir, and use it for make distcheck, because it wants everything under $prefix. By default, still use `pkg-config --variable=appdefaultdir xt'.
2008-03-08README: nuke RCS IdMatthieu Herrb1-1/+0
2008-03-07xdm 1.1.7xdm-1.1.7Adam Jackson1-2/+1
2008-03-07Fix distcheck.Adam Jackson1-1/+1
2007-12-20Darwin doesn't need __DARWIN__ anymore.Jeremy Huddleston1-1/+1
2007-09-21Debian bug #440389: 800x600 settings got lost, screen now too wideAlan Coopersmith1-0/+9
Debian bug #440389 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440389> When deleting the XPM #ifdefs, a set of #if WIDTH < 800 resources got accidentally deleted as well. (Cause & fix found by Brice Goglin)
2007-08-27Restore #endif accidentally removed in d0d4581be22aba9021c5a672bd9e5ba719961e29Alan Coopersmith1-0/+1
2007-08-16Version bump: 1.1.6xdm-1.1.6Alan Coopersmith1-1/+1
2007-08-15Debian Bug #376391: xdm manpage refers to non-existent section 'Typical Usage'Luca Capello1-1/+0
2007-08-15Debian Bug #437961: loading Xresources fails because bindir/xrdb does not existBrice Goglin1-2/+2
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437961>
2007-08-10Version bump: 1.1.5xdm-1.1.5Alan Coopersmith1-1/+1
2007-07-25Update AC_DEFINE_DIR to autoconf-2.60-compatible versionAlan Coopersmith1-2/+35
2007-07-25Add AM_PROG_CC_C_O to clear automake-1.10 warningAlan Coopersmith1-0/+1
Makefile.am:149: compiling `chooser.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
2007-07-25Bug #10530: xdm's path to xrdb could be configurable at compile timeAlan Coopersmith1-2/+8
Add --with-xrdb=path & --with-default-session=command configure options X.Org Bug #10530: <https://bugs.freedesktop.org/show_bug.cgi?id=10530>
2007-06-15Set default cursor for entire root window, not just greeterAlan Coopersmith1-1/+1
2007-06-15Make #ifdef XPM only control whether XPM pixmap logo is shownAlan Coopersmith5-90/+49
Make 3D look-and-feel independent of XPM
2007-06-15Set Xcursor theme to whiteglass in default login screen resourcesAlan Coopersmith1-0/+3
2007-06-15X.Org Bug #10992: xlogin crashes if window size is too smallAlan Coopersmith1-2/+2
X.Org Bugzilla #10992 <https://bugs.freedesktop.org/show_bug.cgi?id=10992>
2007-06-15Add --enable-xdm-auth/--disable-xdm-auth to configure optionsAlan Coopersmith1-4/+13