]> git.pld-linux.org Git - packages/httping.git/commitdiff
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552901 auto/th/httping-1_4_1-1 auto/ti/httping-1_4_1-1
authorduddits <duddits@pld-linux.org>
Thu, 11 Mar 2010 22:59:29 +0000 (22:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    httping-strndup.patch -> 1.1

httping-strndup.patch [new file with mode: 0644]

diff --git a/httping-strndup.patch b/httping-strndup.patch
new file mode 100644 (file)
index 0000000..56a26ba
--- /dev/null
@@ -0,0 +1,29 @@
+diff -burNp httping-1.4.1/str.c httping-1.4.1-dud/str.c
+--- httping-1.4.1/str.c        2010-01-10 21:35:22.000000000 +0100
++++ httping-1.4.1-dud/str.c    2010-03-11 23:54:21.986538283 +0100
+@@ -18,14 +18,3 @@
+ #include "mem.h"
+ #include "utils.h"
+-#ifndef _GNU_SOURCE
+-char *strndup(char *in, int size)
+-{
+-      char *out = mymalloc(size + 1, "strndup");
+-
+-      memcpy(out, in, size);
+-      out[size] = 0x00;
+-
+-      return out;
+-}
+-#endif
+diff -burNp httping-1.4.1/str.h httping-1.4.1-dud/str.h
+--- httping-1.4.1/str.h        2010-01-10 21:35:22.000000000 +0100
++++ httping-1.4.1-dud/str.h    2010-03-11 23:53:46.336542947 +0100
+@@ -14,7 +14,3 @@
+ */
+ #include <string.h>
+-
+-#ifndef _GNU_SOURCE
+-char *strndup(char *in, int size);
+-#endif
This page took 0.120346 seconds and 4 git commands to generate.