diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-03 06:44:30 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-03 06:44:30 +0000 |
commit | dddbfd198a5d9e733eb2999a0b7356976e7fe046 (patch) | |
tree | 11164921c3d47b1985ceaf7741107837023c394c | |
parent | d2117d918c29227722f3345cbc66d8c9aca71dac (diff) | |
download | coreutils-dddbfd198a5d9e733eb2999a0b7356976e7fe046.tar.xz |
Add copyright and authorship notice.
(AT_FDCWD): Use the same value Solaris 9 uses.
-rw-r--r-- | lib/openat.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/lib/openat.h b/lib/openat.h index 5842105fd..74f5508db 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 <fcntl.h> #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 |