changeset 87:1bddd1839831

Update the dgamelaunch patch to work with the most recent changes. Also set the umask, just in case it defaults to 0077.
author John "Elwin" Edwards
date Sat, 24 Nov 2018 16:47:24 -0500
parents 5f1b4d3151bb
children 08c6e8c87caa
files dgl/rlgwebd-compat.patch
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dgl/rlgwebd-compat.patch	Sat Nov 24 10:34:26 2018 -0500
+++ b/dgl/rlgwebd-compat.patch	Sat Nov 24 16:47:24 2018 -0500
@@ -1,5 +1,5 @@
 diff --git a/dgamelaunch.c b/dgamelaunch.c
-index a52812d..6107851 100644
+index fc831a9..cb03355 100644
 --- a/dgamelaunch.c
 +++ b/dgamelaunch.c
 @@ -1489,7 +1489,10 @@ int
@@ -56,6 +56,15 @@
    crypted = crypt (cpw, cpw);
    if (crypted == NULL)
        return 0;
+@@ -2870,6 +2899,8 @@ main (int argc, char** argv)
+ 	}
+     }
+ 
++  umask(0002);
++
+   if (globalconfig.locale) {
+       setlocale(LC_CTYPE, globalconfig.locale);
+   }
 diff --git a/dgamelaunch.h b/dgamelaunch.h
 index e298adf..411c7c3 100644
 --- a/dgamelaunch.h