Age | Commit message (Collapse) | Author |
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
If IPv6 is enabled at build time, assume that the C library will have
getaddrinfo at runtime.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Compiler warnings are spread on other packages, with a
warning in the format:
/usr/include/X11/Xtrans/Xtranssock.c:548: warning: 'ciptr' may be used uninitialized in this function
so the code was slightly changed so that the compiler
would not "think" it could be used without initialization.
|
|
If your OS doesn't have sysconf(3), then life is already hard for you.
|
|
|
|
|
|
Apropos of bug #15884.
|
|
Red Hat bug #445303.
|
|
Since the struct has a fixed-lenght char[] its sizeof() contains
trailing NUL octets which results in corrupt abstract sockets.
Instead, take the strlen(3) of the path, plus the single NUL octet
(which identifies the path as an abstract path rather than a file-
system path) plus the offset from the start of the struct to the
start of the char array.
This fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=15677
|
|
error condition.
|
|
Check for socklen_t definition and if found use it instead of size_t or
int for the length argument to getpeername/getsockname/etc.
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6688467>
|
|
If the socket isn't there, it's not gonna magically appear. Either it's
a server socket and you should have just waited for the SIGUSR1 from the
server, or it's a stale reference to an ICE socket.
However, do retry once, so fallback from abstract to filesystem namespace
works.
Originally Debian bug #385976.
|
|
GNU/kFreeBSD defines BSD44SOCKETS, but doesn't have SOCK_MAXADDRLEN.
Check for the latter directly.
|
|
Unlike normal unix sockets, the abstract namespace is not bound to the
filesystem. This has some notable advantages; /tmp need not exist, the
socket directory need not have magic permissions, etc. xtrans servers
will listen on both the normal and abstract socket endpoints; clients
will attempt to connect to the abstract socket before connecting to the
corresponding filesystem socket.
Based on a patch by Bill Crawford.
|
|
"""
It's simply obsolete, sloppy, compiler namespace pollution. The
compiler is not allowed to predefine symbols that might conflict with
ordinary identifiers. For backwards compatibility gcc currently
predefines i386 when compiling for x86 32-bit (but not 64-bit), but that
will go away. It is also not defined if you specify -ansi when invoking
the compiler, because then it is seriously standards compliant. Other
compilers shouldn't define it either. Correct code shouldn't rely on it
being defined. However __i386__ is safe and proper.
"""
|
|
|
|
|
|
* Xtranssock.c: (SocketReopen): oops fix a typo in my last commit.
|
|
* Xtranssock.c:
(SocketReopen): protect use of BSD4.4 socket with BSD44SOCKETS macro.
protect use of strlcnpy with HAVE_STRLCPY macro.
That one is defined (or not) by the xserver configure.
|
|
|
|
Bug #728: <https://bugs.freedesktop.org/show_bug.cgi?id=728>
Patch #3527: <https://bugs.freedesktop.org/attachment.cgi?id=3527>
bzero sockaddr structures before passing to kernel to convince memory
checkers that they are initialized before use
|
|
|
|
X.Org Bugzilla #4982 <https://bugs.freedesktop.org/show_bug.cgi?id=4982>
Patch #5424 <https://bugs.freedesktop.org/attachment.cgi?id=5424>
|
|
|
|
(This dates back to 1994 or before.)
|
|
|
|
fix for xtrans (Robert Millan)
|
|
<https://bugs.freedesktop.org/attachment.cgi?id=3046> Define
MAXHOSTNAMELEN if platform doesn't (Michael Banck)
|
|
#2924 <https://bugs.freedesktop.org/attachment.cgi?id=2924> xtrans
changes for AIX (Dan McNichol, IBM)
Bugzilla #3957 <https://bugs.freedesktop.org/show_bug.cgi?id=3957> Patch
#2925 <https://bugs.freedesktop.org/attachment.cgi?id=2925> xtrans
changes for AIX (Dan McNichol, IBM)
|
|
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
source files in the xserver/xorg tree, predicated on defines of
HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
<X11/fonts/foo.h>.
|
|
platforms that don't define it in the system headers.
|
|
hostnames starting with a digit for 64 bit architechtures.
|
|
xc/config/cf/Imake.cf
xc/config/cf/Imakefile
xc/config/imake/imake.c
xc/config/imake/imakemdep.h
xc/extras/drm/shared/drm.h
xc/include/Xos_r.h
xc/lib/xtrans/Xtranssock.c
xc/programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h
xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
//bugs.freedesktop.org/show_bug.cgi?id=1712) attachment #2004
(https://bugs.freedesktop.org/attachment.cgi?id=2004): Add support for
DragonFly/BSD platform. Patch by Jeroen Ruigrok <asmodai@tendra.org>
and Mike Verona <firedragonfly@gmail.com>.
|
|
mingw (Win32) port
|
|
|
|
|
|
|
|
|
|
|
|
new license. If we want to, later we can import 4.4RC3 again and pick
up the files that have the new license, but for now the vendor branch
is "pure."
|
|
|
|
|
|
|
|
|
|
|
|
|