changeset 2555:22da0618297e trunk

[svn] - handle MS-DOS line endings.
author nenolod
date Tue, 20 Feb 2007 07:35:05 -0800
parents 6eb30e919b6e
children a221f10fd105
files ChangeLog src/audacious/build_stamp.c src/audacious/util.c
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 20 04:54:56 2007 -0800
+++ b/ChangeLog	Tue Feb 20 07:35:05 2007 -0800
@@ -1,3 +1,10 @@
+2007-02-20 12:54:56 +0000  Jonathan Schleifer <js@h3c.de>
+  revision [4118]
+  Use VFS.
+  trunk/src/libid3tag/file.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-02-19 20:27:45 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4116]
   - new translation drop from flameeyes
--- a/src/audacious/build_stamp.c	Tue Feb 20 04:54:56 2007 -0800
+++ b/src/audacious/build_stamp.c	Tue Feb 20 07:35:05 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070219-4116";
+const gchar *svn_stamp = "20070220-4118";
--- a/src/audacious/util.c	Tue Feb 20 04:54:56 2007 -0800
+++ b/src/audacious/util.c	Tue Feb 20 07:35:05 2007 -0800
@@ -518,7 +518,7 @@
             if (off >= filesize)
                 goto return_sequence;
 
-            while (buffer[off] != '\n')
+            while (buffer[off] != '\n' || buffer[off] != '\r')
             {
                 g_string_append_c(value, buffer[off]);
                 off++;