Your message dated Tue, 17 Jun 2008 18:42:33 +1000 with message-id <[EMAIL PROTECTED]> has caused the report #358164, regarding libedit2: adding \n incrementally with read/write history to be marked as having been forwarded to the upstream software author(s) Christos Zoulas <[EMAIL PROTECTED]>
(NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 358164: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358164 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---On Tue, Mar 21, 2006 at 09:45:50PM +0900, Akira TAGOH wrote: >Package: libedit2 >Version: 2.9.cvs.20050518-2.2 >Severity: normal > >a linefeed is always increased whenever >read_history/write_history is invoked. please try an >attached code. on GNU readline, foo.his has only "input >word" in the line. but on libedit, three \012 will be added >after "input word" so that read_history/write_history is >invoked three times intentionally. > >-- System Information: >Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') >Architecture: i386 (i686) >Shell: /bin/sh linked to /bin/bash >Kernel: Linux 2.6.15.6 >Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) > >Versions of packages libedit2 depends on: >ii libc6 2.3.6-3 GNU C Library: Shared libraries an >ii libncurses5 5.5-1 Shared libraries for terminal hand > >libedit2 recommends no packages. > >-- no debconf information > >#include <editline/readline.h> > >int >main(void) >{ > char *foo = NULL; > > foo = readline("input something:"); > add_history(foo); > write_history("foo.his"); > clear_history(); > read_history("foo.his"); > foo = readline("input ctrl+d:"); > write_history("foo.his"); > clear_history(); > read_history("foo.his"); > foo = readline("input ctrl+d:"); > write_history("foo.his"); > clear_history(); > read_history("foo.his"); > foo = readline("input ctrl+d:"); > write_history("foo.his"); > > return 0; >} Hello Christos, I packaged the lastest NetBSD sources of the the debian libedit package. The current debian version of libedit is 2.11~20080614-1. With the latest version of libedit I can reproduce the bug reported by Akira TAGOH. Could you please have a look at this bug report. Its webpage is at: http://bugs.debian.org/358164 Thank you, AnĂbal
signature.asc
Description: Digital signature
--- End Message ---

