Public bug reported:
Binary package hint: libreadline5
[EMAIL PROTECTED]:/tmp$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
[EMAIL PROTECTED]:/tmp$ dpkg -l libreadline5 | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-======================================================
ii libreadline5 5.2-3build1 GNU readline and history libraries, run-time
libraries
[EMAIL PROTECTED]:/tmp$ cat newlinefile.c
#include <stdio.h>
int main(){
fclose(fopen("salt\npepper", "w+"));
}
[EMAIL PROTECTED]:/tmp$ cat newlinefile2.c
#include <stdio.h>
int main(){
fclose(fopen("salt\rpepper", "w+"));
}
[EMAIL PROTECTED]:/tmp$ gcc -o newlinefile newlinefile.c
[EMAIL PROTECTED]:/tmp$ gcc -o newlinefile2 newlinefile2.c
[EMAIL PROTECTED]:/tmp$ ./newlinefile
[EMAIL PROTECTED]:/tmp$ ./newlinefile2
[EMAIL PROTECTED]:/tmp$ ls salt*
salt?pepper salt?pepper
[EMAIL PROTECTED]:/tmp$ ls salt<TAB><TAB>
pepper salt salt^Mpepper
It seems readline handles CR and LF characters correctly in some
instances, but not in others. Is there perhaps an issue here?
** Affects: readline5 (Ubuntu)
Importance: Undecided
Status: New
--
libreadline does not properly handles files containing CR or LF?
https://bugs.launchpad.net/bugs/189216
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs