diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-16 16:10:41 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-16 16:10:41 +0300 |
commit | fc0cde0e2a18d234bcea5b396ff61761cbc6560c (patch) | |
tree | cdd2214d8d449bd711bb2490f1571bfb38e03e11 /app-misc/g15daemon/files/g15daemon-9999-forgotten-open-mode.patch | |
parent | 5765bac9095a12ee28525fec1036ad926827b93b (diff) |
quick and dirty ebuilds for my new keyboard (cource live from source repo)
Diffstat (limited to 'app-misc/g15daemon/files/g15daemon-9999-forgotten-open-mode.patch')
-rw-r--r-- | app-misc/g15daemon/files/g15daemon-9999-forgotten-open-mode.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-misc/g15daemon/files/g15daemon-9999-forgotten-open-mode.patch b/app-misc/g15daemon/files/g15daemon-9999-forgotten-open-mode.patch new file mode 100644 index 0000000..b475f1d --- /dev/null +++ b/app-misc/g15daemon/files/g15daemon-9999-forgotten-open-mode.patch @@ -0,0 +1,11 @@ +--- ./g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2008-01-26 06:02:07.000000000 +0100 ++++ ./g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2009-02-01 17:00:55.203009264 +0100 +@@ -356,7 +356,7 @@ + config_items_t * item=NULL; + char line[1024]; + +- config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC); ++ config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC,0664); + if(config_fd){ + snprintf(line,1024,"# G15Daemon Configuration File\n# any items entered before a [section] header\n# will be in the Global config space\n# comments you wish to keep should start with a semicolon';'\n"); + write(config_fd,line,strlen(line)); |