summaryrefslogtreecommitdiff
path: root/w32/compat
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-02-11 19:02:21 +0000
committerPaul Smith <psmith@gnu.org>2006-02-11 19:02:21 +0000
commit586daef9bcbefc234734ea3fc49da4db2083e723 (patch)
tree2d9bac3a1a01368741383f61c6a6b78140943c04 /w32/compat
parent5a7a42cfce638f52f702b4d317c45c7186b8c0b4 (diff)
downloadgunmake-586daef9bcbefc234734ea3fc49da4db2083e723.tar.gz
Update copyright and license notices on all files.
Added new file strcache.c to various non-UNIX makefiles and build scripts.
Diffstat (limited to 'w32/compat')
-rw-r--r--w32/compat/dirent.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/w32/compat/dirent.c b/w32/compat/dirent.c
index db871a9..d418b8f 100644
--- a/w32/compat/dirent.c
+++ b/w32/compat/dirent.c
@@ -1,3 +1,21 @@
+/* Directory entry code for Window platforms.
+Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
+1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+This file is part of GNU Make.
+
+GNU Make 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.
+
+GNU Make 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
+GNU Make; see the file COPYING. If not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
+
+
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
@@ -57,7 +75,7 @@ opendir(const char* pDirName)
/* other values defaulted */
pDir->dir_nNumFiles = 0;
- pDir->dir_hDirHandle = INVALID_HANDLE_VALUE;
+ pDir->dir_hDirHandle = INVALID_HANDLE_VALUE;
pDir->dir_ulCookie = __DIRENT_COOKIE;
return pDir;