pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/check Fixes floating point exceptions on VAX.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5eead121f6d
branches: trunk
changeset: 631317:e5eead121f6d
user: jklos <jklos%pkgsrc.org@localhost>
date: Sat Mar 01 17:57:01 2014 +0000
description:
Fixes floating point exceptions on VAX.
diffstat:
mk/check/check-portability.awk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 1bf74f4b9695 -r e5eead121f6d mk/check/check-portability.awk
--- a/mk/check/check-portability.awk Sat Mar 01 14:10:05 2014 +0000
+++ b/mk/check/check-portability.awk Sat Mar 01 17:57:01 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-portability.awk,v 1.4 2006/11/13 23:21:53 rillig Exp $
+# $NetBSD: check-portability.awk,v 1.5 2014/03/01 17:57:01 jklos Exp $
#
# Checks a shell file for possible portability problems.
#
@@ -31,6 +31,8 @@
function check_test_eqeq(line, n, word, i) {
+ if (length(line) == 0 || length(word) == 0)
+ return;
n = split(line, word);
for (i = 3; i < n; i++) {
if (word[i] == "==") {
Home |
Main Index |
Thread Index |
Old Index