Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 1/1] malloc.3: Remove duplicate _DEFAULT_SOURCE
@ 2020-01-09 15:36 Petr Vorel
  2020-01-10 19:58 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2020-01-09 15:36 UTC (permalink / raw)
  To: linux-man; +Cc: Petr Vorel, Michael Kerrisk

Fixes: d8d701003 ("malloc.3: Since glibc 2.29, realloc() is exposed by
defining _DEFAULT_SOURCE")

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 man3/malloc.3 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/man3/malloc.3 b/man3/malloc.3
index 111e2a067..c3b688ab3 100644
--- a/man3/malloc.3
+++ b/man3/malloc.3
@@ -51,7 +51,6 @@ Feature Test Macro Requirements for glibc (see
 .PP
 .BR reallocarray ():
 .ad l
-_GNU_SOURCE
     Since glibc 2.29:
         _DEFAULT_SOURCE
     Glibc 2.28 and earlier:
-- 
2.24.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] malloc.3: Remove duplicate _DEFAULT_SOURCE
  2020-01-09 15:36 [PATCH 1/1] malloc.3: Remove duplicate _DEFAULT_SOURCE Petr Vorel
@ 2020-01-10 19:58 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-01-10 19:58 UTC (permalink / raw)
  To: Petr Vorel, linux-man; +Cc: mtk.manpages

Hello Petr,

Hello On 1/9/20 4:36 PM, Petr Vorel wrote:
> Fixes: d8d701003 ("malloc.3: Since glibc 2.29, realloc() is exposed by
> defining _DEFAULT_SOURCE")
> 
> Signed-off-by: Petr Vorel <pvorel@suse.cz>

Thanks. Patch applied.

Cheers,

Michael

> ---
>  man3/malloc.3 | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/man3/malloc.3 b/man3/malloc.3
> index 111e2a067..c3b688ab3 100644
> --- a/man3/malloc.3
> +++ b/man3/malloc.3
> @@ -51,7 +51,6 @@ Feature Test Macro Requirements for glibc (see
>  .PP
>  .BR reallocarray ():
>  .ad l
> -_GNU_SOURCE
>      Since glibc 2.29:
>          _DEFAULT_SOURCE
>      Glibc 2.28 and earlier:
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 15:36 [PATCH 1/1] malloc.3: Remove duplicate _DEFAULT_SOURCE Petr Vorel
2020-01-10 19:58 ` Michael Kerrisk (man-pages)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git