[Webkit-unassigned] [Bug 65311] [EFL] Replace strerror with strerror_r.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 1 10:26:22 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=65311
--- Comment #9 from Lucas De Marchi <demarchi at webkit.org> 2011-08-01 10:26:22 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > (From update of attachment 102247 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=102247&action=review
> >
> > > Source/WebKit/efl/ewk/ewk_tiled_private.h:35
> > > +#define OOM(op, size) \
> > > + char buf[256]; \
> > > + CRITICAL("could not %s %zd bytes: %s", op, size, strerror_r(errno, buf, sizeof(buf)))
> > > +
>
>
> A patch worth doing would be to change this message to use "%m" instead of strerror() -- and removing "#include <errno.h>" where possible.
Ahnn... this is true if we don't mind to support a libc other than glibc. Otherwise it should remain as is.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list