zsh-users
 help / color / mirror / code / Atom feed
From: Mark Borges <mdb@cdc.noaa.gov>
To: duvall@dhduvall.student.Princeton.EDU
Cc: zsh-users@math.gatech.edu
Subject: Re: appendhistory and history file truncation
Date: Sat, 21 Oct 1995 09:27:24 -0600	[thread overview]
Message-ID: <9510211527.AA20687@charney.cdc.noaa.gov> (raw)
In-Reply-To: <199510210758.DAA01183@dhduvall.student.Princeton.EDU>

>> On Sat, 21 Oct 1995 03:58:32 -0400,
>> Danek Duvall(DD) wrote:
DD> I'm having a problem wherein whenever I start up an invocation of zsh
DD> (2.6 beta10), my history file gets wiped.  It doesn't happen when
DD> NO_RCS is set (if I do zsh -f).  It seems that even though
DD> APPENDHISTORY is set, savehistfile() ends up opening the file mode
DD> O_TRUNC on line 1471 of hist.c (at least, I think this is the
DD> culprit).  Perhaps this line should be rewritten as the block in lines
DD> 1420-1423.

DD> I checked beta11-test10, and it hasn't been fixed.

Zoltan and Peter have sent fixes for this in

	archive/latest/373 (also in 337)
	archive/latest/376 

respectively.

Please try to incorparate these in beta11, Richard. For those of us
who are exec'ing the latest betas out of a startup script it's very
unpleasant to lose your history each time you log in. It's very
difficult to do my real work without history, consequently I haven't
been stress testing the baseline betas since this bug appeared.

  -mb-


  reply	other threads:[~1995-10-21 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-21  7:58 Danek Duvall
1995-10-21 15:27 ` Mark Borges [this message]
1995-10-22  6:14   ` Zvi Har'El
1995-10-22 23:45     ` Zoltan Hidvegi
1995-10-22 10:31 ` Zvi Har'El

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=9510211527.AA20687@charney.cdc.noaa.gov \
    --to=mdb@cdc.noaa.gov \
    --cc=duvall@dhduvall.student.Princeton.EDU \
    --cc=zsh-users@math.gatech.edu \
    /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).