[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now
From: |
Jim Meyering |
Subject: |
[PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now |
Date: |
Fri, 09 Apr 2010 10:47:58 +0200 |
I'm marking ftruncate as obsolete, prior to removing it altogether.
I am removing the few uses from coreutils, too.
It's been in mingw for quite a while:
$ cvs log mingwex/ftruncate.c
RCS file: /cvs/src/src/winsup/mingw/mingwex/ftruncate.c,v
Working file: mingwex/ftruncate.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
cygwin-1_7_4-release: 1.1
cygwin-1_7_3-release: 1.1
cygwin-1_7_2-release: 1.1
cygwin-1_7_1-release: 1.1
cv-branch-2: 1.1.0.8
cr-0x5f1: 1.1.0.6
cv-branch: 1.1.0.4
cr-0x3b58: 1.1.0.2
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
----------------------------
revision 1.1
date: 2004/07/11 10:01:41; author: dannysmith; state: Exp;
* include/unistd.h (ftruncate): Add inline definition.
* mingwex/ftruncate.c: New file.
* mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
=============================================================================
>From 950f3469e4c332f03e07124f2a591a62a65ed322 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 9 Apr 2010 10:44:23 +0200
Subject: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now
* modules/ftruncate (Status): Obsolete.
(Notice): Say that.
* doc/posix-functions/ftruncate.texi: Don't say MinGW lacks it.
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/9203
---
ChangeLog | 8 ++++++++
doc/posix-functions/ftruncate.texi | 3 ---
modules/ftruncate | 7 ++++++-
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8c80d6a..87d103b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-04-09 Jim Meyering <address@hidden>
+
+ ftruncate: mark module as obsolete; even MinGW provides it, now
+ * modules/ftruncate (Status): Obsolete.
+ (Notice): Say that.
+ * doc/posix-functions/ftruncate.texi: Don't say MinGW lacks it.
+ http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/9203
+
2010-04-08 Bruno Haible <address@hidden>
Fix side effects from tests-related modules.
diff --git a/doc/posix-functions/ftruncate.texi
b/doc/posix-functions/ftruncate.texi
index a902505..607d52d 100644
--- a/doc/posix-functions/ftruncate.texi
+++ b/doc/posix-functions/ftruncate.texi
@@ -8,9 +8,6 @@ ftruncate
Portability problems fixed by Gnulib:
@itemize
address@hidden
-This function is missing on some platforms:
-mingw.
@end itemize
Portability problems not fixed by Gnulib:
diff --git a/modules/ftruncate b/modules/ftruncate
index a90be6c..e8aec5d 100644
--- a/modules/ftruncate
+++ b/modules/ftruncate
@@ -1,6 +1,12 @@
Description:
ftruncate() function: truncate an open file to a specified length.
+Status:
+obsolete
+
+Notice:
+This module is obsolete.
+
Files:
lib/ftruncate.c
m4/ftruncate.m4
@@ -22,4 +28,3 @@ GPL
Maintainer:
Jim Meyering
-
--
1.7.1.rc0.239.g8b27e
- [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now,
Jim Meyering <=
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Bruno Haible, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Paolo Bonzini, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Jim Meyering, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Paolo Bonzini, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Jim Meyering, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Paolo Bonzini, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, John W. Eaton, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Jim Meyering, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, John W. Eaton, 2010/04/27
- Re: <dirent.h> on msvc, Bruno Haible, 2010/04/27