Mercurial > hg > octave-shane > gnulib-hg
annotate lib/lstat.c @ 4554:5a1e7c84e9cd
Use three spaces, rather than tab, after '#'
in shell-script copyright notices.
Suggested by Bruno Haible.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 15 Aug 2003 18:04:34 +0000 |
parents | f1650b772bb6 |
children | a48fb0e98c8c |
rev | line source |
---|---|
4061
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
1 /* Work around the bug in some systems whereby lstat succeeds when |
4474
f1650b772bb6
Correct SunOS and Solaris version number notation to match Sun's usage.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4061
diff
changeset
|
2 given the zero-length file name argument. The lstat from SunOS 4.1.4 |
4061
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
3 has this bug. |
4474
f1650b772bb6
Correct SunOS and Solaris version number notation to match Sun's usage.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4061
diff
changeset
|
4 |
f1650b772bb6
Correct SunOS and Solaris version number notation to match Sun's usage.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4061
diff
changeset
|
5 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free |
f1650b772bb6
Correct SunOS and Solaris version number notation to match Sun's usage.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4061
diff
changeset
|
6 Software Foundation, Inc. |
4061
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
7 |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
8 This program is free software; you can redistribute it and/or modify |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
9 it under the terms of the GNU General Public License as published by |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
10 the Free Software Foundation; either version 2, or (at your option) |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
11 any later version. |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
12 |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
13 This program is distributed in the hope that it will be useful, |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
16 GNU General Public License for more details. |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
17 |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
19 along with this program; if not, write to the Free Software Foundation, |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
20 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
21 |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
22 #define LSTAT |
b8665a9e1ed0
New file. Simply #define LSTAT and include stat.c.
Jim Meyering <jim@meyering.net>
parents:
diff
changeset
|
23 #include "stat.c" |