Репозитории ALT
Группа :: Архивирование/Резервное копирование
Пакет: pax
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: pax-3.4-alt-gcc9.patch
Скачать
Скачать
diff --git a/pax/src/tar.c b/pax/src/tar.c
index 4b8c352..f552914 100644
--- a/pax/src/tar.c
+++ b/pax/src/tar.c
@@ -1096,7 +1096,7 @@ ustar_wr (register ARCHD * arcn)
}
strncpy (hd->magic, TMAGIC, TMAGLEN);
- strncpy (hd->version, TVERSION, TVERSLEN);
+ memcpy (hd->version, TVERSION, TVERSLEN);
/*
* Set the remaining fields. We only write 12 bit of the mode field