Re: Using amrecover with amgtar has trouble
2009-02-06 08:26:48
Yoshihiro Ishikawa wrote:
[root@centos32 recover-src]# diff -uNr extract_list.c.o extract_list.c
--- extract_list.c.o 2008-12-13 02:59:47.000000000 +0900
+++ extract_list.c 2009-02-06 12:40:52.000000000 +0900
@@ -1755,6 +1755,10 @@
if (file.program != NULL) {
if (strcmp(file.program, "BACKUP") == 0)
dumptype = IS_APPLICATION_API;
+
+ if (strcmp(file.program, "APPLICATION") == 0)
+ dumptype = IS_APPLICATION_API;
+
#ifdef GNUTAR
if (strcmp(file.program, GNUTAR) == 0)
dumptype = IS_GNUTAR;
------------
Is this the correct and simple solution?
Patch is good, but you can only change "BACKUP" for "APPLICATION" two
lines above
Thanks for reporting the bug and a fix
Jean-Louis
|
|
|