zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <Peter.Stephenson@csr.com>
To: zsh-workers@zsh.org
Subject: Re: zsh doesn't load HISTFILE from readonly directory
Date: Tue, 22 Jun 2010 12:02:42 +0100	[thread overview]
Message-ID: <20100622120242.20875de4@csr.com> (raw)
In-Reply-To: <20100617170730.63c0bcde@csr.com>

On Thu, 17 Jun 2010 17:07:30 +0100
Peter Stephenson <Peter.Stephenson@csr.com> wrote:
> > > Or should
> > > we simply issue a warning when and continue any time we can't lock
> > > the file?
> > 
> > So, as long as we narrow this to make a check for why we couldn't
> > create the lock (EACCES in this case) maybe this is the right way to
> > go after all?
> > 
> > We still need to decide when we should print an error.  I would be
> > tempted to do it every time.
> 
> This prints an error when fc fails, but not when interactive history
> fails.  It probably wants careful looking over:  note the change of
> meaning in return values from file locking.

I've committed this, so watch for oddities to do with history reading and
writing.

(I also committed a change to _zstyle by mistake which is harmless but
currently useless.  It should become more useful after I post some new
shell functions.)

-- 
Peter Stephenson <pws@csr.com>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom


      reply	other threads:[~2010-06-22 11:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-13 13:17 Jörg Sommer
2010-06-14 14:05 ` Peter Stephenson
2010-06-14 14:16   ` Peter Stephenson
2010-06-17 16:07     ` Peter Stephenson
2010-06-22 11:02       ` Peter Stephenson [this message]

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=20100622120242.20875de4@csr.com \
    --to=peter.stephenson@csr.com \
    --cc=zsh-workers@zsh.org \
    /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).