lib: g->program is now never the empty string.

The getprogname module either sets g->program to a string derived from
argv[0] or fails at compile time.

Fixes commit eea210dbf7.
This commit is contained in:
Richard W.M. Jones
2017-02-03 15:08:52 +00:00
parent c1bd2c3e74
commit 10a5567dc7

View File

@@ -3184,8 +3184,8 @@ Set the program name. This is an informative string which the
main program may optionally set in the handle.
When the handle is created, the program name in the handle is
set to the basename from C<argv[0]>. If that was not possible,
it is set to the empty string (but never C<NULL>)." };
set to the basename from C<argv[0]>. The program name can never
be C<NULL>." };
{ defaults with
name = "get_program"; added = (1, 21, 29);