From c50ace880d5d9ba9dd61e63a1ee3ace353eb934a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 26 Dec 2022 18:12:45 +0100 Subject: [PATCH] ctime: Mark as deprecated, not obsolete. (Regression 2022-12-21.) * modules/ctime (Status): Remove. (Notice): Say that it is deprecated, not obsolete. --- ChangeLog | 6 ++++++ modules/ctime | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) 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 -- 2.39.5