=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ranlib/Attic/misc.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/ranlib/Attic/misc.c 1997/01/17 07:13:11 1.3 --- src/usr.bin/ranlib/Attic/misc.c 1999/08/27 08:43:22 1.4 *************** *** 1,4 **** ! /* $OpenBSD: misc.c,v 1.3 1997/01/17 07:13:11 millert Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: misc.c,v 1.4 1999/08/27 08:43:22 fgsch Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. *************** *** 38,44 **** #ifndef lint /*static char sccsid[] = "from: @(#)misc.c 5.2 (Berkeley) 2/26/91";*/ ! static char rcsid[] = "$OpenBSD: misc.c,v 1.3 1997/01/17 07:13:11 millert Exp $"; #endif /* not lint */ #include --- 38,44 ---- #ifndef lint /*static char sccsid[] = "from: @(#)misc.c 5.2 (Berkeley) 2/26/91";*/ ! static char rcsid[] = "$OpenBSD: misc.c,v 1.4 1999/08/27 08:43:22 fgsch Exp $"; #endif /* not lint */ #include *************** *** 67,75 **** } if (envtmp) ! (void)snprintf(path, MAXPATHLEN, "%s/%s", envtmp, _NAME_RANTMP); else ! bcopy(_PATH_RANTMP, path, sizeof(_PATH_RANTMP)); sigemptyset(&set); sigaddset(&set, SIGHUP); --- 67,76 ---- } if (envtmp) ! (void)snprintf(path, sizeof(path), "%s/%s", envtmp, ! _NAME_RANTMP); else ! strlcpy(path, _PATH_RANTMP, sizeof(path)); sigemptyset(&set); sigaddset(&set, SIGHUP);