summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-19 16:42:45 +0000
committerJim Meyering <jim@meyering.net>2003-01-19 16:42:45 +0000
commit73af65ef562e72fb9e92f9bac9dbaaf13a778d41 (patch)
tree3f4f7e41ef9bb38a83f4942e24a2260a643cc1fb /lib
parent1fab123c3cbaeccf6c091d250d72e7b990105e4d (diff)
downloadcoreutils-73af65ef562e72fb9e92f9bac9dbaaf13a778d41.tar.xz
Include config.h.
Add copyright.
Diffstat (limited to 'lib')
-rw-r--r--lib/cycle-check.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/cycle-check.c b/lib/cycle-check.c
index 403dc1615..fb1746fcf 100644
--- a/lib/cycle-check.c
+++ b/lib/cycle-check.c
@@ -1,3 +1,27 @@
+/* help detect directory cycles efficiently
+ Copyright 2003 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; see the file COPYING.
+ If not, write to the Free Software Foundation,
+ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+/* Written by Jim Meyering */
+
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>