Re: Bug#1009712: sv: fails to control the service on Hurd
João Pedro Malhado, le mar. 05 juil. 2022 19:37:16 +0200, a ecrit:
> However errnno is already 1073741902 before the function call, so does not
> really change after the function call.
Perhaps change the source code to set it to 0, just to be sure.
> open64 (__oflag=10, __path=0x803caa0 "supervise/ok")
> at /usr/include/i386-gnu/bits/fcntl2.h:53
> 53 return __open_alias (__path, __oflag, __va_arg_pack ());
> __GI___libc_open (file=0x803caa0 "supervise/ok", oflag=10)
> at ../sysdeps/mach/hurd/open.c:35
> 35 ../sysdeps/mach/hurd/open.c: No such file or directory.
> 45 in ../sysdeps/mach/hurd/open.c
> 46 in ../sysdeps/mach/hurd/open.c
> 47 in ../sysdeps/mach/hurd/open.c
> 49 in ../sysdeps/mach/hurd/open.c
What you can do is step into functions, and use 'finish' to get their
returned value, to determine at which point -1 is returned.
Samuel
Reply to: