projects
/
unzip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ca0e1
)
Remove last character check as it should never be true now
author
Robert Pengelly
<robertapengelly@hotmail.com>
Fri, 3 Oct 2025 06:05:05 +0000
(07:05 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Fri, 3 Oct 2025 06:05:05 +0000
(07:05 +0100)
unzip.c
patch
|
blob
|
history
diff --git
a/unzip.c
b/unzip.c
index 118a18a7bae3906c77d5cecf62f73879ac11c162..6d46e596278af85a4135c47965afa9221202c1a8 100755
(executable)
--- a/
unzip.c
+++ b/
unzip.c
@@
-759,10
+759,6
@@
static void extract_zip (const char *path) {
}
- if (temp[strlen (temp) - 1] == ch) {
- temp[strlen (temp) - 1] = '\0';
- }
-
#if defined (unix) || defined (__unix) || defined (__unix__) || defined (__APPLE__)
if (!stat (temp, &sb)) {