set file permission bits for output file
Index: alsa-utils/amidi/amidi.c
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/amidi/amidi.c,v
retrieving revision 1.2
diff -u -r1.2 amidi.c
--- alsa-utils/amidi/amidi.c 5 Nov 2003 11:08:25 -0000 1.2
+++ alsa-utils/amidi/amidi.c 12 Jan 2004 16:57:42 -0000
@@ -450,7 +450,7 @@
return 1;
if (receive_file_name) {
- receive_file = creat(receive_file_name, 0);
+ receive_file = creat(receive_file_name, 0666);
if (receive_file == -1) {
error("cannot create %s: %s", receive_file_name,
strerror(errno));
return -1;
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel