I think that comments in the wine BTS indicate that this patch will be
no longer necessary after the 20050310 release, but it is a bit
ambiguous.

In the meantime,
http://bugs.winehq.com/attachment.cgi?id=765&action=view
is the included patch.

Justin
--- wine-20050211/misc/registry.c       Mon Feb 14 14:06:36 2005
+++ wine-20050214/misc/registry.c       Mon Feb 14 13:36:42 2005
@@ -1227,7 +1227,7 @@
     ret = _xmalloc(50);
     for (count = 0;;) {
         sprintf(ret,"/tmp/reg%lx%04x.tmp",(long)getpid(),count++);
-        if ((tmp_fd = open(ret,O_CREAT | O_EXCL | O_WRONLY,0666)) != -1) break;
+        if ((tmp_fd = open(ret,O_CREAT | O_EXCL | O_WRONLY,0600)) != -1) break;
         if (errno != EEXIST) {
             ERR("Unexpected error while open() call: %s\n",strerror(errno));
             free(ret);

Reply via email to