* modules/dev-ino: New module.
* modules/cycle-check: Depend on these modules, rather than simply
including their .h files.
(Makefile.am): Don't list cycle-check.[ch] here, now that they're
required via m4/cycle-check.m4.
* modules/same: Depend on new same-inode module, rather than
including same-inode.h.
* modules/chdir-safer: New file.
* m4/dev-ino.m4, m4/same-inode.m4: New files.
2006-08-10 Jim Meyering <jim@meyering.net>
+ * modules/same-inode: New module.
+ * modules/dev-ino: New module.
+ * modules/cycle-check: Depend on these modules, rather than simply
+ including their .h files.
+ (Makefile.am): Don't list cycle-check.[ch] here, now that they're
+ required via m4/cycle-check.m4.
+ * modules/same: Depend on new same-inode module, rather than
+ including same-inode.h.
+ * modules/chdir-safer: New file.
+
* modules/chown (Depends-on): Add stat-macros.
2006-08-10 Eric Blake <ebb9@byu.net>
+2006-08-10 Jim Meyering <jim@meyering.net>
+
+ * dev-ino.m4, same-inode.m4: New files.
+
2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
* argp.m4 (gl_ARGP): Require AC_C_RESTRICT.
--- /dev/null
+#serial 1
+dnl Copyright (C) 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_STRUCT_DEV_INO],
+[
+ AC_LIBSOURCES([dev-ino.h])
+])
--- /dev/null
+#serial 1
+dnl Copyright (C) 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_SAME_INODE],
+[
+ AC_LIBSOURCES([same-inode.h])
+])
--- /dev/null
+Description:
+like chdir, but safer
+
+Files:
+lib/chdir-safer.h
+lib/chdir-safer.c
+m4/chdir-safer.m4
+
+Depends-on:
+same-inode
+stdbool
+
+configure.ac:
+gl_CHDIR_SAFER
+
+Makefile.am:
+
+Include:
+"chdir-safer.h"
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
Files:
lib/cycle-check.c
lib/cycle-check.h
-lib/same-inode.h
-lib/dev-ino.h
+m4/cycle-check.m4
Depends-on:
+dev-ino
+same-inode
stdbool
configure.ac:
Makefile.am:
-lib_SOURCES += cycle-check.c cycle-check.h dev-ino.h same-inode.h
Include:
"cycle-check.h"
--- /dev/null
+Description:
+declare a simple (device, inode) struct
+
+Files:
+lib/dev-ino.h
+m4/dev-ino.m4
+
+Depends-on:
+
+configure.ac:
+gl_STRUCT_DEV_INO
+
+Makefile.am:
+
+Include:
+"dev-ino.h"
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
Files:
lib/same.h
lib/same.c
-lib/same-inode.h
m4/same.m4
Depends-on:
xalloc
error
dirname
+same-inode
stdbool
configure.ac:
--- /dev/null
+Description:
+compare inodes
+
+Files:
+lib/same-inode.h
+m4/same-inode.m4
+
+Depends-on:
+
+configure.ac:
+gl_SAME_INODE
+
+Makefile.am:
+
+Include:
+"same-inode.h"
+
+License:
+LGPL
+
+Maintainer:
+Jim Meyering