diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-05-24 15:44:22 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-05-24 15:44:22 +0000 |
commit | 8d1f1e51a94b497e7d18f4eab311962119d29f2b (patch) | |
tree | 7d3f3e2072bbe8cc8a2648883615d9a8c74c821f /lib/libxtrans/Xtranslcl.c | |
parent | d9c081456b4e271f93cfc07c3a66663f188edf7a (diff) |
Update to libxtrans 1.2
Diffstat (limited to 'lib/libxtrans/Xtranslcl.c')
-rw-r--r-- | lib/libxtrans/Xtranslcl.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libxtrans/Xtranslcl.c b/lib/libxtrans/Xtranslcl.c index ef846a4d3..0127d6771 100644 --- a/lib/libxtrans/Xtranslcl.c +++ b/lib/libxtrans/Xtranslcl.c @@ -1,4 +1,3 @@ -/* $Xorg: Xtranslcl.c,v 1.6 2001/02/09 02:04:06 xorgcvs Exp $ */ /* Copyright 1993, 1994, 1998 The Open Group @@ -25,10 +24,7 @@ not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. -*/ -/* $XFree86: xc/lib/xtrans/Xtranslcl.c,v 3.40tsi Exp $ */ - -/* Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA + * Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA * * All Rights Reserved * @@ -846,7 +842,7 @@ TRANS(NAMEDOpenServer)(XtransConnInfo ciptr, char *port) NAMEDNODENAME, port); } } else { - (void) sprintf(server_path, sizeof(server_path), "%s%ld", + (void) snprintf(server_path, sizeof(server_path), "%s%ld", NAMEDNODENAME, (long)getpid()); } |