Import of pkgsrc-2015Q3
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
$NetBSD: patch-mozilla_js_src_shell_jsoptparse.cpp,v 1.1 2015/03/17 19:50:42 ryoon Exp $
|
||||
$NetBSD: patch-mozilla_js_src_shell_jsoptparse.cpp,v 1.2 2015/09/21 05:03:45 ryoon Exp $
|
||||
|
||||
--- mozilla/js/src/shell/jsoptparse.cpp.orig 2015-03-09 05:34:41.000000000 +0000
|
||||
--- mozilla/js/src/shell/jsoptparse.cpp.orig 2015-09-02 09:27:36.000000000 +0000
|
||||
+++ mozilla/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-mozilla_js_src_shell_jsoptparse.cpp,v 1.1 2015/03/17 19:50:42 ryo
|
||||
+ 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