Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
| Navigation: |
|
Lists:
gentoo-commits:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
gentoo-commits@g.o
|
|
From:
|
"Sven Wegener (swegener)" <swegener@g.o>
|
|
Subject:
|
gentoo-x86 commit in net-ftp/tnftp/files: tnftp-20091122-glibc-2.8-ARG_MAX.patch tnftp-20090606-glibc-2.8-ARG_MAX.patch tnftp-20091122-as-needed.patch
|
|
Date:
|
Mon, 04 Jan 2010 21:34:39 +0000
|
|
swegener 10/01/04 21:34:39
Modified: tnftp-20090606-glibc-2.8-ARG_MAX.patch
Added: tnftp-20091122-glibc-2.8-ARG_MAX.patch
tnftp-20091122-as-needed.patch
Log:
Version bump.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Revision Changes Path
1.2 net-ftp/tnftp/files/tnftp-20090606-glibc-2.8-ARG_MAX.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/tnftp/files/tnftp-20090606-glibc-2.8-ARG_MAX.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/tnftp/files/tnftp-20090606-glibc-2.8-ARG_MAX.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/tnftp/files/tnftp-20090606-glibc-2.8-ARG_MAX.patch?r1=1.1&r2=1.2
Index: tnftp-20090606-glibc-2.8-ARG_MAX.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-ftp/tnftp/files/tnftp-20090606-glibc-2.8-ARG_MAX.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tnftp-20090606-glibc-2.8-ARG_MAX.patch 22 Nov 2009 21:52:48 -0000 1.1
+++ tnftp-20090606-glibc-2.8-ARG_MAX.patch 4 Jan 2010 21:34:38 -0000 1.2
@@ -1,7 +1,7 @@
glibc-2.8 no loner provides the ARG_MAX macro.
---- tnftp-20090520/libnetbsd/glob.c
-+++ tnftp-20090520/libnetbsd/glob.c
+--- tnftp-20091122/libnetbsd/glob.c
++++ tnftp-20091122/libnetbsd/glob.c
@@ -55,6 +55,8 @@
* Number of matches in the current invocation of glob.
*/
1.1 net-ftp/tnftp/files/tnftp-20091122-glibc-2.8-ARG_MAX.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/tnftp/files/tnftp-20091122-glibc-2.8-ARG_MAX.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/tnftp/files/tnftp-20091122-glibc-2.8-ARG_MAX.patch?rev=1.1&content-type=text/plain
Index: tnftp-20091122-glibc-2.8-ARG_MAX.patch
===================================================================
glibc-2.8 no loner provides the ARG_MAX macro.
--- tnftp-20091122/libnetbsd/glob.c
+++ tnftp-20091122/libnetbsd/glob.c
@@ -55,6 +55,8 @@
* Number of matches in the current invocation of glob.
*/
+#include <unistd.h>
+
#include "tnftp.h"
#undef TILDE /* XXX: AIX 4.1.5 has this in <sys/ioctl.h> */
@@ -720,7 +722,7 @@
}
pathv[pglob->gl_offs + pglob->gl_pathc] = NULL;
- if ((pglob->gl_flags & GLOB_LIMIT) && (newsize + *limit) >= ARG_MAX) {
+ if ((pglob->gl_flags & GLOB_LIMIT) && (newsize + *limit) >= sysconf(_SC_ARG_MAX)) {
errno = 0;
return(GLOB_NOSPACE);
}
1.1 net-ftp/tnftp/files/tnftp-20091122-as-needed.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/tnftp/files/tnftp-20091122-as-needed.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/tnftp/files/tnftp-20091122-as-needed.patch?rev=1.1&content-type=text/plain
Index: tnftp-20091122-as-needed.patch
===================================================================
--- tnftp-20091122/src/Makefile.am
+++ tnftp-20091122/src/Makefile.am
@@ -22,9 +22,7 @@
-I$(top_srcdir) \
-I$(top_builddir)
-tnftp_LDADD = \
- ../libnetbsd/libnetbsd.la
-
+tnftp_LDADD =
if USE_LIBEDIT
tnftp_CPPFLAGS += \
@@ -34,6 +32,9 @@
../libedit/libedit.la
endif
+tnftp_LDADD += \
+ ../libnetbsd/libnetbsd.la
+
man1_MANS = \
tnftp.1
|
|