public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* Issue in man page execve.2
@ 2023-11-01 14:02 Helge Kreutzmann
  2023-11-01 15:27 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: Helge Kreutzmann @ 2023-11-01 14:02 UTC (permalink / raw)
  To: alx.manpages; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    NULL pointer → NULL

"I<argv> is an array of pointers to strings passed to the new program as its "
"command-line arguments.  By convention, the first of these strings (i.e., "
"I<argv[0]>)  should contain the filename associated with the file being "
"executed.  The I<argv> array must be terminated by a NULL pointer.  (Thus, "
"in the new program, I<argv[argc]> will be NULL.)"

"I<envp> is an array of pointers to strings, conventionally of the form "
"B<key=value>, which are passed as the environment of the new program.  The "
"I<envp> array must be terminated by a NULL pointer."

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

* Re: Issue in man page execve.2
  2023-11-01 14:02 Issue in man page execve.2 Helge Kreutzmann
@ 2023-11-01 15:27 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2023-11-01 15:27 UTC (permalink / raw)
  To: Helge Kreutzmann; +Cc: mario.blaettermann, linux-man

[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]

Hi Helge,

On Wed, Nov 01, 2023 at 02:02:10PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    NULL pointer → NULL

Thanks for the report!  I applied a slightly different fix:
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=1bd990b3bee5fa83824f341a2cdd5a446267b09b>

Cheers,
Alex

> 
> "I<argv> is an array of pointers to strings passed to the new program as its "
> "command-line arguments.  By convention, the first of these strings (i.e., "
> "I<argv[0]>)  should contain the filename associated with the file being "
> "executed.  The I<argv> array must be terminated by a NULL pointer.  (Thus, "
> "in the new program, I<argv[argc]> will be NULL.)"
> 
> "I<envp> is an array of pointers to strings, conventionally of the form "
> "B<key=value>, which are passed as the environment of the new program.  The "
> "I<envp> array must be terminated by a NULL pointer."

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2023-11-01 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-01 14:02 Issue in man page execve.2 Helge Kreutzmann
2023-11-01 15:27 ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox