bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] save-cwd.c: changed interface


From: Jim Meyering
Subject: [Bug-gnulib] save-cwd.c: changed interface
Date: Sun, 13 Jul 2003 12:24:51 +0200

FYI, I've just changed save_cwd in coreutils/lib/save-cwd.c like this:

        Don't emit diagnostics.  Let callers do that.
        * save-cwd.c: Don't include "error.h".
        (save_cwd): Don't call error.  Ensure that errno is valid
        when returning nonzero.

I see that tar uses it, but that this change will only help tar,
by eliminating an unnecessary diagnostic.

There is another change (older in coreutils): restore_cwd
now takes only one argument.  That too looks like it'd be
simple to adapt to in tar.

I don't know of any other package that uses save-cwd.c.
I'd like to change it in gnulib, too.

Any objections or suggestions?

Jim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]