Update of /cvsroot/audacity/lib-src/libnyquist/nyquist/nyqsrc
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14954/lib-src/libnyquist/nyquist/nyqsrc

Modified Files:
        falloc.c falloc.h 
Log Message:
A bug fix and other changes from Roger.

Index: falloc.c
===================================================================
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/nyqsrc/falloc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- falloc.c    26 Feb 2009 03:23:16 -0000      1.2
+++ falloc.c    3 Mar 2009 04:26:57 -0000       1.3
@@ -1,6 +1,6 @@
 /*
  * falloc.c
- * data for fugue memory allocation.
+ * data for Nyquist memory allocation.
  */
 
 #include <stdio.h>
@@ -30,12 +30,12 @@
 
 
 /* memory pool */
-char *poolp;
-char *poolend;
+char *poolp = NULL;
+char *poolend = NULL;
 
 /* sample block memory pool */
-char *spoolp;
-char *spoolend;
+char *spoolp = NULL;
+char *spoolend = NULL;
 
 int npools = 0;
 
@@ -65,7 +65,7 @@
     poolp = (char *) malloc(MAXPOOLSIZE);
 
     if (poolp == NULL) {
-        fprintf(STDERR, "fugue: out of memory!\n");
+        fprintf(STDERR, "Nyquist: out of memory!\n");
         EXIT(1);
     }
 
@@ -86,7 +86,7 @@
 #endif
 
     if (spoolp == NULL) {
-        fprintf(STDERR, "fugue: out of memory!\n");
+        fprintf(STDERR, "Nyquist: out of memory!\n");
         EXIT(1);
     }
 

Index: falloc.h
===================================================================
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyquist/nyqsrc/falloc.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- falloc.h    1 Mar 2009 07:22:12 -0000       1.4
+++ falloc.h    3 Mar 2009 04:26:57 -0000       1.5
@@ -56,7 +56,7 @@
 #include "cque.h"
 #include "debug.h"
 
-#define DEBUG_MEM 1
+#define DEBUG_MEM 0
 #define DEBUG_MEM_INFO_SIZE (sizeof(long) + sizeof(char *))
 
 /* special free lists */
@@ -91,7 +91,7 @@
 #endif
 
 #if defined(TRACK_POOLS) && TRACK_POOLS
-extern CQUE *spools;
+// extern CQUE *pools;
 void falloc_gc();
 #endif
 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to