Compare commits

..

7 commits

Author SHA1 Message Date
1d60388f5d Impl. setting stored UID/GID if EUID 0
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 6s
2024-09-27 16:09:23 +09:00
bbfad6da9c "Fix" Linux/Mac/Unix usage
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 5s
2024-09-27 15:48:52 +09:00
f42c672844 Impl. simple test/extract new file format (WIP)
TODO:
    Extract symlinks in new format (implemented but untested).
    Extract compressed files in new format.
2024-09-27 15:48:52 +09:00
48b55940f5 Split up handling of archive file based on version
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 5s
2024-09-27 13:01:14 +09:00
67220715ff Fix typo
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 4s
2024-09-26 17:33:12 +09:00
fee89da463 Fix typo in file format specification version 1 2024-09-26 17:33:12 +09:00
1470230b16 Create file format for format version 1
This is in preparation of improving compression by concatenating files
together before compressing them to reduce the per-file overhead.

Discussed in
#18
2024-09-26 17:33:12 +09:00

View file

@ -1438,8 +1438,6 @@ int simple_archiver_parse_archive_version_0(FILE *in_f, int_fast8_t do_extract,
} }
uc_heap_buf[u16 - 1] = 0; uc_heap_buf[u16 - 1] = 0;
fprintf(stderr, "Decompressor cmd: %s\n", uc_heap_buf); fprintf(stderr, "Decompressor cmd: %s\n", uc_heap_buf);
decompressor_cmd = heap_buf;
heap_buf = NULL;
} }
} else { } else {
fprintf(stderr, "De/compressor flag is NOT set.\n"); fprintf(stderr, "De/compressor flag is NOT set.\n");