From: Bruno Haible Date: Tue, 27 Aug 2024 21:11:26 +0000 (+0200) Subject: bcopy: Deprecate module. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=13a1ce5965091a7407a5062425389d9ec52aaf1c;p=gnulib.git bcopy: Deprecate module. * modules/bcopy (Status, Notice): Mark as deprecated. * doc/pastposix-functions/bcopy.texi: Mention that this module does not declare bcopy(). --- diff --git a/ChangeLog b/ChangeLog index 9530f25a61..92c89efae3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-08-27 Bruno Haible + + bcopy: Deprecate module. + * modules/bcopy (Status, Notice): Mark as deprecated. + * doc/pastposix-functions/bcopy.texi: Mention that this module does not + declare bcopy(). + 2024-08-27 Bruno Haible simple-atomic: Fix a clang warning on native Windows. diff --git a/doc/pastposix-functions/bcopy.texi b/doc/pastposix-functions/bcopy.texi index 73ab4ea24f..c4676d9013 100644 --- a/doc/pastposix-functions/bcopy.texi +++ b/doc/pastposix-functions/bcopy.texi @@ -19,4 +19,6 @@ Portability problems not fixed by Gnulib: @item This function is removed in POSIX.1-2008. Better use @code{memcpy} or @code{memmove} instead. +@item +This module does not arrange to declare this function. @end itemize diff --git a/modules/bcopy b/modules/bcopy index d4a2bb93b7..146fb90c6a 100644 --- a/modules/bcopy +++ b/modules/bcopy @@ -1,6 +1,12 @@ Description: Old BSD bcopy() function: copy memory area. +Status: +deprecated + +Notice: +This module is deprecated because the standard way to copy memory is memcpy(). + Files: lib/bcopy.c