diff options
author | Michael Januszewski <spock@gentoo.org> | 2009-03-22 07:56:01 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2009-03-22 07:56:01 +0000 |
commit | d71b4ddb8437ac6e625e2e23dfafbfef9d576e8d (patch) | |
tree | 731558026f1df21066c7164a777cd57e7cdce683 /app-text/clara/files | |
parent | Fix the postinst messages so that they point to the correct location of the d... (diff) | |
download | historical-d71b4ddb8437ac6e625e2e23dfafbfef9d576e8d.tar.gz historical-d71b4ddb8437ac6e625e2e23dfafbfef9d576e8d.tar.bz2 historical-d71b4ddb8437ac6e625e2e23dfafbfef9d576e8d.zip |
Fix missing open() arguments (bug #260081, patch by Magnus Granberg).
Package-Manager: portage-2.1.6.9/cvs/Linux x86_64
Diffstat (limited to 'app-text/clara/files')
-rw-r--r-- | app-text/clara/files/clara_open_mode.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-text/clara/files/clara_open_mode.patch b/app-text/clara/files/clara_open_mode.patch new file mode 100644 index 000000000000..3f73f466ab8c --- /dev/null +++ b/app-text/clara/files/clara_open_mode.patch @@ -0,0 +1,20 @@ +--- pgmblock.c 2002-04-29 14:26:13.000000000 +0000 ++++ pgmblock.c 2009-03-05 02:51:43.000000000 +0000 +@@ -161,7 +161,7 @@ + + printf("%d rare pixels (%1.4f)\n",t,((float)t)/(w*h)); + +- F = open("map",O_WRONLY|O_CREAT); ++ F = open("map",O_WRONLY|O_CREAT, 0644); + write(F,m,h*bpl); + write(F,map,256); + close(F); +@@ -197,7 +197,7 @@ + { + int i,j,F; + +- F = open("map",O_RDONLY|O_CREAT); ++ F = open("map",O_RDONLY|O_CREAT, 0644); + read(F,m,h*bpl); + read(F,map,256); + close(F); |