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; }