summaryrefslogtreecommitdiff
path: root/fd.h
AgeCommit message (Collapse)AuthorFilesLines
2012-10-02Refactor fd closing into CloseFD helper functionAlan Coopersmith1-0/+1
All versions now perform same check for XtransConn data to decide whether to use _X11TransClose or regular close, which is needed for being able to read data from pre-recorded files instead of live sockets. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2012-07-21Convert to X.Org standard indentation & cleanup whitespaceAlan Coopersmith1-27/+27
Performed with util/modular/x-indent-all.sh, followed by manual fixups Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-30File descriptors should be stored in ints not shortsAlan Coopersmith1-3/+3
All OS routines take and return ints for file descriptors, so stop converting back and forth to shorts. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Remove StaticMaxFD now that all uses now allocate dynamicallyAlan Coopersmith1-3/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-10-30Sun's copyrights now belong to OracleAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-05-14Fallback on other transports.Jeremy Huddleston1-1/+1
This adds support for --disable-unix-transport Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith1-23/+17
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Convert select() arguments back to fd_set structuresAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Ansify prototypes and move extern declarations to header filesAlan Coopersmith1-0/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Merge branch 'keithp'Alan Coopersmith1-7/+17
Conflicts: common.c decode11.c fd.c fd.h print11.c prtype.c scope.c scope.h server.c table11.c x11.h xscope.man
2009-05-04Import xscope bits into keithp.com CVSKeith Packard1-10/+8
2008-09-11AutotooledStuart Kreitman1-0/+3
2008-09-11Merge Sun's version of xscope inStuart Kreitman1-10/+51
Conversion to ANSI C SysVR4 support Conversion of networking code to use xtrans
2008-09-11Import initial version from James PetersonAlan Coopersmith1-0/+54