Please apply the following patch to "plm/metadata/misc/misc.cpp".  It fixes 
a bug that causes Freeamp to occasionally crash.  (It took me a day to 
track down this bug - argh!)

        Ross.

ps. Also, I hope you folks know that there are 'race conditions' somewhere 
in the code that can cause the Freeamp GUI to freeze up.

--- freeamp/plm/metadata/misc/misc.cpp  Tue Feb 20 20:19:08 2001
+++ freeamp.new/plm/metadata/misc/misc.cpp     Sun Jan 27 00:36:32 2002
@@ -198,8 +202,10 @@
          else
              file++;

-        while (file && !isdigit(*file))
-            file++;
+
+        if (file != NULL) {
+         while (*file != '\0' && !isdigit(*file)) file++;
+       }

          if (strlen(file) > 4)
              metadata->SetTrack(atoi(file));

_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev

Reply via email to