diff options
author | Ned Ludd <solar@gentoo.org> | 2004-08-17 13:44:43 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-08-17 13:44:43 +0000 |
commit | 7400b7346128a297132bfb05ef011a474cd1df44 (patch) | |
tree | b88302b82a7fc47de69e892ec5a2cfc193071dd0 /sys-apps/net-tools | |
parent | Removed virtual/ruby entries as it's in the base profile. See bug #58234. (diff) | |
download | gentoo-2-7400b7346128a297132bfb05ef011a474cd1df44.tar.gz gentoo-2-7400b7346128a297132bfb05ef011a474cd1df44.tar.bz2 gentoo-2-7400b7346128a297132bfb05ef011a474cd1df44.zip |
updated the get_name patch a little as per comment 16/17 bug 58633
Diffstat (limited to 'sys-apps/net-tools')
-rw-r--r-- | sys-apps/net-tools/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/net-tools/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/net-tools/files/net-tools-1.60-get_name.patch | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys-apps/net-tools/ChangeLog b/sys-apps/net-tools/ChangeLog index 6d1fd73c5096..7b708b5bf7f5 100644 --- a/sys-apps/net-tools/ChangeLog +++ b/sys-apps/net-tools/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/net-tools # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/ChangeLog,v 1.35 2004/08/12 10:28:27 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/ChangeLog,v 1.36 2004/08/17 13:44:43 solar Exp $ + + 17 Aug 2004; <solar@gentoo.org> files/net-tools-1.60-get_name.patch: + updated the get_name patch a little as per comment 16/17 bug 58633 *net-tools-1.60-r9 (12 Aug 2004) diff --git a/sys-apps/net-tools/Manifest b/sys-apps/net-tools/Manifest index fd2527e6052e..3d9c26f5917c 100644 --- a/sys-apps/net-tools/Manifest +++ b/sys-apps/net-tools/Manifest @@ -2,7 +2,7 @@ MD5 e10ac87528ea366834cce8754f04f684 net-tools-1.60-r9.ebuild 3264 MD5 14a10c003597e5ff71b26015cec64b4d net-tools-1.60-r8.ebuild 3134 MD5 70cb448e701bbd2864e0d5b1ab03f985 ChangeLog 6154 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 072d18eb2ee26819f507caf8f47b61fc files/net-tools-1.60-get_name.patch 1606 +MD5 492e3dfd36d8f80cfd73ef58dcb2082e files/net-tools-1.60-get_name.patch 1608 MD5 e98da89f3a64d4842946223b199fd5c7 files/net-tools-1.60-cleanup-list-handling.patch 1322 MD5 21723cf8906d7431823260022ba2bb12 files/1.60-gcc34.patch 712 MD5 3d8683073f95e3da2c596bb09c1cbb89 files/1.60-man.patch 737 diff --git a/sys-apps/net-tools/files/net-tools-1.60-get_name.patch b/sys-apps/net-tools/files/net-tools-1.60-get_name.patch index fdde46e7ec8b..1371c672ce0e 100644 --- a/sys-apps/net-tools/files/net-tools-1.60-get_name.patch +++ b/sys-apps/net-tools/files/net-tools-1.60-get_name.patch @@ -42,7 +42,7 @@ diff -Nrup net-tools-1.60.orig/lib/interface.c net-tools-1.60/lib/interface.c + if ((nameend-namestart)<IFNAMSIZ) { + memcpy(name,&p[namestart],nameend-namestart); + name[nameend-namestart]='\0'; -+ p=&p[nameend]; ++ p=&p[nameend+1]; + } else { + /* Interface name too large */ + name[0]='\0'; |