Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/tools/ctf/cvt Don't nuke input on e...
details: https://anonhg.NetBSD.org/src/rev/528594bd6003
branches: trunk
changeset: 343691:528594bd6003
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Feb 20 22:08:44 2016 +0000
description:
Don't nuke input on errors, it makes debugging a nightmare.
diffstat:
external/cddl/osnet/dist/tools/ctf/cvt/ctfconvert.c | 2 +-
external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 4b930f88f8c1 -r 528594bd6003 external/cddl/osnet/dist/tools/ctf/cvt/ctfconvert.c
--- a/external/cddl/osnet/dist/tools/ctf/cvt/ctfconvert.c Sat Feb 20 21:50:02 2016 +0000
+++ b/external/cddl/osnet/dist/tools/ctf/cvt/ctfconvert.c Sat Feb 20 22:08:44 2016 +0000
@@ -68,7 +68,7 @@
static void
terminate_cleanup(void)
{
-#if !defined(__FreeBSD__)
+#if 0
if (!outfile) {
fprintf(stderr, "Removing %s\n", infile);
unlink(infile);
diff -r 4b930f88f8c1 -r 528594bd6003 external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c
--- a/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c Sat Feb 20 21:50:02 2016 +0000
+++ b/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c Sat Feb 20 22:08:44 2016 +0000
@@ -624,7 +624,7 @@
if (outfile == NULL)
return;
-#if !defined(__FreeBSD__)
+#if 0
if (dounlink) {
fprintf(stderr, "Removing %s\n", outfile);
unlink(outfile);
Home |
Main Index |
Thread Index |
Old Index