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

Modified Files:
        nyx.c 
Log Message:
Add handling of "*SCRATCH*"

Index: nyx.c
===================================================================
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyx.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- nyx.c       24 Feb 2009 05:35:48 -0000      1.7
+++ nyx.c       24 Feb 2009 17:14:21 -0000      1.8
@@ -327,6 +327,11 @@
             continue;
          }
 
+         // Ignore *SCRATCH* since it's allowed to be updated
+         if (strcmp(name, "*SCRATCH*") == 0) {
+            continue;
+         }
+
          // Duplicate the symbol's values
          setvalue(nsym, nyx_dup_value(getvalue(syma)));
          setplist(nsym, nyx_dup_value(getplist(syma)));
@@ -362,6 +367,11 @@
             continue;
          }
 
+         // Ignore *SCRATCH* since it's allowed to be updated
+         if (strcmp(name, "*SCRATCH*") == 0) {
+            continue;
+         }
+
          // Find the symbol in the original obarray.
          for (scon = getelement(nyx_obarray, hash(name, HSIZE)); scon; scon = 
cdr(scon)) {
             LVAL ssym = car(scon);


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