~mrms/tarum

5ffcd7281f028c0d6ca654526172ca1bb0c5798c — Marek Maškarinec 10 months ago 27d692b
Ignore @PaxHeader files
1 files changed, 5 insertions(+), 1 deletions(-)

M tar.um
M tar.um => tar.um +5 -1
@@ 109,6 109,10 @@ fn (t: ^Tar) extract*(dir: str): Errno {
            return err
        }

	if filepath.file(path) == "@PaxHeader" {
		continue
	}

        f := std.fopen(path, "wb")
        std.fwrite(f, dat)
        std.fclose(f)


@@ 203,4 207,4 @@ fn main() {
        printf("Error closing tar file: %s\n", strerror(err))
        return
    }
}
\ No newline at end of file
}