Changed ^M to \r since gcc for IA-64 didn't like it.
authorJoey Schulze <joey@infodrom.org>
Sun, 18 Nov 2001 20:12:18 +0000 (20:12 +0000)
committerJoey Schulze <joey@infodrom.org>
Sun, 18 Nov 2001 20:12:18 +0000 (20:12 +0000)
dtaus.c

diff --git a/dtaus.c b/dtaus.c
index e8f935e..b556ffb 100644 (file)
--- a/dtaus.c
+++ b/dtaus.c
@@ -452,7 +452,7 @@ size_t control_nextline (void **buf, int len, FILE *f)
          while (tmp[strlen(tmp)-1] != '\n' && (cp = fgets(tmp, 100, f)));
        } else
          line[strlen(line)-1] = '\0';
-       if (line[strlen(line)-1] == '\r')
+       if (line[strlen(line)-1] == '\r')
          line[strlen(line)-1] = '\0';
        for (i=strlen(line);(line[i-1] == ' '||line[i-1] == '\t')&&i>0; i--)
          line[i-1] = '\0';