[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#622365: Fix FTBFS of tofrodos for GNU/Hurd



Svante Signell, le Tue 12 Apr 2011 19:27:10 +0200, a écrit :
>  		return -1 ;
>  	}
>  	/* If we reach here, "filename" is not a symbolic link */

And thus we didn't call realpath at all.  I believe the free below
shouldn't be done, it's probably only by chance that it doesn't segfault
in your test (by being NULL by chance).

> +#ifdef __GNU__
> +	free (realfilepath);
> +#endif
>  	return openandconvert( filename );
>  }

Samuel


Reply to: