RE: [PATCH v3] Fix crash in AIX when current working directory is NULL
Aditya Kamath <[email protected]> Thu, 23 Jul 2026 07:24:17 +0000
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <LV8PR15MB64883A775751115A737EBB6FD6C02@LV8PR15MB6488.namprd15.prod.outlook.com> |
Hi Tom,
>> 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.
Thank you for pointing this out. Please see v5 version of this patch sent today.
Regards,
Aditya.