Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37900070
en ru br
Репозитории ALT
S:1.35.0.20.1cdad4cc-alt1
5.1: 1.23-alt4
4.1: 1.20-alt1.M41.1
4.0: 1.15.1-alt8
3.0: 1.15.1-alt2
+updates:1.15.1-alt4.M30.2
www.altlinux.org/Changes

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

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

Патч: tar-1.15.1-alt-parse_opt-Iy.patch
Скачать


--- tar-1.15.1/src/tar.c.orig	2004-12-21 14:11:26 +0000
+++ tar-1.15.1/src/tar.c	2005-05-15 12:33:02 +0000
@@ -709,10 +709,11 @@ parse_opt(int key, char *arg, struct arg
       break;
       
     case 'I':
-      USAGE_ERROR ((0, 0,
-		    _("Warning: the -I option is not supported;"
-		      " perhaps you meant -j or -T?")));
-      break;
+    case 'y':
+      fprintf (stderr,
+	       "Warning: option '%c' is deprecated! Next time use -j instead.\n",
+	       key);
+      /* Fall through to using bzip2. */
       
     case 'j':
       set_use_compress_program_option ("bzip2");
@@ -900,12 +901,6 @@ parse_opt(int key, char *arg, struct arg
 	}
       break;
       
-    case 'y':
-      USAGE_ERROR ((0, 0,
-		    _("Warning: the -y option is not supported;"
-		      " perhaps you meant -j?")));
-      break;
-      
     case 'z':
       set_use_compress_program_option ("gzip");
       break;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin