From: Simon Josefsson <simon@josefsson.org>
Cc: ding@gnus.org
Subject: Re: nnimap uidvalidity/novcache updates
Date: 09 Oct 2000 17:06:17 +0200 [thread overview]
Message-ID: <iluvgv2uk9i.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <m3itr2yrzx.fsf@hic.hq.spin.de>
Andi Hechtbauer <anti@spin.de> writes:
> Works, but now I'm getting:
>
> File already exists: /home/dir/News/overview/nnimap/srv/grp/943549114/novcache
>
> Once for each group, only the first time I access it.
> Does the upgrade part try to create things twice?
It did, `rename-file' and `copy-file' doesn't return anything useful.
Should be fixed in CVS. Here's the current logic:
(when (and (file-exists-p oldfile) (not (file-exists-p newfile)))
(message "nnimap: Upgrading novcache filename...")
(sit-for 1)
(gnus-make-directory (file-name-directory newfile))
(unless (ignore-errors (rename-file oldfile newfile) t)
(if (ignore-errors (copy-file oldfile newfile) t)
(delete-file oldfile)
(error "Can't rename `%s' to `%s'" oldfile newfile))))
prev parent reply other threads:[~2000-10-09 15:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-09 10:05 Andi Hechtbauer
2000-10-09 12:00 ` Simon Josefsson
2000-10-09 15:05 ` Andi Hechtbauer
2000-10-09 15:06 ` Simon Josefsson [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=iluvgv2uk9i.fsf@barbar.josefsson.org \
--to=simon@josefsson.org \
--cc=ding@gnus.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.
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).