diff options
author | Sebastian 'Swift Geek' Grzywna | 2017-10-08 22:58:47 +0200 |
---|---|---|
committer | Sebastian 'Swift Geek' Grzywna | 2017-10-08 23:04:50 +0200 |
commit | f82e6eb4906abb7f11c30548e00d996d2501714d (patch) | |
tree | a712e4e069a4cd48c5e8be4463bbf9f32c3170a6 /rootsh-1.5.3-open-needs-3-args.patch | |
download | aur-f82e6eb4906abb7f11c30548e00d996d2501714d.tar.gz |
Initial commit
Diffstat (limited to 'rootsh-1.5.3-open-needs-3-args.patch')
-rw-r--r-- | rootsh-1.5.3-open-needs-3-args.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rootsh-1.5.3-open-needs-3-args.patch b/rootsh-1.5.3-open-needs-3-args.patch new file mode 100644 index 000000000000..63bf25636ffc --- /dev/null +++ b/rootsh-1.5.3-open-needs-3-args.patch @@ -0,0 +1,12 @@ +diff -up rootsh-1.5.3/src/rootsh.c.BAD rootsh-1.5.3/src/rootsh.c +--- rootsh-1.5.3/src/rootsh.c.BAD 2008-05-14 16:38:30.000000000 -0400 ++++ rootsh-1.5.3/src/rootsh.c 2008-05-14 16:38:37.000000000 -0400 +@@ -680,7 +680,7 @@ int beginlogging(void) { + // Open the logfile + */ + if ((logFile = open(logFileName, O_RDWR|O_CREAT|O_SYNC|O_CREAT|O_APPEND| +- S_IRUSR|S_IWUSR)) == -1) { ++ S_IRUSR|S_IWUSR, 0777)) == -1) { + perror(logFileName); + return(0); + } |