Mailinglist Archive: opensuse-bugs (3517 mails)

< Previous Next >
[Bug 673303] convert spits out rubbish to standard output

https://bugzilla.novell.com/show_bug.cgi?id=673303

https://bugzilla.novell.com/show_bug.cgi?id=673303#c13


--- Comment #13 from Petr Gajdos <pgajdos@xxxxxxxx> 2011-09-06 14:26:01 UTC ---
Hmm,

strerror in GetExceptionMessage returns invalid pointer, no idea why so far.
There should be "No such file or directory" after "`+1570': ".




MagickExport char *GetExceptionMessage(const int error)
{
char
exception[MaxTextExtent];

#if defined(MAGICKCORE_HAVE_STRERROR_R)
(void) strerror_r(error,exception,sizeof(exception));
#else
(void) CopyMagickString(exception,strerror(error),sizeof(exception));
#endif
return(ConstantString(exception));
}

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >