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

Bug#649487: detex: segfault with argument "--version"



On 22.11.11 Hilmar Preusse (hille42@web.de) wrote:

Hi,

> > To get the compile to work, remove the line "char    *malloc();"
> > from detex.l. The return type char* conflicts with the Linux malloc
> > return type of void*.
> > 
> After replacing that "char    *malloc();" by
> 
> #ifdef __linux__
> void<-->*malloc();
> #else
> char<-->*malloc();
> #endif
> 
...of course these <--> are tabs.

H.
-- 
sigmentation fault

Attachment: signature.asc
Description: Digital signature


Reply to: