Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/file/src identify 1.6Z[A-Z] files correctly. PR lib/22815
details: https://anonhg.NetBSD.org/src/rev/c70e5c118ef8
branches: trunk
changeset: 552051:c70e5c118ef8
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Sep 17 00:41:39 2003 +0000
description:
identify 1.6Z[A-Z] files correctly. PR lib/22815
diffstat:
dist/file/src/readelf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dd16f9d7ed31 -r c70e5c118ef8 dist/file/src/readelf.c
--- a/dist/file/src/readelf.c Wed Sep 17 00:41:17 2003 +0000
+++ b/dist/file/src/readelf.c Wed Sep 17 00:41:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: readelf.c,v 1.1.1.2 2003/05/25 21:28:10 pooka Exp $ */
+/* $NetBSD: readelf.c,v 1.2 2003/09/17 00:41:39 itojun Exp $ */
/*
* Copyright (c) Christos Zoulas 2003.
@@ -44,7 +44,7 @@
#if 0
FILE_RCSID("@(#)Id: readelf.c,v 1.32 2003/05/23 21:31:59 christos Exp")
#else
-__RCSID("$NetBSD: readelf.c,v 1.1.1.2 2003/05/25 21:28:10 pooka Exp $");
+__RCSID("$NetBSD: readelf.c,v 1.2 2003/09/17 00:41:39 itojun Exp $");
#endif
#endif
@@ -377,7 +377,7 @@
== -1)
return size;
} else if (ver_rel != 0 && ver_rel <= 52) {
- if (file_printf(ms, "Z%c", 'A' + ver_rel - 1)
+ if (file_printf(ms, "Z%c", 'A' + ver_rel - 27)
== -1)
return size;
} else if (ver_rel != 0) {
Home |
Main Index |
Thread Index |
Old Index