Don't emit diagnostics. Let callers do that.
authorJim Meyering <jim@meyering.net>
Mon, 14 Jul 2003 18:54:52 +0000 (18:54 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 14 Jul 2003 18:54:52 +0000 (18:54 +0000)
commit081897eed04715cc273c607f69cc98499cba808d
tree73c3b7c09baebb1af361b54f0bd445e3dff41340
parent521cb5f96a03acba4dd1b3502edff17aa8b52d76
Don't emit diagnostics.  Let callers do that.

Don't include "error.h".
(save_cwd): Don't call error.  Ensure that errno is valid
when returning nonzero.

(restore_cwd): Remove two parameters.
Simplify.  Don't call error upon failure.  Let callers do that.
(save_cwd): Mention that Irix 5.3 has the same problem as SunOS4
when auditing is enabled.  But don't bother updating the #if.
lib/save-cwd.c