Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib Don't call exit(3) f...
details: https://anonhg.NetBSD.org/src/rev/3c1d2626f6b2
branches: trunk
changeset: 758352:3c1d2626f6b2
user: agc <agc%NetBSD.org@localhost>
date: Wed Nov 03 02:27:56 2010 +0000
description:
Don't call exit(3) from library context - brought in with the initial
import, so pink (rather than red) face here.
Pointed out by Peter Pentchev in PR 44027. Thanks!
diffstat:
crypto/external/bsd/netpgp/dist/src/lib/packet-print.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r b7ed78054c56 -r 3c1d2626f6b2 crypto/external/bsd/netpgp/dist/src/lib/packet-print.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/packet-print.c Wed Nov 03 00:49:02 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/packet-print.c Wed Nov 03 02:27:56 2010 +0000
@@ -58,7 +58,7 @@
#if defined(__NetBSD__)
__COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: packet-print.c,v 1.37 2010/08/15 07:52:27 agc Exp $");
+__RCSID("$NetBSD: packet-print.c,v 1.38 2010/11/03 02:27:56 agc Exp $");
#endif
#include <string.h>
@@ -1406,7 +1406,7 @@
print_tagname(print->indent, "UNKNOWN PACKET TYPE");
fprintf(stderr, "__ops_print_packet: unknown tag=%d (0x%x)\n",
pkt->tag, pkt->tag);
- exit(EXIT_FAILURE);
+ return 0;
}
return 1;
}
Home |
Main Index |
Thread Index |
Old Index