From: Bruno Haible Date: Mon, 26 Dec 2022 17:12:45 +0000 (+0100) Subject: ctime: Mark as deprecated, not obsolete. (Regression 2022-12-21.) X-Git-Tag: v1.0~1930 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=c50ace880d5d9ba9dd61e63a1ee3ace353eb934a;p=gnulib.git ctime: Mark as deprecated, not obsolete. (Regression 2022-12-21.) * modules/ctime (Status): Remove. (Notice): Say that it is deprecated, not obsolete. --- diff --git a/ChangeLog b/ChangeLog index 8a8ef2c82e..b4f752c448 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-12-26 Bruno Haible + + 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 largefile: sync from Autoconf master diff --git a/modules/ctime b/modules/ctime index 2a602dc2c3..08cc532986 100644 --- a/modules/ctime +++ b/modules/ctime @@ -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