Репозитории ALT
S: | 1.1.11-alt2 |
5.1: | 1.1.9.832-alt3 |
4.1: | 1.1.6-alt1 |
4.0: | 1.1.1-alt2 |
Группа :: Архивирование/Создание CD
Пакет: cdrkit
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: cdrkit-1.1.9-owl-privacy.patch
Скачать
Скачать
--- cdrkit/genisoimage/write.c
+++ cdrkit/genisoimage/write.c
@@ -2061,6 +2061,11 @@ vers_write(FILE *outfile)
/* Now write the version descriptor. */
memset(vers, 0, sizeof (vers));
+
+ /* Per default: keep privacy. Blackout the version and arguments. */
+ if (!getenv("ISODEBUG"))
+ goto write_vers;
+
strcpy(vers, "MKI ");
cp = vers;
@@ -2090,14 +2095,11 @@ vers_write(FILE *outfile)
}
cp[SECTOR_SIZE - 1] = '\0';
- /* Per default: keep privacy. Blackout the version and arguments. */
- if(getenv("ISODEBUG")) {
- jtwrite(vers, SECTOR_SIZE, 1, 0, TRUE);
- xfwrite(vers, SECTOR_SIZE, 1, outfile, 0, TRUE);
- } else {
- jtwrite(calloc(SECTOR_SIZE, 1), SECTOR_SIZE, 1, 0, TRUE);
- xfwrite(calloc(SECTOR_SIZE, 1), SECTOR_SIZE, 1, outfile, 0, TRUE);
- }
+
+write_vers:
+ jtwrite(vers, SECTOR_SIZE, 1, 0, TRUE);
+ xfwrite(vers, SECTOR_SIZE, 1, outfile, 0, TRUE);
+
last_extent_written += 1;
return (0);
}