Subversion Repositories pike

Compare Revisions

Ignore whitespace Rev 288 → Rev 287

/trunk/debian/changelog
1,12 → 1,10
pike8.0 (8.0.610-1) unstable; urgency=low
pike8.0 (8.0.498-2) unstable; urgency=medium
 
* New upstream release.
* Drop misplaced_MAXPATHLEN.patch; obsolete.
* Drop support for GTK+ 2 (Closes: #885673).
* no_nostartfiles.patch: Don't use -nostartfiles when linking shared
modules (Closes: #892574). Thanks to Adrian Bunk.
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 23 Jun 2018 17:12:38 +0200
-- Magnus Holmgren <holmgren@debian.org> Wed, 14 Mar 2018 22:00:38 +0100
 
pike8.0 (8.0.498-1) unstable; urgency=low
 
/trunk/debian/patches/series
5,6 → 5,7
smartlink_verbose.patch
no_dump_modules.patch
dynamic_module_makefile.in-libgcc.patch
misplaced_MAXPATHLEN.patch
pthread_stub.patch
unbreak_cross_compilation.patch
dump_timeout.patch
/trunk/debian/patches/misplaced_MAXPATHLEN.patch
0,0 → 1,26
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: Move reserve MAXPATHLEN definition up.
 
--- a/src/modules/_Stdio/efuns.c
+++ b/src/modules/_Stdio/efuns.c
@@ -89,6 +89,10 @@ LINKFUNC(BOOL, movefileex, (
#endif /* __NT__ */
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 32768
+#endif
+
struct array *encode_stat(PIKE_STAT_T *s)
{
struct array *a;
@@ -1466,9 +1470,6 @@ void f_getcwd(INT32 args)
size*=2;
} while (size < 10000);
#else
-#ifndef MAXPATHLEN
-#define MAXPATHLEN 32768
-#endif
tmp=xalloc(MAXPATHLEN+1);
THREADS_ALLOW_UID();
e = getwd(tmp);