[PATCH] Portability patches

Richard Sharpe realrichardsharpe at gmail.com
Thu Oct 9 10:56:52 MDT 2014


On Thu, Oct 9, 2014 at 9:28 AM, Ralph Böhme <rb at sernet.de> wrote:
> Hi all,
>
> attached please find two simple fixes for non-portable code that
> exploded on my FreeBSD 10 testbox (the non-portable code, not the
> fixes ;)

Hmmm, on the CentOS 6.5 (and thus RHEL 6.x) box I am currently using,
it says of %m that:

       m      (Glibc  extension.)   Print output of strerror(errno).  No argu-
              ment is required.

Isn't that going to cause more portability problems?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list