From fa4a41919e8ef0d50119244eea6ee29e81d58b7d Mon Sep 17 00:00:00 2001 From: lfield Date: Wed, 3 Apr 2019 16:05:42 +0200 Subject: [PATCH] Removed extra .gz Addresses issue #3074. The open function of the GZIP_FILE class appends '.gz'. --- sched/db_dump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sched/db_dump.cpp b/sched/db_dump.cpp index 57fde350cd6..95a283f8041 100644 --- a/sched/db_dump.cpp +++ b/sched/db_dump.cpp @@ -644,7 +644,7 @@ void write_badge_user(char* output_dir) { DB_BADGE_USER bu; char path[MAXPATHLEN]; ZFILE zf("badge_users", COMPRESSION_GZIP); - sprintf(path, "%s/badge_user.gz", output_dir); + sprintf(path, "%s/badge_user", output_dir); zf.open(path); while (!bu.enumerate("")) { zf.write( @@ -665,7 +665,7 @@ void write_badge_team(char* output_dir) { DB_BADGE_TEAM bt; char path[MAXPATHLEN]; ZFILE zf("badge_teams", COMPRESSION_GZIP); - sprintf(path, "%s/badge_team.gz", output_dir); + sprintf(path, "%s/badge_team", output_dir); zf.open(path); while (!bt.enumerate("")) { zf.write(