Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2017 21:21:14 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r319663 - head/lib/libc/sys
Message-ID:  <201706072121.v57LLEH2001634@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Wed Jun  7 21:21:14 2017
New Revision: 319663
URL: https://svnweb.freebsd.org/changeset/base/319663

Log:
  libc: Remove futimens() and utimensat() compat stubs.
  
  The futimens() and utimensat() compat stubs allowed using these functions on
  kernels that did not have the system calls yet (10.2, old 11-current).
  
  Also remove the documentation of the [ENOTSUP] error that could occur with
  an old kernel.
  
  A -DNO_CLEAN build may fail because the depend files refer to the deleted
  files.

Deleted:
  head/lib/libc/sys/futimens.c
  head/lib/libc/sys/utimensat.c
Modified:
  head/lib/libc/sys/Makefile.inc
  head/lib/libc/sys/utimensat.2

Modified: head/lib/libc/sys/Makefile.inc
==============================================================================
--- head/lib/libc/sys/Makefile.inc	Wed Jun  7 21:18:28 2017	(r319662)
+++ head/lib/libc/sys/Makefile.inc	Wed Jun  7 21:21:14 2017	(r319663)
@@ -37,10 +37,6 @@ SRCS+=	\
 
 SRCS+= getdents.c lstat.c mknod.c stat.c
 
-SRCS+= futimens.c utimensat.c
-NOASM+= futimens.o utimensat.o
-PSEUDO+= _futimens.o _utimensat.o
-
 SRCS+= pipe.c
 
 INTERPOSED = \

Modified: head/lib/libc/sys/utimensat.2
==============================================================================
--- head/lib/libc/sys/utimensat.2	Wed Jun  7 21:18:28 2017	(r319662)
+++ head/lib/libc/sys/utimensat.2	Wed Jun  7 21:21:14 2017	(r319663)
@@ -31,7 +31,7 @@
 .\"     @(#)utimes.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd January 17, 2016
+.Dd June 7, 2017
 .Dt UTIMENSAT 2
 .Os
 .Sh NAME
@@ -267,10 +267,6 @@ argument is not an absolute path and
 is neither
 .Dv AT_FDCWD
 nor a file descriptor associated with a directory.
-.It Bq Er ENOTSUP
-The running kernel does not support this system call and
-.Dv AT_SYMLINK_NOFOLLOW
-is used with a path relative to a file descriptor.
 .El
 .Sh SEE ALSO
 .Xr chflags 2 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706072121.v57LLEH2001634>