public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27529] New: posix_spawn(3) should be using restrict
@ 2021-03-05 23:01 alx.manpages at gmail dot com
2021-03-06 7:37 ` [Bug libc/27529] " schwab@linux-m68k.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: alx.manpages at gmail dot com @ 2021-03-05 23:01 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27529
Bug ID: 27529
Summary: posix_spawn(3) should be using restrict
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: alx.manpages at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
POSIX.1 uses 'restrict':
[
SYNOPSIS
#include <spawn.h>
int posix_spawnp(pid_t *restrict pid, const char *restrict file,
const posix_spawn_file_actions_t *file_actions,
const posix_spawnattr_t *restrict attrp,
char *const argv[restrict], char *const envp[restrict]);
] [man 3p posix_spawnp]
Curiously, the almost identical posix_spawn(3) is using 'restrict' in glibc:
============================= posix_spawn
posix/spawn.h:72:
int posix_spawn (pid_t *restrict pid,
const char *restrict path,
const posix_spawn_file_actions_t *restrict
file_actions,
const posix_spawnattr_t *restrict attrp,
char *const argv[restrict_arr],
char *const envp[restrict_arr])
nonnull ((2, 5));
============================= posix_spawnp
posix/spawn.h:85:
int posix_spawnp (pid_t *pid, const char *file,
const posix_spawn_file_actions_t *file_actions,
const posix_spawnattr_t *attrp,
char *const argv[], char *const envp[])
nonnull ((2, 5));
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/27529] posix_spawn(3) should be using restrict
2021-03-05 23:01 [Bug libc/27529] New: posix_spawn(3) should be using restrict alx.manpages at gmail dot com
@ 2021-03-06 7:37 ` schwab@linux-m68k.org
2021-03-06 13:09 ` [Bug libc/27529] posix_spawnp(3) " alx.manpages at gmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2021-03-06 7:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27529
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Is this about posix_spawn or posix_spawnp?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/27529] posix_spawnp(3) should be using restrict
2021-03-05 23:01 [Bug libc/27529] New: posix_spawn(3) should be using restrict alx.manpages at gmail dot com
2021-03-06 7:37 ` [Bug libc/27529] " schwab@linux-m68k.org
@ 2021-03-06 13:09 ` alx.manpages at gmail dot com
2021-03-06 13:10 ` alx.manpages at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: alx.manpages at gmail dot com @ 2021-03-06 13:09 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27529
Alejandro Colomar (man-pages) <alx.manpages at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|posix_spawn(3) should be |posix_spawnp(3) should be
|using restrict |using restrict
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/27529] posix_spawnp(3) should be using restrict
2021-03-05 23:01 [Bug libc/27529] New: posix_spawn(3) should be using restrict alx.manpages at gmail dot com
2021-03-06 7:37 ` [Bug libc/27529] " schwab@linux-m68k.org
2021-03-06 13:09 ` [Bug libc/27529] posix_spawnp(3) " alx.manpages at gmail dot com
@ 2021-03-06 13:10 ` alx.manpages at gmail dot com
2021-03-06 14:09 ` schwab@linux-m68k.org
2021-03-19 23:16 ` alx.manpages at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: alx.manpages at gmail dot com @ 2021-03-06 13:10 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27529
--- Comment #2 from Alejandro Colomar (man-pages) <alx.manpages at gmail dot com> ---
Ahhh, yes. It was a typo.
This is about posix_spawnp().
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/27529] posix_spawnp(3) should be using restrict
2021-03-05 23:01 [Bug libc/27529] New: posix_spawn(3) should be using restrict alx.manpages at gmail dot com
` (2 preceding siblings ...)
2021-03-06 13:10 ` alx.manpages at gmail dot com
@ 2021-03-06 14:09 ` schwab@linux-m68k.org
2021-03-19 23:16 ` alx.manpages at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2021-03-06 14:09 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27529
--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
commit bf6590a0d5
Author: Ulrich Drepper <drepper@redhat.com>
Date: Mon Aug 21 06:48:03 2000 +0000
Add restrict where required by AGd4.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/27529] posix_spawnp(3) should be using restrict
2021-03-05 23:01 [Bug libc/27529] New: posix_spawn(3) should be using restrict alx.manpages at gmail dot com
` (3 preceding siblings ...)
2021-03-06 14:09 ` schwab@linux-m68k.org
@ 2021-03-19 23:16 ` alx.manpages at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: alx.manpages at gmail dot com @ 2021-03-19 23:16 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27529
--- Comment #4 from Alejandro Colomar (man-pages) <alx.manpages at gmail dot com> ---
What is AGd4?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-03-19 23:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 23:01 [Bug libc/27529] New: posix_spawn(3) should be using restrict alx.manpages at gmail dot com
2021-03-06 7:37 ` [Bug libc/27529] " schwab@linux-m68k.org
2021-03-06 13:09 ` [Bug libc/27529] posix_spawnp(3) " alx.manpages at gmail dot com
2021-03-06 13:10 ` alx.manpages at gmail dot com
2021-03-06 14:09 ` schwab@linux-m68k.org
2021-03-19 23:16 ` alx.manpages at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).