From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: .zsh_history bugreport
Date: Tue, 30 Oct 2001 17:36:55 +0000 [thread overview]
Message-ID: <1011030173655.ZM30372@candle.brasslantern.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0110261616050.7802-100000@life.blorf.net>
On Oct 26, 4:29pm, Wayne Davison wrote:
} Subject: Re: .zsh_history bugreport
}
} On Fri, 26 Oct 2001, Bart Schaefer wrote:
} > So if fgets() returns nonzero but buf didn't get any longer, start ==
} > l and (start >= l) is true and so we return -1.
}
} The problem occurs when the buf DOES get longer, even just 1 character
} longer. In this case, the '\0' byte was not at the start of the line,
OK, I concur (though I'm surprised that every one of the assorted binary
files I tried feeding to my version had at least one "\n\0" in it).
16184 probably should go onto the patches branch, too.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2001-10-30 17:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-26 14:26 Stepan Koltsov
2001-10-26 14:54 ` Bart Schaefer
2001-10-26 16:31 ` Stepan Koltsov
2001-10-26 18:26 ` Wayne Davison
2001-10-26 22:51 ` Bart Schaefer
2001-10-26 23:29 ` Wayne Davison
2001-10-30 17:36 ` Bart Schaefer [this message]
2001-10-30 18:25 ` Wayne Davison
2001-10-31 16:38 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1011030173655.ZM30372@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).