Import of pkgsrc-2015Q2
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
$NetBSD: patch-js_src_shell_jsoptparse.cpp,v 1.2 2015/02/19 21:33:22 ryoon Exp $
|
||||
$NetBSD: patch-js_src_shell_jsoptparse.cpp,v 1.3 2015/05/12 22:48:54 ryoon Exp $
|
||||
|
||||
--- js/src/shell/jsoptparse.cpp.orig 2015-01-23 06:00:02.000000000 +0000
|
||||
--- js/src/shell/jsoptparse.cpp.orig 2015-05-04 00:43:27.000000000 +0000
|
||||
+++ js/src/shell/jsoptparse.cpp
|
||||
@@ -90,11 +90,11 @@ PrintParagraph(const char *text, unsigne
|
||||
@@ -90,7 +90,7 @@ PrintParagraph(const char* text, unsigne
|
||||
printf("%*s", startColno, "");
|
||||
|
||||
while (*it != '\0') {
|
||||
@@ -10,9 +10,4 @@ $NetBSD: patch-js_src_shell_jsoptparse.cpp,v 1.2 2015/02/19 21:33:22 ryoon Exp $
|
||||
+ MOZ_ASSERT(!isspace((unsigned char)*it));
|
||||
|
||||
/* Delimit the current token. */
|
||||
const char *limit = it;
|
||||
- while (!isspace(*limit) && *limit != '\0')
|
||||
+ while (!isspace(((unsigned char)*limit)) && *limit != '\0')
|
||||
++limit;
|
||||
|
||||
/*
|
||||
const char* limit = it;
|
||||
|
||||
Reference in New Issue
Block a user