2019-07-31 14:59:42 +0100, Pádraig Brady:
> On 26/07/19 08:29, Assaf Gordon wrote:
[...]
> > Some time ago there was a discussion relating to diffuculties of using
> > GNU date's parsing. There was a mention of how using strptime(3) makes
> > parsing explicit and easy.
> >
> > I like that idea,
Hello Paul,
On Mon, Jul 29, 2019 at 06:50:46PM -0500, Paul Eggert wrote:
> On 7/29/19 1:28 AM, Assaf Gordon wrote:
> > + if (rename_errno == ENOTEMPTY || rename_errno == EEXIST)
> > +{
> > + error (0, 0, _("cannot move %s to %s: Target directory not
> > empty"),
> > +
Assaf Gordon wrote:
An explicit error explicitly saying "cannot move", and mention the source and
destination, and also "blames" the target directory seems the most
user-friendly and least ambiguous.
Sure, but that handles only the ENOTEMPTY/EEXIST case. How would you handle the
EDQUOT,
On 8/1/19 12:05 AM, Assaf Gordon wrote:
> Happy to hear your opinion,
+1
Including the full context about an error is essential:
- what did the tool try to do (at that point)?
- what was the problem? (e.g. ENOTEMPTY)
- where was the problem: src or dst?
Thanks & have a nice day,
Berny