Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37813033
en ru br
Репозитории ALT
S:5.34.1-alt1
5.1: 5.8.9-alt3
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
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: perl-5.20.1-alt-crux-Cwd-use-realpath.patch
Скачать


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 \
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin