From 10a5567dc785cb0b840fcc4fdf2c0b9480857492 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 3 Feb 2017 15:08:52 +0000 Subject: [PATCH] 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 eea210dbf7d781bc253f927977868dbc6776f20d. --- generator/actions.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/actions.ml b/generator/actions.ml index e8b0ba5b6..990eacb12 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -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. If that was not possible, -it is set to the empty string (but never C)." }; +set to the basename from C. The program name can never +be C." }; { defaults with name = "get_program"; added = (1, 21, 29);