Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ypserv note that the calls to mktemp() are OK.
details: https://anonhg.NetBSD.org/src/rev/7c23dca574c6
branches: trunk
changeset: 473557:7c23dca574c6
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jun 07 03:06:08 1999 +0000
description:
note that the calls to mktemp() are OK.
diffstat:
usr.sbin/ypserv/makedbm/makedbm.c | 6 +++---
usr.sbin/ypserv/mkalias/mkalias.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r f187c354571a -r 7c23dca574c6 usr.sbin/ypserv/makedbm/makedbm.c
--- a/usr.sbin/ypserv/makedbm/makedbm.c Mon Jun 07 02:48:00 1999 +0000
+++ b/usr.sbin/ypserv/makedbm/makedbm.c Mon Jun 07 03:06:08 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makedbm.c,v 1.14 1998/06/24 10:26:09 kleink Exp $ */
+/* $NetBSD: makedbm.c,v 1.15 1999/06/07 03:06:08 mrg Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: makedbm.c,v 1.14 1998/06/24 10:26:09 kleink Exp $");
+__RCSID("$NetBSD: makedbm.c,v 1.15 1999/06/07 03:06:08 mrg Exp $");
#endif
#include <sys/param.h>
@@ -285,7 +285,7 @@
snprintf(db_tempname, sizeof(db_tempname), "%s%s",
database, mapname);
- mktemp(db_tempname);
+ mktemp(db_tempname); /* OK */
snprintf(db_mapname, sizeof(db_mapname), "%s%s",
db_tempname, YPDB_SUFFIX);
diff -r f187c354571a -r 7c23dca574c6 usr.sbin/ypserv/mkalias/mkalias.c
--- a/usr.sbin/ypserv/mkalias/mkalias.c Mon Jun 07 02:48:00 1999 +0000
+++ b/usr.sbin/ypserv/mkalias/mkalias.c Mon Jun 07 03:06:08 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkalias.c,v 1.7 1998/06/24 10:26:09 kleink Exp $ */
+/* $NetBSD: mkalias.c,v 1.8 1999/06/07 03:06:09 mrg Exp $ */
/*
* Copyright (c) 1997 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: mkalias.c,v 1.7 1998/06/24 10:26:09 kleink Exp $");
+__RCSID("$NetBSD: mkalias.c,v 1.8 1999/06/07 03:06:09 mrg Exp $");
#endif
#include <sys/types.h>
@@ -252,7 +252,7 @@
snprintf(db_tempname, sizeof(db_tempname), "%s%s", output,
mapname);
- mktemp(db_tempname);
+ mktemp(db_tempname); /* OK */
snprintf(db_mapname, sizeof(db_mapname), "%s%s", db_tempname,
YPDB_SUFFIX);
Home |
Main Index |
Thread Index |
Old Index