Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37733532
en ru br
ALT Linux repos
S:5.34.1-alt1
5.0: 5.8.9-alt2
4.1: 5.8.8-alt19.M41.1
4.0: 5.8.8-alt14
+updates:5.8.8-alt14
3.0: 5.8.7-alt2

Group :: Development/Perl
RPM: perl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: perl-5.20.1-alt-crux-Cwd-use-realpath.patch
Download


commit 842aab6a559976f15f94ded9169beca4027ea823
Author: Vladimir Lettiev <crux@altlinux.ru>
Date:   Tue Aug 20 14:58:00 2013 +0400
    Cwd.xs: use libc realpath(3) instead of bsd_realpath()
diff --git a/dist/PathTools/Cwd.xs b/dist/PathTools/Cwd.xs
index 4ddbdac..4a55f5b 100644
--- a/dist/PathTools/Cwd.xs
+++ b/dist/PathTools/Cwd.xs
@@ -11,6 +11,9 @@
 #   include <unistd.h>
 #endif
 
+/* ALT: use libc realpath(3) instead of bsd_realpath() */
+#define bsd_realpath realpath
+#if 0
 /* The realpath() implementation from OpenBSD 3.9 to 4.2 (realpath.c 1.13)
  * Renamed here to bsd_realpath() to avoid library conflicts.
  */
@@ -218,6 +221,7 @@ bsd_realpath(const char *path, char resolved[MAXPATHLEN])
 	return (resolved);
 }
 #endif
+#endif
 
 #ifndef SV_CWD_RETURN_UNDEF
 #define SV_CWD_RETURN_UNDEF \
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin