diff options
author | quou <quou@disroot.org> | 2024-12-27 18:52:48 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-27 18:52:48 +1100 |
commit | d920e5d62020d751ccaa3491cc66275ade749011 (patch) | |
tree | e806a95c598e255f9883de98cc350a3b9279d0ce /packer.c | |
parent | e8c93463b2ae5114f0c88e768e5625abac9d5a50 (diff) |
building and running on windows with visual studio
Diffstat (limited to 'packer.c')
-rw-r--r-- | packer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ int main(int argc, const char** argv) { print_err("Hash table error.\n"); return 5; } - strcpy(e->name, argv[i + 3] + strlen(workingdir) + strlen(dsep)); + strcpy(e->name, argv[i + 3]); } fwrite(magic, 1, 4, outfile); fwrite(&pack->file_count, 1, 4, outfile); |