bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] maint: remove stray .texi files


From: Paul Eggert
Subject: [PATCH 1/2] maint: remove stray .texi files
Date: Mon, 9 Jan 2017 11:58:23 -0800

Although these were superseded by other files like
doc/posix-functions/ctime.texi, the old files were not removed.
* doc/ctime.texi, doc/inet_ntoa.texi: Remove.
---
 ChangeLog          |  7 +++++++
 doc/ctime.texi     | 30 ------------------------------
 doc/inet_ntoa.texi | 22 ----------------------
 3 files changed, 7 insertions(+), 52 deletions(-)
 delete mode 100644 doc/ctime.texi
 delete mode 100644 doc/inet_ntoa.texi

diff --git a/ChangeLog b/ChangeLog
index 0d60422..ed9d346 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-01-09  Paul Eggert  <address@hidden>
+
+       maint: remove stray .texi files
+       Although these were superseded by other files like
+       doc/posix-functions/ctime.texi, the old files were not removed.
+       * doc/ctime.texi, doc/inet_ntoa.texi: Remove.
+
 2017-01-08  Paul Eggert  <address@hidden>
 
        getprogname: fix port to IRIX
diff --git a/doc/ctime.texi b/doc/ctime.texi
deleted file mode 100644
index 1354c6c..0000000
--- a/doc/ctime.texi
+++ /dev/null
@@ -1,30 +0,0 @@
address@hidden ctime
address@hidden ctime
address@hidden ctime
-
address@hidden Copyright (C) 2005, 2009-2017 Free Software Foundation, Inc.
-
address@hidden Permission is granted to copy, distribute and/or modify this 
document
address@hidden under the terms of the GNU Free Documentation License, Version 
1.3 or
address@hidden any later version published by the Free Software Foundation; 
with no
address@hidden Invariant Sections, no Front-Cover Texts, and no Back-Cover
address@hidden Texts.  A copy of the license is included in the ``GNU Free
address@hidden Documentation License'' file as part of this distribution.
-
-The @code{ctime} function need not be reentrant, and consequently is
-not required to be thread safe.  Implementations of @code{ctime}
-typically write the time stamp into static buffer.  If two threads
-call @code{ctime} at roughly the same time, you might end up with the
-wrong date in one of the threads, or some undefined string.  There is
-a re-entrant interface @code{ctime_r}, that take a pre-allocated
-buffer and length of the buffer, and return @code{NULL} on errors.
-The input buffer should be at least 26 bytes in size.  The output
-string is locale-independent.  However, years can have more than 4
-digits if @code{time_t} is sufficiently wide, so the length of the
-required output buffer is not easy to determine.  Increasing the
-buffer size when @code{ctime_r} return @code{NULL} is not necessarily
-sufficient. The @code{NULL} return value could mean some other error
-condition, which will not go away by increasing the buffer size.
-
-A more flexible function is @code{strftime}.  However, note that it is
-locale dependent.
diff --git a/doc/inet_ntoa.texi b/doc/inet_ntoa.texi
deleted file mode 100644
index 9db025f..0000000
--- a/doc/inet_ntoa.texi
+++ /dev/null
@@ -1,22 +0,0 @@
address@hidden inet_ntoa
address@hidden inet_ntoa
address@hidden inet_ntoa
-
address@hidden Copyright (C) 2005, 2009-2017 Free Software Foundation, Inc.
-
address@hidden Permission is granted to copy, distribute and/or modify this 
document
address@hidden under the terms of the GNU Free Documentation License, Version 
1.3 or
address@hidden any later version published by the Free Software Foundation; 
with no
address@hidden Invariant Sections, no Front-Cover Texts, and no Back-Cover
address@hidden Texts.  A copy of the license is included in the ``GNU Free
address@hidden Documentation License'' file as part of this distribution.
-
-The @code{inet_ntoa} function need not be reentrant, and consequently
-is not required to be thread safe.  Implementations of
address@hidden typically write the time stamp into static buffer.
-If two threads call @code{inet_ntoa} at roughly the same time, you
-might end up with the wrong date in one of the threads, or some
-undefined string.  Further, @code{inet_ntoa} is specific for
-IPv4 addresses.
-
-A protocol independent function is @code{inet_ntop}.
-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]