From 8595cb4102d547388d0d9e699d10a14f8f7aa71c Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sat, 24 Jan 2015 23:36:40 +0900 Subject: Integrate Debian changes into 020_debian.patch (closes: #776112) (debian/patches/*.patch except 010_upstream.patch are merged) --- debian/patches/190_Strchop.patch | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 debian/patches/190_Strchop.patch (limited to 'debian/patches/190_Strchop.patch') diff --git a/debian/patches/190_Strchop.patch b/debian/patches/190_Strchop.patch deleted file mode 100644 index e27861f..0000000 --- a/debian/patches/190_Strchop.patch +++ /dev/null @@ -1,16 +0,0 @@ -Subject: Check length for Strchop() -From: Tatsuya Kinoshita - ---- a/Str.c -+++ b/Str.c -@@ -278,8 +278,8 @@ void - Strchop(Str s) - { - STR_LENGTH_CHECK(s); -- while ((s->ptr[s->length - 1] == '\n' || s->ptr[s->length - 1] == '\r') && -- s->length > 0) { -+ while (s->length > 0 && -+ (s->ptr[s->length - 1] == '\n' || s->ptr[s->length - 1] == '\r')) { - s->length--; - } - s->ptr[s->length] = '\0'; -- cgit v1.2.3