Added support for tar compressed files
This commit is contained in:
parent
c9ec69d271
commit
dc5782207d
10
ChangeLog
10
ChangeLog
@ -6,6 +6,16 @@ v0.39.1 22-Oct-2003
|
||||
general:
|
||||
Make dist now creates bzip2 archives.
|
||||
|
||||
upgrade:
|
||||
If you don't have any personal archivers, then remove
|
||||
~/etc/archiver.data and start mbsetup to recreate the
|
||||
archivers setup.
|
||||
|
||||
mbsetup:
|
||||
In node editor, fixed error message when there was no more
|
||||
room for new nodes to point to the right menus.
|
||||
Added support for tar compressed archives.
|
||||
|
||||
|
||||
v0.39.0 09-Oct-2003 - 22-Oct-2003
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Purpose ...............: Setup Archive structure.
|
||||
*
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1997-2002
|
||||
* Copyright (C) 1997-2003
|
||||
*
|
||||
* Michiel Broek FIDO: 2:280/2802
|
||||
* Beekmansbos 10
|
||||
@ -181,6 +181,16 @@ int CountArchive(void)
|
||||
sprintf(archiver.iunarc, "/bin/tar xfz");
|
||||
}
|
||||
fwrite(&archiver, sizeof(archiver), 1, fil);
|
||||
sprintf(archiver.comment, "TAR compressed files");
|
||||
sprintf(archiver.name, "CMP");
|
||||
if (strlen(_PATH_TAR)) {
|
||||
sprintf(archiver.farc, "%s cfZ", _PATH_TAR);
|
||||
sprintf(archiver.marc, "%s AfZ", _PATH_TAR);
|
||||
} else {
|
||||
sprintf(archiver.farc, "/bin/tar cfZ");
|
||||
sprintf(archiver.marc, "/bin/tar AfZ");
|
||||
}
|
||||
fwrite(&archiver, sizeof(archiver), 1, fil);
|
||||
|
||||
memset(&archiver, 0, sizeof(archiver));
|
||||
sprintf(archiver.comment, "TAR bzip2 files");
|
||||
@ -363,7 +373,7 @@ int CountArchive(void)
|
||||
|
||||
fclose(fil);
|
||||
chmod(ffile, 0640);
|
||||
return 11;
|
||||
return 12;
|
||||
} else
|
||||
return -1;
|
||||
}
|
||||
|
@ -1267,9 +1267,9 @@ void EditNodes(void)
|
||||
working(0, 0, 0);
|
||||
} else {
|
||||
if ((records + 1) > CFG.toss_systems) {
|
||||
errmsg("Cannot add node, change global setting in menu 1.12.11");
|
||||
errmsg("Cannot add node, change global setting in menu 1.11.11");
|
||||
} else {
|
||||
errmsg("Cannot add node, change global setting in menu 1.11.4");
|
||||
errmsg("Cannot add node, change global setting in menu 1.10.4");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user