summaryrefslogtreecommitdiff
path: root/Xtransutil.c
AgeCommit message (Collapse)Author
2013-12-16xtrans.m4: remove AC_TYPE_SIGNAL and Imake SIGNALRETURNSINTGaetan Nadon
Assume signal handlers return void, as C89 requires Drops use of autoconf's obsolete AC_TYPE_SIGNAL and Imake's even more obsolete SIGNALRETURNSINT. None of the modules including xtrans.m4 uses RETSIGTYPE from autoconf. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-12-26Remove unused TLI ("STREAMSCONN") code from xtransAlan Coopersmith
Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. All known platforms with TLI/XTI support that X11R7 & later releases run on also have (and mostly prefer) BSD socket support for their networking API. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-06Remove unnecessary casts on malloc, calloc & free callsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2011-12-05Finish conversion to standard C allocation functionsAlan Coopersmith
Commit 4ac40cd5451 started this, by no longer special casing the xserver to include it's former custom allocation functions, this just takes the remaining #defines and pre-substitutes them into the code. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-05Fix some resource & memory leaks in libxtrans.Alan Hourihane
Signed-off-by: Alan Hourihane <alanh@vmware.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-10-01Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-01Add _X_UNUSED attributes to silence unused parameter warningsAlan Coopersmith
Not all the transport variants use all the arguments to every function, but as long as one transport type needs it, they all get the args passed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-01Fix printf format string warningsAlan Coopersmith
Now that prmsg lets arguments types actually be checked, fix the warnings found. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-01Convert PRMSG macro to prmsg inline functionAlan Coopersmith
Allows using varargs to have the correct number of arguments passed to get rid of the many gcc warnings about variable printf format strings, and to reduce the duplication from having 5 implementations of the PRMSG macro depending on the debug options defined & output method used. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-16Strip trailing whitespaceAlan Coopersmith
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-10-15Silence root ownership warnings on CygwinYaakov Selkowitz
XWin need not be run as root, nor do Administrators have uid of 0. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2009-04-24Constify path argument to trans_mkdir()Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-06Constify string argument to is_numericAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-06Fix libICE build after code motion in d192bac409...Alan Coopersmith
The #ifdef ICE_t case in Xtransutil.c depended on some #includes that are done in files that transport.c previously included before Xtransutil.c but are now after Xtransutil.c is included. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2008-10-07Finish removing OS/2 supportAdam Jackson
2008-10-07Remove DECNET support.Adam Jackson
This hasn't been consumed in the server or libs since 7.0.
2008-08-07Massive ifdef cleanup, dropping a ton of unsupported platform code.Adam Jackson
2008-05-10Remove extraneous execute bit from .c fileJames Cloos
2008-04-26fix build for MAKEWORDAlan Hourihane
2008-04-26Update to winsock2Colin Harrison
2007-11-14removed cvs tagsBen Byer
2007-09-05suppress warning about socket directory ownership on OS XBen Byer
We don't need to warn the user about the fact that the socket directory is not owned by root under OS X; on that platform, it's never owned by root, as the X server runs as the normal user.
2006-08-24More sprintf -> snprintf conversionsAlan Coopersmith
2005-11-08See ChangeLog entry 2005-11-07 for details.XORG-6_8_99_903XORG-6_8_99_902Kean Johnson
2005-07-26Add config.h includes for modularization Use RETSIGTYPE if defined byXORG-6_8_99_900Alan Coopersmith
autoconf in addition to Imake's SIGNALRETURNSINT. Use HAVE_WORKING_VFORK if defined by autoconf in addition to Imake's HAS_VFORK
2004-11-15Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Addedxprint_packagertest_20041217_basexprint_packagertest_20041125_baseAlexander Gottwald
mingw (Win32) port
2004-08-27Set the define XtransFailSoft to restore the old behavior to fail softlyrel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903Egbert Eich
when socket directory cannot chowned/chmod to correct user/group. This should be added on a per OS basis which hasn't been done.
2004-07-30fail hard if socket directories cannot be chowned to root or chmod'ed toXORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1Egbert Eich
the requested mode if 'sticky' bit is requested for this directory instead of just print a warning that will remain unnoticed most of the times.
2004-07-30Fixed typo in a comment.Egbert Eich
Deleted bogus comment. Added debugging support.
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley
2003-11-14XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley
2003-11-14R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley