From: Jim Meyering Date: Sun, 28 Nov 2004 21:13:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v5.3.0~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69fc7b949d9428f98f93a4491a4dfeebead3baa;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/lib/openat.c b/lib/openat.c index 66da3c82af..a3650f9c60 100644 --- a/lib/openat.c +++ b/lib/openat.c @@ -41,6 +41,7 @@ // int openat (int fildes, const char *path, int oflag, /* mode_t mode */...); /* Replacement for Solaris' openat function. + Simulate it by doing save_cwd/fchdir/open/restore_cwd. If either the fchdir or the restore_cwd fails, then exit nonzero. */ int