Re: [PATCH v3] Fix crash in AIX when current working directory is NULL

Tom Tromey <[email protected]> Wed, 22 Jul 2026 09:48:04 -0600
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
>>>>> Aditya Vidyadhar Kamath <[email protected]> writes:

> diff --git a/gdb/testsuite/gdb.base/getcwd-fail.c b/gdb/testsuite/gdb.base/getcwd-fail.c
> new file mode 100644
> index 00000000000..398ec675a07
> --- /dev/null
> +++ b/gdb/testsuite/gdb.base/getcwd-fail.c
> @@ -0,0 +1,5 @@
> +int
> +main (void)
> +{
> +  return 0;
> +}

Even this file requires a copyright header.

thanks,
Tom