Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37040504
en ru br
Репозитории ALT
S:3.4-alt9
5.1: 3.4-alt2
4.1: 3.4-alt1
4.0: 3.4-alt1
3.0: 3.2-alt1
www.altlinux.org/Changes

Группа :: Архивирование/Резервное копирование
Пакет: pax

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

Патч: pax-3.4-PATHMAX.patch
Скачать


--- pax-3.0/src/pax.h.MAXPATH	2001-12-15 14:52:52.000000000 +0100
+++ pax-3.0/src/pax.h	2004-10-08 11:10:50.673000632 +0200
@@ -41,6 +41,7 @@
 /*
  * BSD PAX global data structures and constants.
  */
+#include <limits.h>
 
 #define	MAXBLK		64512	/* MAX blocksize supported (posix SPEC) */
		/* WARNING: increasing MAXBLK past 32256 */
@@ -50,8 +51,8 @@
		/* Don't even think of changing this */
 #define DEVBLK		8192	/* default read blksize for devices */
 #define FILEBLK		10240	/* default read blksize for files */
-#define PAXPATHLEN	3072	/* maximium path length for pax. MUST be */
-				/* longer than the system MAXPATHLEN */
+#define PAXPATHLEN	PATH_MAX	/* maximium path length for pax. MUST be */
+					/* longer than the system MAXPATHLEN */
 
 /*
  * Pax modes of operation
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin