a62799ffc0
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@902 6952d904-891a-0410-993b-d76249ca496b
23 lines
872 B
Diff
23 lines
872 B
Diff
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
|
Date: 2009-03-27
|
|
Initial Package Version: 1.0
|
|
Origin: me
|
|
Upstream Status: unknown
|
|
Description: fix __open_missing_mode
|
|
|
|
diff -Naur tslib-1.0.orig/tests/ts_calibrate.c tslib-1.0/tests/ts_calibrate.c
|
|
--- tslib-1.0.orig/tests/ts_calibrate.c 2009-03-27 22:02:45.000000000 +0000
|
|
+++ tslib-1.0/tests/ts_calibrate.c 2009-03-27 22:12:41.926314128 +0000
|
|
@@ -220,9 +220,9 @@
|
|
for (i = 0; i < 7; i++) printf("%d ", cal.a [i]);
|
|
printf("\n");
|
|
if ((calfile = getenv("TSLIB_CALIBFILE")) != NULL) {
|
|
- cal_fd = open (calfile, O_CREAT | O_RDWR);
|
|
+ cal_fd = open (calfile, O_CREAT | O_RDWR, 0644);
|
|
} else {
|
|
- cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR);
|
|
+ cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR, 0644);
|
|
}
|
|
sprintf (cal_buffer,"%d %d %d %d %d %d %d",
|
|
cal.a[1], cal.a[2], cal.a[0],
|