[xiph-cvs] cvs commit: ao/src/plugins/esd ao_esd.c

Stan Seibert volsung at xiph.org
Thu Aug 7 08:29:35 PDT 2003



volsung     03/08/07 11:29:35

  Modified:    src/plugins/esd ao_esd.c
  Log:
  putenv() is more portable than setenv().

Revision  Changes    Path
1.8       +1 -1      ao/src/plugins/esd/ao_esd.c

Index: ao_esd.c
===================================================================
RCS file: /usr/local/cvsroot/ao/src/plugins/esd/ao_esd.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ao_esd.c	14 Jul 2003 01:55:47 -0000	1.7
+++ ao_esd.c	7 Aug 2003 15:29:35 -0000	1.8
@@ -61,7 +61,7 @@
         int sock;
 
         /* don't wake up the beast while detecting */
-	setenv("ESD_NO_SPAWN", "1", 1); 
+	putenv("ESD_NO_SPAWN=1"); 
         sock = esd_open_sound(NULL);
         if (sock < 0)
                 return 0;

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list