[xiph-cvs] cvs commit: icecast/src format_mp3.c main.c xslt.c

Brendan brendan at xiph.org
Wed Jul 23 22:24:01 PDT 2003



brendan     03/07/24 01:24:00

  Modified:    src      format_mp3.c main.c xslt.c
  Log:
  Mike's #include patch

Revision  Changes    Path
1.24      +4 -0      icecast/src/format_mp3.c

Index: format_mp3.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/format_mp3.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -u -r1.23 -r1.24
--- format_mp3.c	23 Jul 2003 00:27:10 -0000	1.23
+++ format_mp3.c	24 Jul 2003 05:24:00 -0000	1.24
@@ -16,6 +16,10 @@
 # include <strings.h>
 #endif
 
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
+
 #include "refbuf.h"
 #include "source.h"
 #include "client.h"

<p><p>1.31      +4 -0      icecast/src/main.c

Index: main.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/main.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -u -r1.30 -r1.31
--- main.c	21 Jul 2003 01:58:54 -0000	1.30
+++ main.c	24 Jul 2003 05:24:00 -0000	1.31
@@ -19,6 +19,10 @@
 #include <errno.h>
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include "cfgfile.h"
 #include "sighandler.h"
 

<p><p>1.11      +1 -1      icecast/src/xslt.c

Index: xslt.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/xslt.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -u -r1.10 -r1.11
--- xslt.c	21 Jul 2003 01:58:54 -0000	1.10
+++ xslt.c	24 Jul 2003 05:24:00 -0000	1.11
@@ -73,7 +73,7 @@ void xslt_shutdown() {
 }
 
 static int evict_cache_entry() {
-    int i, age=0, oldest;
+    int i, age=0, oldest=0;
 
     for(i=0; i < CACHESIZE; i++) {
         if(cache[i].cache_age > age) {

<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