| Anonymous | Login | Signup for a new account | 11-10-2008 12:29 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0004114 | [BusyBox] Standards Compliance | minor | always | 07-14-08 19:28 | 07-16-08 16:18 | ||||
| Reporter | cristic | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0004114: comm bug on text files not ending in newline | ||||||||
| Description |
Hello, comm (busybox-1.11.1) has a bug in the way in handles text files that don't end in a newline. It reports no differences, even when the last lines are different. Here is a small test case: $ echo -n abc >A $ echo -n def >B $ ./comm A B $ Here is what comm in GNU CoreUtils 6.12 prints: $ ~/coreutils-6.12/src/comm A B abc def $ Best, Cristian |
||||||||
| Additional Information | |||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
Notes |
|
|
(0009324) vda 07-14-08 23:45 |
Oh my. The code is awful. Please try attached 9.patch. |
|
(0009424) cristic 07-16-08 14:12 |
Looks fine. Thanks for the patch. |
|
(0009474) vda 07-16-08 16:18 |
fixed in svn |
| Copyright © 2000 - 2006 Mantis Group |