From 85857f932b10330e5c96bedf15e81bcfc0207737 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 16 Nov 2000 02:17:26 +0000 Subject: Update. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2000-11-15 Jakub Jelinek * dlfcn/default.c (main): Add test for dladdr of main returning argv[0] in dli_fname field. 2000-11-15 Jakub Jelinek * Makeconfig (run-program-prefix): Move test-static test into the variable. * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise, schedule instructions. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise, schedule instructions, fix a bug in copying auxiliary data. * manual/startup.texi (Program Arguments): Fix type of main's envp parameter. Reported by Raúl Núñez de Arenas Coronado . --- manual/startup.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manual') diff --git a/manual/startup.texi b/manual/startup.texi index 50649c9197..526d19d639 100644 --- a/manual/startup.texi +++ b/manual/startup.texi @@ -86,7 +86,7 @@ three elements, @code{"cat"}, @code{"foo"} and @code{"bar"}. In Unix systems you can define @code{main} a third way, using three arguments: @smallexample -int main (int @var{argc}, char *@var{argv}[], char *@var{envp}) +int main (int @var{argc}, char *@var{argv}[], char *@var{envp}[]) @end smallexample The first two arguments are just the same. The third argument -- cgit 1.4.1