diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-25 02:30:35 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-25 02:30:35 +0000 |
commit | 0c478d2f4d7459c4af4e7608ed45ae3b2f09c7dc (patch) | |
tree | 20d02bc204606522237cfe987edfdd87daf81aa0 /src | |
parent | 5024bde8f407582c9cb5a916f3b5603184f76eb7 (diff) |
* Ignore carriage returns.
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-log2xml/log2xml.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-log2xml/log2xml.cc b/src/nix-log2xml/log2xml.cc index 8a3cbc8c4..b2a25eefa 100644 --- a/src/nix-log2xml/log2xml.cc +++ b/src/nix-log2xml/log2xml.cc @@ -124,6 +124,7 @@ void Decoder::finishLine() if (line[i] == '<') cout << "<"; else if (line[i] == '&') cout << "&"; + else if (line[i] == '\r') ; /* ignore carriage return */ else if (line[i] < 32 && line[i] != 9) cout << "�"; else if (i + sz + 33 < line.size() && string(line, i, sz) == storeDir && |