Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Unable to read history on latest Cygwin
- X-seq: zsh-users 14658
- From: Wayne Davison <4wayned@xxxxxxxxx>
- To: "Peter A. Castro" <doctor@xxxxxxxxxxxx>
- Subject: Re: Unable to read history on latest Cygwin
- Date: Thu, 17 Dec 2009 11:19:38 -0800
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=CR6KCM/a5nChjnTfRvo1e6xk+lnAtlPjjT2kolLvMPU=; b=aR2s4do/QZUHLARiQT6pB7DtK8h3VP+vRrgH6vRvGzNh+sLgpBHAg6v2yIC+Hbgmse YunGkzDBrWehZDDswe+x/hLigY1GZX4lqFYUGxeYTzLoZFcrIfurWHWa0Cn8AcDlHnff R6nH9q5EQbD/psoXC7P3ON7jzldP2mYi/KifI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mgkbuevHBd7/gc49Ubv9O0IAGeZ72iPinr+7tUQXKNa/6pEkhsuYv65nqnxn7IWXq5 8my7e+MSSpOfDOdBOk1BY5iTqwg5ZBxI/X3sYEV7G/wsEyMV/X+KH3EOUIRxE9NKu15n pqZy9lmhIOO/xTN+1kbyCnhnkTpu73SB04PRI=
- In-reply-to: <Pine.LNX.4.64.0912162357250.19572@xxxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1260800369.32429.1350005931@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <733654e30912160754q5e505cabo4a2510b41bf1d892@xxxxxxxxxxxxxx> <Pine.LNX.4.64.0912162357250.19572@xxxxxxxxxxxxxxxxxxxx>
On Thu, Dec 17, 2009 at 12:04 AM, Peter A. Castro <doctor@xxxxxxxxxxxx>wrote:
> Hmm...atomic in the sense that the open vectors through the symlink to the
> real file?
>
No, atomic as in no two people can think they were successful in creating it
-- one must succeed, and everyone else must fail. A file created
*without*O_EXCL succeeds for everyone, but sadly, O_EXCL does not
always work
correctly (e.g. older NFS don't always support it). Thus, what matters is if
the chosen idiom can safely be used as a single-success locking method or
not. For O_EXCL, cygwin just needs to have implemented that right. For
symlinks, it will depend on how the creating of the (symlink-emulating) file
is created in the cygwin code.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author