Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/rpcgen #if 0 code should still compile :-)
details: https://anonhg.NetBSD.org/src/rev/cf6a07f1edad
branches: trunk
changeset: 338088:cf6a07f1edad
user: dholland <dholland%NetBSD.org@localhost>
date: Sat May 09 22:58:22 2015 +0000
description:
#if 0 code should still compile :-)
diffstat:
usr.bin/rpcgen/rpc_main.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 9fb790a56673 -r cf6a07f1edad usr.bin/rpcgen/rpc_main.c
--- a/usr.bin/rpcgen/rpc_main.c Sat May 09 22:23:40 2015 +0000
+++ b/usr.bin/rpcgen/rpc_main.c Sat May 09 22:58:22 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_main.c,v 1.40 2015/05/09 21:44:47 christos Exp $ */
+/* $NetBSD: rpc_main.c,v 1.41 2015/05/09 22:58:22 dholland Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_main.c,v 1.40 2015/05/09 21:44:47 christos Exp $");
+__RCSID("$NetBSD: rpc_main.c,v 1.41 2015/05/09 22:58:22 dholland Exp $");
#endif
#endif
@@ -870,7 +870,8 @@
if (stat(outfile, &buf) < 0)
return; /* file does not exist */
else {
- errx("`%s' already exists and may be overwritten",
+ errx(EXIT_FAILURE,
+ "`%s' already exists and may be overwritten",
outfile);
}
}
Home |
Main Index |
Thread Index |
Old Index