All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] amidi output file permissions
@ 2004-01-12 17:03 Clemens Ladisch
  2004-01-13 16:12 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens Ladisch @ 2004-01-12 17:03 UTC (permalink / raw)
  To: alsa-devel; +Cc: andreas


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] amidi output file permissions
  2004-01-12 17:03 [PATCH] amidi output file permissions Clemens Ladisch
@ 2004-01-13 16:12 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2004-01-13 16:12 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel, andreas

At Mon, 12 Jan 2004 18:03:05 +0100 (MET),
Clemens Ladisch wrote:
> 
> 
> set file permission bits for output file
> 

applied now.

thanks,


Takashi


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-13 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-12 17:03 [PATCH] amidi output file permissions Clemens Ladisch
2004-01-13 16:12 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.