summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/depend/depend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depend/depend.cpp b/src/depend/depend.cpp
index f57acba25..9f8de891b 100644
--- a/src/depend/depend.cpp
+++ b/src/depend/depend.cpp
@@ -1008,7 +1008,7 @@ int main(int argc, char *argv[])
fclose(src);
/* Then append it to the real file. */
- src = fopen(backup, "rb");
+ src = fopen(backup, "r");
while (fgets(content, size, src) != NULL) {
fputs(content, dst);
if (!strncmp(content, delimiter, strlen(delimiter))) found_delimiter = true;