]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- inet_aton is broken, try ping 10.1.2.3.4 glibc-2_2_2-2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 4 Mar 2001 15:15:25 +0000 (15:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc-inet_addr.patch -> 1.1

glibc-inet_addr.patch [new file with mode: 0644]

diff --git a/glibc-inet_addr.patch b/glibc-inet_addr.patch
new file mode 100644 (file)
index 0000000..52e3b85
--- /dev/null
@@ -0,0 +1,11 @@
+--- resolv/inet_addr.c.org     Sun Mar  4 00:45:06 2001
++++ resolv/inet_addr.c Sun Mar  4 01:21:39 2001
+@@ -183,7 +183,7 @@
+                        *      a.b.c   (with c treated as 16 bits)
+                        *      a.b     (with b treated as 24 bits)
+                        */
+-                      if (pp > res.bytes + 3 || val > 0xff)
++                      if (pp > res.bytes + 2 || val > 0xff)
+                               goto ret_0;
+                       *pp++ = val;
+                       c = *++cp;
This page took 0.033841 seconds and 4 git commands to generate.