Files
main/game/board/gweled/files/gweled-0.9.1-fix-open.patch

12 lines
436 B
Diff

--- gweled-0.9.1/src/games-setgid-io.c.open 2011-04-04 12:04:00.000000000 +0200
+++ gweled-0.9.1/src/games-setgid-io.c 2011-04-04 12:19:15.000000000 +0200
@@ -212,7 +212,7 @@ setgid_io_open_priv (int outfd, int infd
read_n_bytes (infd, path, length);
flags = read_int (infd);
- newfd = open (path, flags);
+ newfd = open (path, flags,S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH);
write_int (outfd, newfd);
g_free (path);