On 15 Feb 2022 00:07, Hans-Peter Nilsson via Gdb-patches wrote: > --- a/sim/testsuite/cris/c/stat3.c > +++ b/sim/testsuite/cris/c/stat3.c > @@ -7,13 +7,14 @@ > #include > #include > #include > +#define mybasename(x) ({ const char *x_ = (x), *y_ = strrchr (x_, '/'); y_ != NULL ? y_ + 1 : x_; }) > > int main (int argc, char *argv[]) > { > char path[1024] = "/"; > struct stat buf; > > - strcat (path, basename (argv[0])); > + strcat (path, mybasename(argv[0])); GNU style (and this file style) says to put space before the ( -mike