From 3b862e9a9ce59d5dbf0177b9eb293109fde6bf36 Mon Sep 17 00:00:00 2001 From: "Roger A. Faulkner" Date: Tue, 1 Sep 2009 15:37:22 -0700 Subject: PSARC 2009/453 futimens, utimensat 6815302 Implement futimens, utimensat(POSIX.1-2008) -set file modification times with nanosecond granularity 6539657 touch(1) does not set the nanosecond timestamp of a file correctly --- usr/src/lib/libc/common/sys/utime.s | 43 ------------------------------------ usr/src/lib/libc/common/sys/utimes.s | 39 -------------------------------- 2 files changed, 82 deletions(-) delete mode 100644 usr/src/lib/libc/common/sys/utime.s delete mode 100644 usr/src/lib/libc/common/sys/utimes.s (limited to 'usr/src/lib/libc/common/sys') diff --git a/usr/src/lib/libc/common/sys/utime.s b/usr/src/lib/libc/common/sys/utime.s deleted file mode 100644 index 34d10f97b6..0000000000 --- a/usr/src/lib/libc/common/sys/utime.s +++ /dev/null @@ -1,43 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License (the "License"). - * You may not use this file except in compliance with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ -/* Copyright (c) 1988 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - - .file "utime.s" - -/* C library -- utime */ -/* int utime (const char *path, const struct utimbuf *times); */ - -#include - - ANSI_PRAGMA_WEAK(utime,function) - -#include "SYS.h" - - SYSCALL_RVAL1(utime) - RETC - SET_SIZE(utime) diff --git a/usr/src/lib/libc/common/sys/utimes.s b/usr/src/lib/libc/common/sys/utimes.s deleted file mode 100644 index 95f5e27a12..0000000000 --- a/usr/src/lib/libc/common/sys/utimes.s +++ /dev/null @@ -1,39 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License (the "License"). - * You may not use this file except in compliance with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ - -/* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -/* Copyright (c) 1988 AT&T */ -/* All Rights Reserved */ - - .file "utimes.s" - -/* C library -- utimes */ -/* int utimes (const char *path, const struct timeval *times); */ - -#include "SYS.h" - - SYSCALL_RVAL1(utimes) - RETC - SET_SIZE(utimes) -- cgit v1.2.3