Skip to content
Snippets Groups Projects
Commit 2d4993ec authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed bug.

Rev: lib/modules/Stdio.pmod:1.21
parent 32a6ac27
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ class File ...@@ -26,6 +26,7 @@ class File
int open(string file, string mode, void|int bits) int open(string file, string mode, void|int bits)
{ {
if(query_num_arg()<3) bits=0666;
return __open(file, mode, bits); return __open(file, mode, bits);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment