summaryrefslogtreecommitdiff
path: root/Xtransutil.c
Commit message (Collapse)AuthorAgeFilesLines
* move is_numeric to Xtranssock.c and only define for TCPCONN or TRANS_REOPENKeith Packard2022-08-201-14/+0
| | | | | | Don't define this function unless it is actually going to be used. Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix spelling/wording issuesAlan Coopersmith2022-05-101-1/+1
| | | | | | | Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Delete SCO supportAdam Jackson2019-09-301-7/+0
| | | | Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xtrans.m4: remove AC_TYPE_SIGNAL and Imake SIGNALRETURNSINTGaetan Nadon2013-12-161-13/+1
| | | | | | | | | | | 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>
* Remove unused TLI ("STREAMSCONN") code from xtransAlan Coopersmith2012-12-261-10/+10
| | | | | | | | | 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>
* Remove unnecessary casts on malloc, calloc & free callsAlan Coopersmith2011-12-061-7/+6
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
* Finish conversion to standard C allocation functionsAlan Coopersmith2011-12-051-6/+6
| | | | | | | | | 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>
* Fix some resource & memory leaks in libxtrans.Alan Hourihane2011-12-051-0/+2
| | | | | | 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>
* Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith2011-10-011-1/+1
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
* Add _X_UNUSED attributes to silence unused parameter warningsAlan Coopersmith2011-10-011-1/+1
| | | | | | | | 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>
* Fix printf format string warningsAlan Coopersmith2011-10-011-1/+1
| | | | | | | | 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>
* Convert PRMSG macro to prmsg inline functionAlan Coopersmith2011-10-011-28/+27
| | | | | | | | | | 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>
* Strip trailing whitespaceAlan Coopersmith2011-09-161-15/+15
| | | | | | | 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>
* Silence root ownership warnings on CygwinYaakov Selkowitz2009-10-151-2/+2
| | | | | | XWin need not be run as root, nor do Administrators have uid of 0. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* Constify path argument to trans_mkdir()Alan Coopersmith2009-04-241-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Constify string argument to is_numericAlan Coopersmith2009-02-061-2/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Fix libICE build after code motion in d192bac409...Alan Coopersmith2009-02-061-0/+8
| | | | | | | | 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>
* Finish removing OS/2 supportAdam Jackson2008-10-071-3/+3
|
* Remove DECNET support.Adam Jackson2008-10-071-43/+1
| | | | This hasn't been consumed in the server or libs since 7.0.
* Massive ifdef cleanup, dropping a ton of unsupported platform code.Adam Jackson2008-08-071-12/+3
|
* Remove extraneous execute bit from .c fileJames Cloos2008-05-101-0/+0
|
* fix build for MAKEWORDAlan Hourihane2008-04-261-0/+4
|
* Update to winsock2Colin Harrison2008-04-261-1/+1
|
* removed cvs tagsBen Byer2007-11-141-5/+1
|
* suppress warning about socket directory ownership on OS XBen Byer2007-09-051-0/+2
| | | | | | 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.
* More sprintf -> snprintf conversionsAlan Coopersmith2006-08-241-1/+1
|
* See ChangeLog entry 2005-11-07 for details.XORG-6_8_99_903XORG-6_8_99_902Kean Johnson2005-11-081-0/+7
|
* Add config.h includes for modularization Use RETSIGTYPE if defined byXORG-6_8_99_900Alan Coopersmith2005-07-261-1/+5
| | | | | | autoconf in addition to Imake's SIGNALRETURNSINT. Use HAVE_WORKING_VFORK if defined by autoconf in addition to Imake's HAS_VFORK
* Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 AddedAlexander Gottwald2004-11-151-2/+9
| | | | mingw (Win32) port
* Set 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_903lg3d-masterlg3d-eventlg3d-dev-0-7-1lg3d-dev-0-7-0lg3d-dev-0-6-latestlg3d-dev-0-6-2lg3d-dev-0-6-1-latestlg3d-dev-0-6-1-currentlg3d-dev-0-6-1-1lg3d-dev-0-6-1lg3dXORG-6_8-branchEgbert Eich2004-08-271-0/+8
| | | | | when socket directory cannot chowned/chmod to correct user/group. This should be added on a per OS basis which hasn't been done.
* fail 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 Eich2004-07-301-19/+90
| | | | | | 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.
* Fixed typo in a comment.Egbert Eich2004-07-301-1/+1
| | | | | Deleted bogus comment. Added debugging support.
* Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich2004-04-231-3/+3
|
* Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich2004-03-141-1/+1
|
* Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENTEgbert Eich2004-03-031-1/+1
|
* readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich2004-02-261-1/+1
|
* Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich2004-02-261-1/+1
|
* XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley2003-11-251-16/+92
|
* XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley2003-11-141-65/+121
|
* R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley2003-11-141-0/+462