Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/file/dist/src fix reversed logic
details: https://anonhg.NetBSD.org/src/rev/110cf25d367f
branches: trunk
changeset: 351389:110cf25d367f
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 11 18:17:29 2017 +0000
description:
fix reversed logic
diffstat:
external/bsd/file/dist/src/readelf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9d164d8667aa -r 110cf25d367f external/bsd/file/dist/src/readelf.c
--- a/external/bsd/file/dist/src/readelf.c Sat Feb 11 16:04:59 2017 +0000
+++ b/external/bsd/file/dist/src/readelf.c Sat Feb 11 18:17:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: readelf.c,v 1.13 2017/02/10 18:06:59 christos Exp $ */
+/* $NetBSD: readelf.c,v 1.14 2017/02/11 18:17:29 christos Exp $ */
/*
* Copyright (c) Christos Zoulas 2003.
@@ -32,7 +32,7 @@
#if 0
FILE_RCSID("@(#)$File: readelf.c,v 1.130 2017/01/29 19:34:24 christos Exp $")
#else
-__RCSID("$NetBSD: readelf.c,v 1.13 2017/02/10 18:06:59 christos Exp $");
+__RCSID("$NetBSD: readelf.c,v 1.14 2017/02/11 18:17:29 christos Exp $");
#endif
#endif
@@ -1191,7 +1191,7 @@
{
Elf32_Shdr sh32;
Elf64_Shdr sh64;
- int stripped = 1, has_debug_info = 1;
+ int stripped = 1, has_debug_info = 0;
size_t nbadcap = 0;
void *nbuf;
off_t noff, coff, name_off;
Home |
Main Index |
Thread Index |
Old Index