From fb40f5f71110d0c8aebbf5dac6a36186dc6b5604 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 31 Jul 2008 22:11:55 +0000 Subject: [PATCH] - Removed filename-lowercasing from zipdir. SVN r1099 (trunk) --- docs/rh-log.txt | 1 + tools/zipdir/zipdir.c | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 50980515a..25698b4d3 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ July 31, 2008 +- Removed filename-lowercasing from zipdir. - Fixed: The ouch face fix was lost when SBARINFO mugshot became the only mugshot present. - Fixed: Mace SpawnID was assigned to the MacePowered actor instead. diff --git a/tools/zipdir/zipdir.c b/tools/zipdir/zipdir.c index c70fa846d..17f4fddfb 100644 --- a/tools/zipdir/zipdir.c +++ b/tools/zipdir/zipdir.c @@ -163,17 +163,12 @@ dir_tree_t *alloc_dir_tree(const char *dir) file_entry_t *alloc_file_entry(const char *prefix, const char *path, time_t last_written) { file_entry_t *entry; - char *p; entry = malloc(sizeof(file_entry_t) + strlen(prefix) + strlen(path) + 1); if (entry != NULL) { strcpy(entry->path, prefix); strcat(entry->path, path); - for (p = entry->path; *p != '\0'; ++p) - { - *p = tolower(*p); - } entry->next = NULL; entry->time_write = last_written; }