This commit is contained in:
committed by
Git OBS Bridge
parent
a3ff377ad6
commit
3a1f3f3052
20
nano-2.0.6.patch
Normal file
20
nano-2.0.6.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- src/files.c
|
||||
+++ src/files.c
|
||||
@@ -1518,7 +1518,7 @@
|
||||
}
|
||||
|
||||
if (f_open == NULL) {
|
||||
- fd_source = open(realname, O_RDONLY | O_CREAT);
|
||||
+ fd_source = open(realname, O_RDONLY);
|
||||
|
||||
if (fd_source != -1) {
|
||||
f_source = fdopen(fd_source, "rb");
|
||||
@@ -1637,7 +1637,7 @@
|
||||
int fd_source;
|
||||
FILE *f_source = NULL;
|
||||
|
||||
- fd_source = open(tempname, O_RDONLY | O_CREAT);
|
||||
+ fd_source = open(tempname, O_RDONLY);
|
||||
|
||||
if (fd_source != -1) {
|
||||
f_source = fdopen(fd_source, "rb");
|
Reference in New Issue
Block a user