From dddbfd198a5d9e733eb2999a0b7356976e7fe046 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 3 Dec 2004 06:44:30 +0000 Subject: [PATCH] Add copyright and authorship notice. (AT_FDCWD): Use the same value Solaris 9 uses. --- lib/openat.h | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/lib/openat.h b/lib/openat.h index 5842105..74f5508 100644 --- a/lib/openat.h +++ b/lib/openat.h @@ -1,10 +1,28 @@ +/* provide a replacement openat function + Copyright (C) 2004 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +/* written by Jim Meyering */ + #if HAVE_FCNTL_H # include #endif #ifndef AT_FDCWD -/* FIXME: use the same value Solaris uses */ -# define AT_FDCWD -999 +# define AT_FDCWD (-3041965) /* same value as Solaris 9 */ # ifdef __OPENAT_PREFIX # undef openat -- 2.7.4