Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/dd rename nset to infoset from jhawk.
details: https://anonhg.NetBSD.org/src/rev/8d4faad5f34e
branches: trunk
changeset: 495659:8d4faad5f34e
user: christos <christos%NetBSD.org@localhost>
date: Wed Aug 02 19:44:18 2000 +0000
description:
rename nset to infoset from jhawk.
diffstat:
bin/dd/dd.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (47 lines):
diff -r 3d4ca99da587 -r 8d4faad5f34e bin/dd/dd.c
--- a/bin/dd/dd.c Wed Aug 02 19:24:29 2000 +0000
+++ b/bin/dd/dd.c Wed Aug 02 19:44:18 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dd.c,v 1.15 2000/08/02 16:46:16 christos Exp $ */
+/* $NetBSD: dd.c,v 1.16 2000/08/02 19:44:18 christos Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: dd.c,v 1.15 2000/08/02 16:46:16 christos Exp $");
+__RCSID("$NetBSD: dd.c,v 1.16 2000/08/02 19:44:18 christos Exp $");
#endif
#endif /* not lint */
@@ -86,7 +86,7 @@
u_int files_cnt = 1; /* # of files to copy */
int progress = 0; /* display sign of life */
const u_char *ctab; /* conversion table */
-sigset_t nset; /* a set blocking SIGINFO */
+sigset_t infoset; /* a set blocking SIGINFO */
int
main(argc, argv)
@@ -98,8 +98,8 @@
(void)signal(SIGINFO, summaryx);
(void)signal(SIGINT, terminate);
- (void)sigemptyset(&nset);
- (void)sigaddset(&nset, SIGINFO);
+ (void)sigemptyset(&infoset);
+ (void)sigaddset(&infoset, SIGINFO);
(void)atexit(summary);
@@ -431,7 +431,7 @@
ssize_t rv;
int oerrno;
- (void)sigprocmask(SIG_BLOCK, &nset, &oset);
+ (void)sigprocmask(SIG_BLOCK, &infoset, &oset);
rv = write(fd, buf, len);
oerrno = errno;
(void)sigprocmask(SIG_SETMASK, &oset, NULL);
Home |
Main Index |
Thread Index |
Old Index