pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/unit: Cast to unsigned char



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Sun Feb 7 22:59:54 2021 +0100
Changeset:	1ad42caca1fe7b670eab20d43632245e6e5bb021

Modified Files:
	unit/distinfo
	unit/patches/patch-src_nxt__php__sapi.c

Log Message:
wip/unit: Cast to unsigned char

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1ad42caca1fe7b670eab20d43632245e6e5bb021

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 unit/distinfo                           | 2 +-
 unit/patches/patch-src_nxt__php__sapi.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/unit/distinfo b/unit/distinfo
index 1b7a5a2756..ef82fdf00c 100644
--- a/unit/distinfo
+++ b/unit/distinfo
@@ -9,7 +9,7 @@ SHA1 (patch-auto_os_conf) = 6d1cd7aef662a60d4288014eb6fadbe8c1268e55
 SHA1 (patch-src_nxt__cert.c) = c91e45f148a079b543a0d3cb277388bffb3e2854
 SHA1 (patch-src_nxt__conf__validation.c) = 99662fc0d975604fea0708a810e916991d0bf578
 SHA1 (patch-src_nxt__kqueue__engine.c) = ace06a06a5323cf6199354e4ca830e735c58a549
-SHA1 (patch-src_nxt__php__sapi.c) = bc143c5809e6187cf3b5cc828ba0906c8b2cd323
+SHA1 (patch-src_nxt__php__sapi.c) = 2d5e557ff2066bec78f5bfbca6a64688f60da01b
 SHA1 (patch-src_nxt__router.c) = 366ceab22664726238c57a4650a844a0f8f1ca89
 SHA1 (patch-src_nxt__unit.c) = 008b654ad1ea140ee65ce326a1a9d3abf79fc3ec
 SHA1 (patch-src_nxt__unix.h) = c0db5bc4d9c45a3ead48627567284d8b3041b0a0
diff --git a/unit/patches/patch-src_nxt__php__sapi.c b/unit/patches/patch-src_nxt__php__sapi.c
index 192539f349..38e8379769 100644
--- a/unit/patches/patch-src_nxt__php__sapi.c
+++ b/unit/patches/patch-src_nxt__php__sapi.c
@@ -9,7 +9,7 @@ Use correct type.
  
          value = colon + 1;
 -        while(isspace(*value)) {
-+        while(isspace((int)(*value))) {
++        while(isspace((unsigned char)(*value))) {
              value++;
          }
  


Home | Main Index | Thread Index | Old Index