commit 7ec5d8d1a7adfd9b844fa750c319189a426466d5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Feb 28 22:33:44 2012 -0800

    xfs 1.1.2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 03b4a543a812b14a565a92ac691cdc0f550e95d1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 30 18:21:30 2011 -0800

    Call malloc, not xalloc
    
    One call in xfstrans.c used xalloc - everything else already had malloc.
    Fix this so it won't break when Xtrans stops defining xalloc to malloc
    for us.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1c7f1cdefc1c256cd24d4b793c710c60870ae942
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 11 22:42:51 2011 -0800

    Use config.h for autoconf output now that there's no conflict
    
    Now that os/config.h is gone, no reason to special case and have
    xfs-config.h for the autoconf generated header.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit e2a18c2fc203d094b2e975cf9b316528b9feaaa8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 11 22:38:08 2011 -0800

    Move os/config.h into os/config.c
    
    The only file that needed the only remaining definition was config.c,
    so there's no point keeping a header file around for a single #define
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 9de423ba5997e7cdb131f4bbdec2e676fa42c3e0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 11 22:33:24 2011 -0800

    Fix printf format errors found by gcc now that it can check
    
    Fixes:
    os/config.c: In function ‘config_parse_nameVal’:
    os/config.c:417:5: warning: too few arguments for format
    os/config.c: In function ‘config_parse_int’:
    os/config.c:458:6: warning: too few arguments for format
    
    Requires passing parm arguments around in order to provide parameter
    names with problems in the error messages
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 22968fe5dd9e83ea39c095fd74bbf518ed1e51f0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 11 22:27:00 2011 -0800

    Make CONFIG_ERR_* values be strings instead of indexes in ConfigErrors array
    
    Allows gcc to check printf format strings instead of just giving warnings.
    Since these #defines are only used in config.c, define them directly there,
    instead of in the config.h header that no one else includes.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit f8224be41700ccf7d639bd9a10818a45b10bc63a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 11 20:05:49 2011 -0800

    Constify string argument to MakeAtom
    
    Matches what's already been done in xserver and libXfont
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ac59cccf8bc1ae3d41e0608f131b5eb888f9362b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Sep 25 12:12:14 2011 -0700

    Don't pass a static string to TRANS(GetReopenInfo)
    
    It never reads the value passed in, just overwrites the pointer,
    and gcc -Wwrite-strings complains about assigning a constant string
    to a non-const char*.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit cb8c4d800cc237c9ecaebd7af91ff26a311ac310
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Sep 22 09:10:10 2011 -0400

    xfs-design: add missing legal text for Copyright holder
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit fd9d549b9e480826f8d3a22665a26977c573c0c4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 16 20:33:36 2011 -0700

    Add _X_NORETURN to declarations of functions that exit
    
    While you might think FatalError() also should have _X_NORETURN, if
    you add it, you will find that gcc warns you that it does indeed
    return when built with syslog support.   Why syslog makes all fatal
    errors become non-fatal is an excellent question to ponder...
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit cee4aafcd5ebef34cae02f2215663df6c8551a20
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 16 19:36:02 2011 -0700

    Fix warnings about mismatched printf arg types
    
    Mostly from types defined as long or unsigned long which we tried to
    print as normal ints.
    
    difs/cache.c: In function `CacheFreeMemory':
    difs/cache.c:371: warning: int format, different type arg (arg 2)
    
    difs/resource.c: In function `AddResource':
    difs/resource.c:304: warning: unsigned int format, different type arg (arg 2)
    difs/resource.c:304: warning: unsigned int format, different type arg (arg 3)
    difs/resource.c:304: warning: unsigned int format, pointer arg (arg 4)
    difs/resource.c: In function `FreeResource':
    difs/resource.c:410: warning: unsigned int format, different type arg (arg 2)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8b426f8a15b5f2e6268438d2e0505fdbf8c64aeb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 16 19:11:53 2011 -0700

    Add _X_ATTRIBUTE_PRINTF to error reporting functions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c57e65406a7447930f701a319ba518acf9b4b5d3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 16 19:10:04 2011 -0700

    Fix gcc -Wwrite-strings warnings for initialization with string literals
    
    Many warnings of the form:
    os/config.c:92:5: warning: initialization discards qualifiers from pointer target type
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 12463ed04068716ef8e9cf53eddaf8e78d0688dd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 16 19:23:30 2011 -0700

    Remove dependency on libFS, the client-side library
    
    xfs doesn't include <X11/fonts/FSlib.h> nor call any functions from the
    library, which is not surprising, as that's the library containing the
    client-side code for connecting to a font server such as xfs.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit ece2db504981f95bb1766d5a95ee8558bd95da46
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Sep 12 11:08:10 2011 -0400

    docs: use the &fullrelvers; entity to set X11 release information
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 074374e0b94b3ff7aa09966d01691a98e2467ee4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Sep 9 13:00:50 2011 -0400

    devbook.am: maintenance update from docbook.am
    
    The developer docs are generated from a subset of docbook.am
    which is sometimes updated.
    
    The one difference is the embedded css style in the HEAD element.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d8c17fc48a02d9c21d55514c92ec72a03ba581a8
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Sep 9 13:30:55 2011 -0400

    config: fix distcheck for config.cpp
    
    The location of the file is in srcdir.
    Problem introduced in commit 68bf267fa
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 3024e122b6d256060696ef0ba92c794a8106bc8f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Mar 2 14:20:10 2011 -0500

    doc: use common makefile for developers documentation
    
    The user/specs docs now have external references support.
    Developers doc are not installed so they do not participate.
    However, using a similar makefile shared amongst developers
    document reduces maintenance and is forward looking.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit fe05c6c0c5abc7708f10c7af3929b1a26dde60c8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jan 7 18:22:51 2011 -0800

    resync font-path checking with xserver's configure.ac
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Acked-by: Dan Nicholson <dbn.lists@gmail.com>

commit 68bf267fa4080e4a85df91e4a196bb701ee921d1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jan 7 18:19:56 2011 -0800

    Make config.cpp rule compatible with Solaris make
    
    Solaris make doesn't support $< in direct target rules.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ea30eb37f4402cf09db8e1dc8b999d3bf7b7d66f
Author: Martin Jansa <martin.jansa@gmail.com>
Date:   Sat Nov 20 08:47:06 2010 +0100

    config: look for fontpath.d only if --with-default-font-path wasn't specified #31290
    
    * AC_CHECK_FILE doesn't work when cross compiling
    * Fixes https://bugs.freedesktop.org/show_bug.cgi?id=31290
    
    Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 070fc985a8048e3a126690c5e64f0dca6418806b
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Nov 9 11:19:31 2010 -0500

    config: HTML file generation: use the installed copy of xorg.css
    
    Currenlty the xorg.css file is copied in each location
    where a DocBook/XML file resides. This produces about
    70 copies in the $(docdir) install tree.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 995c9b23864e0207cf4c01cf442e49cc63817fdc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Oct 30 15:39:30 2010 -0700

    xfs 1.1.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bea7df7f194e3dab6f1826477a8accd8e249cbee
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Oct 30 15:36:51 2010 -0700

    config: Remove unnecessary calls from configure.ac
    
    AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now
    PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 293b8b9163083e7d8adfde752a29e25436b927a1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Aug 5 08:02:40 2010 -0400

    Using the C preprocessor to generate "config" is no longer needed.
    
    Reuse and adapt the man makefile using sed in a seperate directory
    Replace XCOMM IMakefile comment with #
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 9ad39a265b093793a0d9f009018f99f3fde596bf
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Aug 5 13:31:57 2010 -0400

    fontcache: remove unreachable code around FONTCACHE define
    
    Unlike the xset app, xfs has never defined or included a header
    that defines FONTCACHE, even when compiled with libXfont 1.3.3
    which uses fontcacheproto and defines FONTCACHE in its config.h.
    
    This will allow further simplification when generating config.cpp.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit ec0bcb3daf87368ff22be65f66c70dbb7ab48d32
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Aug 4 16:10:26 2010 -0400

    xfs.man: use sed and standard makefile
    
    Remove the complexity of using the C preprocessor legacy
    from IMakefile.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 884dc954c93e49a31047b84dcf01e0c3e40e08f6
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Aug 4 15:24:37 2010 -0400

    xfs.man: replace IMake XCOMM comment with #
    
    There is no need to replace it using sed everytime.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 980f905db43fd43cd61a95c4286a1b26658c2d0c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Aug 3 17:13:20 2010 -0400

    doc: use xorg stylesheet and standard makefile
    
    The recent conversion to DocBook XML has created an infra-structure
    to apply a common stylesheet and build support.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit f371c30202705f949d7a8ed04e4039d69f04fcf9
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Aug 3 13:47:10 2010 -0400

    doc: use HAVE_XMLTO_TEXT for users without a text browser.
    
    Used to conditionally generate text documentation.
    xmlto for text output requires either lynx, links, or w3m browsers
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 31917b20fe3d83ca51c460fdd66a7d61f2670db3
Author: Olivier Fourdan <fourdan@xfce.org>
Date:   Sat Jun 26 17:43:06 2010 -0400

    Fix segfaults in xfs
    
    This addresses possible remaining segfaults which can occur randomly
    in xfs, mostly a follow up on bug 22084.
    
    1. Make sure ListenTransCount is reset to 0 when ListenTransConns is
       freed to avoid a segfault in CloseSockets() when a “drone server”
       terminates.
    
    2. ffs() is still used in various places on fd_mask whereas the
       fd_mask can be greater than an int.
    
    3. replace (i << 5) with (i * (sizeof(fd_mask) * 8) to be more
       64bit safe
    
    Cf: https://bugs.freedesktop.org/show_bug.cgi?id=28691
    
    Signed-off-by: James Cloos <cloos@jhcloos.com>

commit 7caf7298a5088c8afab4d0c8146de2faca2e2baa
Author: Jeff Smith <whydoubt@yahoo.com>
Date:   Fri Mar 19 13:48:08 2010 -0500

    Clean up some pointer signedness warnings
    
    Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3660bdcaea6915d9c2ff90b96a3986cb5379ee5d
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Mar 31 16:36:00 2010 -0400

    config: update and relocate AC_DEFINE_DIR macro
    
    Remove deprecated acinclude.m4 macro container file
    Use separate macro files as per autoconf recommendation
    Use the latest macro from GNU (ax) which replaces
    the non-gnu version (ac)
    This preserves the Autoconf macro AC namespace.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 8c220fa266b9c3ecae551e1c9e422a257805e80d
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Mar 31 15:57:45 2010 -0400

    config: AC_USE_SYSTEM_EXTENSIONS must be before any compiler stmt.
    
    Reorder the initialization section at the top of the file.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 73ef42c6710796556bcd2ec24fdf30addb86fc76
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Mar 11 09:58:37 2010 -0500

    doc: specify 0.0.20 as the minimum version for xmlto
    
    Older versions do not have fop backend.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 23a8afed5c782a7a4680163c96e51016f6d2bb54
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Feb 9 17:36:57 2010 -0500

    doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6
    
    $(MKDIR_P) is not defined in automake 1.9.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 7b3d832e84c455595077f68cea482d3886a8e49e
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 29 14:23:29 2010 -0500

    doc: use new macros to control doc generation
    
    Namely XORG_WITH_FOP for the fop backend (pdf) and
    XORG_ENABLE_DEVEL_DOCS for the generation of all docs
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 6fdf88356387cbac04b553f04b79cc00ab45235a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 22 09:18:21 2010 -0500

    doc: use fop backend to convert xml to pdf
    
    The default is passiveTex which does not work.
    Add XMLFOP and HAVE_XMLFOP to skip pdf if fop is missing.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 09b4378509ecc821635eda398aae5af222f02d73
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jan 20 12:09:58 2010 -0500

    config: replace custom code with reusable macro XORG_WITH_XMLTO
    
    XORG_WITH_XMLTO provides additional functions like a configure
    option which allow platform builders to control the usage of
    the xmlto program.
    
    This is a requirement from platforms that do not have such doc tool.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 0bd527a8ad4bf2c047d4b9ac2e9a311d107eae8f
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jan 14 22:16:39 2010 -0800

    Update Sun license notices to current X.Org standard form
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit e32c9704a5fd800537f3549528aa599d91955e3d
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Nov 26 09:19:53 2009 -0500

    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
    
    Now that the INSTALL file is generated.
    Allows running make maintainer-clean.

commit f934b6a48112e4feb15ba6faaa03903918d20005
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Oct 28 14:09:08 2009 -0400

    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
    
    Add missing INSTALL file. Use standard GNU file on building tarball
    README may have been updated
    Remove AUTHORS file as it is empty and no content available yet.
    Remove NEWS file as it is empty and no content available yet.

commit 1c0e6b11af1982f68c521e5b0cfd87c975f54d72
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Oct 26 22:08:39 2009 -0400

    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
    
    ChangeLog filename is known to Automake and requires no further
    coding in the makefile.

commit 6cf397b9685b5022477138386b349d8b95d853ac
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Oct 22 12:34:15 2009 -0400

    .gitignore: use common defaults with custom section # 24239
    
    Using common defaults will reduce errors and maintenance.
    Only the very small or inexistent custom section need periodic maintenance
    when the structure of the component changes. Do not edit defaults.

commit 756cb37a07af13c31a13c8882fe4abdd1b32da6a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Oct 9 23:21:59 2009 -0700

    Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit dc057e158e778c194f2680f2083f42145683d020
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Oct 7 22:46:39 2009 -0700

    Use font-utils 1.1 macros to find default font path
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit eccddc3753e97b0b47c68e59b6650eb314ef5402
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jun 18 14:00:28 2009 -0700

    xfs 1.1.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 7fc0d81f660eaec16f10ebdff6367da7bcc204f9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jun 18 10:29:39 2009 -0700

    remove SCCS ids
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit be599b68334d2dea71e12f478e3201d3087ddf56
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jun 17 18:56:09 2009 -0700

    Add --disable-devel-docs flag to configure to skip xfs-design doc conversion
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 93f75eed7b7dd1208d6d24ec065dfd1518efa599
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jun 17 17:29:16 2009 -0700

    Update README and COPYING files and man page
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 66c3c3e95b0faa005d2a5cdcd196cdc6de027d16
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jun 17 16:49:20 2009 -0700

    Add support for starting xfs from inetd
    
    Adds -inetd command line flag to be used when starting via inetd.
    Assumes inetd is set to "wait" mode, and will thus let xfs, once
    started, deal with waiting for & handling all further clients,
    until xfs is killed.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 6edc36cf965501149889ebb2a8afe61330f895c5
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jun 17 16:47:04 2009 -0700

    Add --enable-syslog (on by default) to configure for use-syslog option
    
    Oops, guess we missed providing a way to #define USE_SYSLOG in the
    Imake -> autoconf conversion.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 0f3597e7f313bbc231817172b9786cbfe2e974d0
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jun 16 20:57:43 2009 -0700

    Bug 22084: XFS server crash with many dropped connections
    
    http://bugs.freedesktop.org/show_bug.cgi?id=22084
    
    Fixes three crashes I hit investigating this report:
    
    1) Replace ffs() with a version that handles fd_mask sized arguments instead
    of int sized ones, so we don't get stuck in 64-bit builds when fd bits
    are set past the 32-bit boundary.  (os/WaitFor.c in the X server already does
    this.)
    
    2) Check that the client OsPrivate isn't already NULL before dismantling it
    in CloseDownConnection()
    
    3) Make sure we aren't overflowing the pClientsReady buffer when returning
    the list of clients ready for processing.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit c8f86a023411c3697fe86beb4be1fe7fffc7e487
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jun 16 08:16:27 2009 -0700

    daemon(): use configure to see if it exists, FatalError on failure
    
    Matches similar changes to xdm's copy of daemon.c
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 33c5f6836d8233f91b2c3890ef8419894b7a94d0
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jun 15 19:32:06 2009 -0700

    Remove leftover includes that should have gone away with c47d3d3795c8d
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 8d5838bb075dc995dcfce5634c6c70be4ecff832
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jun 11 17:12:08 2009 -0700

    Use AC_SYSTEM_EXTENSIONS instead of maintaining _GNU_SOURCE OS list
    
    Bumps minimum autoconf version required to 2.60
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 91c61d56cf6c780db011b8386ce094e11ec5ef42
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jun 11 17:05:24 2009 -0700

    Make sure all source files #include "xfs-config.h"
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 6741315a7e839a3c3e8c725e458ec0da5ad3012b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Jun 9 13:58:59 2009 -0700

    Add #includes of access.h to clear prototype warnings
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 6b8f4459861bda8c2cce70490cca0fe1f7784305
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jun 8 16:22:33 2009 -0700

    Convert xfs design doc from troff/.ms to docbook/xml
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 6fad03d2626c568ba9563a1d4d4f7c85f488341c
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed May 27 11:07:29 2009 -0700

    Remove include/accstr.h from Makefile.am
    
    Fixes distcheck error introduced by 4b1a9e1a20049fa55f780c8fd4bb9eaba7540712
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 2c37901f2f64a0e188dd42386f6364c0a154f78b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed May 27 08:03:45 2009 -0700

    Move design.ms from xorg-docs/specs/xfs/design.ms to this module
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 95b40e0235109d4b963d385008bb73636f89aead
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue May 19 01:30:52 2009 -0700

    Update AC_DEFINE_DIR to latest version from Autoconf Archive

commit 3c2390c461f15386a8e2676572c520f01e9c600f
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue May 19 01:20:14 2009 -0700

    xfs shouldn't re-create the log file every time it clones
    
    Port to current xfs of a part of the fix for Sun bug 4302139:
    patch 108117-01 removes error-file configuration option for xfs
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 346a316f5e39ca6d99b98372914294988e79758d
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue May 19 01:14:11 2009 -0700

    Simplify OPEN_MAX #ifdefs down to POSIX standard sysconf(_SC_OPEN_MAX)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit a1583d53a44f65d0930282e193365f5605bde547
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue May 19 01:10:06 2009 -0700

    Crash in CloseSockets() after StopListening()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit d78622007b9102d1818f2c73a00670351f026262
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 21:28:46 2009 -0700

    Remove more #if 0 bits
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 4b1a9e1a20049fa55f780c8fd4bb9eaba7540712
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 21:28:03 2009 -0700

    Remove unused HostAddress list manipulation code
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit b0c41c110bb05947fccc9a6228bc3e9badff38c5
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 21:06:59 2009 -0700

    Convert to POSIX standard signal handling
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit c5985b93dd2c96ab9c1cfbfe7881b0f80e349879
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 21:05:35 2009 -0700

    Fix definition of WRITES macro for debug messages in os/utils.c
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit a97048bd750f2d514dd8bb2959e3bbab4443178e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 19:50:07 2009 -0700

    Server miscounts clients who exit before finishing handshake
    
    nClients could go negative since it wasn't incremented until
    ProcInitialConnection, but was always decremented in DoCloseDownClient
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit e47728904d50566ec4390829fc9a511e54e9157e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 19:17:16 2009 -0700

    Delete #ifdef MEMBUG code
    
    Couldn't build since modularization, since it depended on old memleak code
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 02b3a024b151177246e026d05d8e0efe4eda47b4
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 18:58:46 2009 -0700

    Coalesce PATH_MAX ifdefs into a single copy in osdep.h
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit c47d3d3795c8d9152dcfed7b806eab1204830e7d
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 18:42:18 2009 -0700

    Remove X_NOT_POSIX #ifdefs
    
    Hadn't been compiled since modularization, was previously only used
    on pre-POSIX-1.1990 systems, which are no longer supported by X.Org.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 7ccc50b6a7dd47f89e3b2aff5accaab4cad24a64
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon May 18 16:53:31 2009 -0700

    Remove #ifdef Lynx code
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit a1d254a81b5dffd0f706c77e28ec72aff11169f8
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Wed Jan 21 18:02:36 2009 -0200

    Correct all sparse warnings.
    
      All extern declarations were moved from C sources to header files,
    with the exception of the new prototype for SnfSetFormat() as it
    is not available on installed libXfont headers.
      difs/difsutils.c:CopyISOLatin1Lowered() had it's arguments sign
    changed to avoid conflict with libXfont's X11/fonts/fontmisc.h
    prototype.

commit f7f149457581fa819c88e1958e7c154a6d9824fa
Author: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
Date:   Fri Dec 19 18:43:53 2008 -0800

    Bug #11567: Fix handling of invalid, non-path FPE
    
    FPE's which are not valid and are not in the form of paths cause a
    failure on the parser which invalidates all subsequent FPEs. If
    the invalid FPE is the first on the list, this will cause a
    fatal-error and the server will abort.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=11567
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit ffbdfc9bbe8a38a5658197a95e0cf5266ef51604
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Dec 16 16:27:30 2008 -0800

    `ReadConfigFile': 'fp' might be used uninitialized in this function
    
    In the unlikely event that default_config_files is completely empty,
    fp would never have been set to NULL to trigger error check at line 363.

commit 158e7f062a21ea4abfe64aa976735804f00bc3b5
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Dec 16 16:24:37 2008 -0800

    Clear many sparse warnings: Using plain integer as NULL pointer

commit 2b529e155a2a414cc225d8fd8014ff6c2e8231cb
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Dec 5 08:57:11 2008 -0800

    Use XORG_CWARNFLAGS & XORG_CHANGELOG from xorg-macros 1.2

commit cbd9f1b5b36789474788ca6ff60ccbaee4969ff1
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Dec 5 08:54:43 2008 -0800

    Clear warnings about redefining command-line -D values in xfstrans.c

commit b02fa1750fa20cb1784a16cd2402a303146f8c99
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Dec 5 08:51:18 2008 -0800

    os/daemon.c:100: warning: old-style parameter declaration

commit 302e3fcf221843d42141f73277911dfab9428d71
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Dec 4 18:01:17 2008 -0800

    When byte swapping authentication data, try to workaround bad X servers
    
    Port/reworking of fix for Sun bug 4783714 ("fix for 4764193 [CERT CA-2002-34]
    breaks cross-platform font service") to try to figure out whether the
    authentication data follows the FS protocol spec or the way the X11 Sample
    Implementation has worked for years, and handle it either way.

commit 3fe28a31a2974287acc182c7c9bfd68d94ea6292
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Dec 4 14:45:17 2008 -0800

    Don't overcalculate size of authentication packets with no data
    
    If a font server client wasn't providing any authentication methods,
    the code was adding 4 to the packet length, then rejecting the packet
    as having more data than the length field said - but the X server
    side wasn't actually putting those 4 bytes into the packet anywhere.

commit c1fda34275583b7ae8d2b1b749bd362443874bda
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Dec 3 19:52:16 2008 -0800

    Use cpp instead of sed for processing man page & sample config file
    
    Make fontcache entries in sample config only appear #ifdef FONTCACHE

commit c66a46e35ae40a23ad9acee838ab42300eddbd67
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Oct 6 21:19:27 2008 -0700

    Use configure to determine font path to put into xfs config file
    
    Uses --default-font-path if specified, otherwise checks for
    /etc/X11/fontpath.d, otherwise uses default path copied
    from xserver configure.ac

commit 8b3e40688a9b829eee56d8b2aabadc4093227da6
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Fri Jun 13 15:37:13 2008 -0600

    remove RCS Ids

commit 3e6b854aa4ce0636fd63f63afd04d68b28c0fa68
Author: Brice Goglin <bgoglin@debian.org>
Date:   Fri May 23 22:29:50 2008 +0200

    xfs 1.0.8

commit 8144d75d4e71d8ae0493043f49fe9925f8099244
Author: Brice Goglin <bgoglin@debian.org>
Date:   Fri May 23 18:53:55 2008 +0200

    Fix nasty typo in SetConfigValues
    
    Nasty typo introduced in 4a163a076e90808fa47ade1504fd0f2893bdc306,
    causes xfs to crash on startup.
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482551

commit 9666b767a1f565bae06e84aacb53a1d9b7747f90
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed May 21 14:18:01 2008 -0400

    xfs 1.0.7

commit 4a163a076e90808fa47ade1504fd0f2893bdc306
Author: Petter Reinholdtsen <pere@hungry.com>
Date:   Fri May 16 20:27:48 2008 +0200

    Return an error to the log instead of segfaulting
    
    Return an error to the log instead of segfaulting
    if catalogue line is omitted from config file.
    
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=148650

commit 6188cb8538b713296266238b7b780718fcec881b
Author: Stephan A. Maciej <stephanm@datenfriedhof.net>
Date:   Mon Mar 17 18:00:49 2008 -0700

    Allow font server to start with pid longer than 5 digits
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 24d4172a71850299c797f887d3027c32068763d0
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jan 14 19:32:09 2008 -0800

    Fix --with-default-config to work with more than two config files

commit 8337bcb5650581874510514cce7d9df89db54d5c
Author: Adam Jackson <ajax@redhat.com>
Date:   Thu Mar 6 17:06:25 2008 -0500

    xfs 1.0.6

commit f253f56e9ff33e7424317be7fa54a60eec4053a8
Author: Julien Cristau <jcristau@debian.org>
Date:   Tue Feb 5 21:57:21 2008 +0100

    Install config file in $(sysconfdir) by default instead of $(libdir)

commit 71c2acc3d0fecc5c6c3d63cfae8f38ee2ce72d9d
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jan 9 16:08:54 2008 -0800

    List multiple config files in man page if specified in --with-default-config-file

commit 5a5d003bfc400471693f88a16d2ed6ed98ca8111
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jan 7 18:04:36 2008 -0800

    Add xfsinfo & fslsfonts to See Also section of man page

commit 9d19ae3b4d6fcaa01bcb88b9fde644aec3f191b1
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jan 7 15:08:33 2008 -0800

    Remove another extraneous + from man page

commit c398fae4cf2119f467970a0af4b408948aff12ef
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Jan 4 15:56:31 2008 -0800

    Add hooks for checking sources with tools like sparse & lint

commit 04e94c3d22e6115f40bcced43e78a336613789a9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Jan 4 15:55:53 2008 -0800

    Remove duplicated section & extra + in xfs.man

commit bc3d7ac63b801b22214ce5d04fa0a585a6223fee
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jan 3 17:12:58 2008 -0800

    Rename autoconf-generated header to xfs-config.h to avoid clash with os/config.h

commit c0b33d044edc89ec882ac425c91a79cd738167a4
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jan 3 16:47:59 2008 -0800

    Add --with-default-config-file configure option
    
    Allow specifying multiple files, using the first one found at runtime.
[--snip--]
