|
|
@ -522,7 +522,15 @@ map_name( const char *arg, char **result, int reserve, const char *in, const cha |
|
|
|
for (ll = 0; ll < inl; ll++) |
|
|
|
for (ll = 0; ll < inl; ll++) |
|
|
|
if (arg[i + ll] != in[ll]) |
|
|
|
if (arg[i + ll] != in[ll]) |
|
|
|
goto rnexti; |
|
|
|
goto rnexti; |
|
|
|
|
|
|
|
#ifdef __GNUC__ |
|
|
|
|
|
|
|
# pragma GCC diagnostic push |
|
|
|
|
|
|
|
/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145 */ |
|
|
|
|
|
|
|
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized" |
|
|
|
|
|
|
|
#endif |
|
|
|
memcpy( p, out, outl ); |
|
|
|
memcpy( p, out, outl ); |
|
|
|
|
|
|
|
#ifdef __GNUC__ |
|
|
|
|
|
|
|
# pragma GCC diagnostic pop |
|
|
|
|
|
|
|
#endif |
|
|
|
p += outl; |
|
|
|
p += outl; |
|
|
|
i += inl; |
|
|
|
i += inl; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|