summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-27 02:10:01 +0000
committerRoland McGrath <roland@gnu.org>2002-08-27 02:10:01 +0000
commit20acbc25428bb7c9a78de37236285a09108da313 (patch)
tree5a9d6f3918a16fcc41bf8925e55fc32dc71b2836 /misc
parentd387cc3fffa54bd0649f439e792b42b38e469c48 (diff)
downloadglibc-20acbc25428bb7c9a78de37236285a09108da313.tar.gz
glibc-20acbc25428bb7c9a78de37236285a09108da313.tar.xz
glibc-20acbc25428bb7c9a78de37236285a09108da313.zip
* time/sys/time.h [__USE_BSD] (lutimes, futimes): Declare them.
	* manual/filesys.texi (File Times): Document lutimes and futimes.
	* misc/Makefile (routines): Add them.
	* misc/Versions (libc: GLIBC_2.3): Likewise.
	* sysdeps/generic/lutimes.c: New file.
	* sysdeps/generic/futimes.c: New file.
	* sysdeps/mach/hurd/lutimes.c: New file.
	* sysdeps/mach/hurd/futimes.c: New file.

	* manual/filesys.texi (File Times): Add explicit note about null
	pointer argument to utimes.

2002-08-26  Roland McGrath  <roland@frob.com>

	* sysdeps/mach/hurd/ifreq.h (__if_freereq): Add missing semicolon.
	(__ifreq): Add a cast.  Remove an unused variable.

	* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
	_HURD_THREADVAR_LOCALE.
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile2
-rw-r--r--misc/Versions2
2 files changed, 3 insertions, 1 deletions
diff --git a/misc/Makefile b/misc/Makefile
index b9c5ee6228..ce037bac13 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -47,7 +47,7 @@ routines := brk sbrk sstk ioctl \
 	    gtty stty \
 	    ptrace \
 	    fstab mntent mntent_r \
-	    utimes \
+	    utimes lutimes futimes \
 	    truncate ftruncate truncate64 ftruncate64 \
 	    chflags fchflags \
 	    insremque getttyent getusershell getpass ttyslot \
diff --git a/misc/Versions b/misc/Versions
index 477b1b076c..08834ca0a1 100644
--- a/misc/Versions
+++ b/misc/Versions
@@ -111,6 +111,7 @@ libc {
   GLIBC_2.3 {
     # f*
     fgetxattr; flistxattr; fremovexattr; fsetxattr;
+    futimes;
 
     # g*
     getxattr;
@@ -118,6 +119,7 @@ libc {
     # l*
     listxattr;
     lgetxattr; llistxattr; lremovexattr; lsetxattr;
+    lutimes;
 
     # r*
     removexattr;