mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user