.
OBS-URL: https://build.opensuse.org/package/show/M17N/xemacs?expand=0&rev=78
This commit is contained in:
parent
d7506c280d
commit
bc53a426d9
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 14:31:38 UTC 2015 - werner@suse.de
|
||||
|
||||
- Modify patch xemacs.patch to make open(2) work with O_CREAT
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 16:21:05 UTC 2015 - werner@suse.de
|
||||
|
||||
|
@ -60,13 +60,13 @@ Index: xemacs-21.5.29/lib-src/mmencode.c
|
||||
+
|
||||
+ if(mode[0] == 'w') {
|
||||
+ flags = O_EXCL | O_CREAT | O_WRONLY;
|
||||
+ fd = open(filename, flags, 00666);
|
||||
+ }
|
||||
+ else {
|
||||
+ flags = O_RDONLY;
|
||||
+ fd = open(filename, flags);
|
||||
+ }
|
||||
+
|
||||
+ fd = open(filename, flags);
|
||||
+
|
||||
+ if(fd == -1) {
|
||||
+ return (FILE *)0;
|
||||
+ }
|
||||
|
Loading…
Reference in New Issue
Block a user