** Changed in: editline (Debian)
Status: New = Fix Released
--
editline truncates at 64 characters in batch mode
https://bugs.launchpad.net/bugs/307652
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
** Changed in: editline (Debian)
Status: Unknown = New
--
editline truncates at 64 characters in batch mode
https://bugs.launchpad.net/bugs/307652
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
Looking at the attachments in this bug report, I noticed that fix for
bug, based on debian editline 1.12 base was not flagged as a patch. A
patch contains changes to an Ubuntu package that will resolve a bug and
this attachment is one! Subsequently, I've checked the patch flag for
it. In the
Ok here is a simple program showing the problem.
It is actually the testit.c program distributed with libeditline,
$make
$./run.sh
essentiallty it does
$./testit test.txt
Where test.txt has lines over 64 character long.
Cheers - Mark
** Attachment added: Test program to reproduce
The buffer in editline.c
STATIC char* read_redirected()
is 64 characters long, when it get to the end of 64 characters it does:
if (p == end) {
size += MEM_INC;
p = line = realloc(line, size);
end = p + size;
}
So 'p' which is where it
** Bug watch added: Debian Bug tracker #508640
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508640
** Also affects: editline (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508640
Importance: Unknown
Status: Unknown
--
editline truncates at 64 characters in