[PATCH] Fix building Samba with GCC 7.1

Jim Brown jim.brown at rsmas.miami.edu
Thu Jun 1 15:36:15 UTC 2017


Shouldn't this test be "short_name != NULL"?

On 6/1/17 09:45, Andreas Schneider via samba-technical wrote:
> -	if (*short_name == '\0') {
> +	if (*short_name[0] == '\0') {
>   		*short_name = talloc_strdup(mem_ctx, *long_name);
>   	}




More information about the samba-technical mailing list