]> Savannah Git Hosting - gnulib.git/commitdiff
ctime: Mark as deprecated, not obsolete. (Regression 2022-12-21.)
authorBruno Haible <bruno@clisp.org>
Mon, 26 Dec 2022 17:12:45 +0000 (18:12 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 26 Dec 2022 17:12:45 +0000 (18:12 +0100)
* modules/ctime (Status): Remove.
(Notice): Say that it is deprecated, not obsolete.

ChangeLog
modules/ctime

index 8a8ef2c82ee9406a4b8ec0b82bcf0c99c7af3eed..b4f752c448cc56e0fbf908cdf586d6370c3bf35d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-12-26  Bruno Haible  <bruno@clisp.org>
+
+       ctime: Mark as deprecated, not obsolete. (Regression 2022-12-21.)
+       * modules/ctime (Status): Remove.
+       (Notice): Say that it is deprecated, not obsolete.
+
 2022-12-25  Paul Eggert  <eggert@cs.ucla.edu>
 
        largefile: sync from Autoconf master
index 2a602dc2c3bdc9ea91763df848b4c032a02a721c..08cc532986b924ad86f361ef396a80be2ea3fea0 100644 (file)
@@ -1,11 +1,9 @@
 Description:
 ctime() function: convert time to string.
 
-Status:
-obsolete
-
 Notice:
-This module is obsolete.
+The function 'ctime' is deprecated.
+New code should use 'localtime_r' and 'strftime' (or even 'sprintf') instead.
 
 Files:
 lib/ctime.c