Incompatible rpcUdpInit() and nfsInit() in rtems-libbsd

Joel Sherrill joel at rtems.org
Fri Jul 26 19:26:09 UTC 2019


On Fri, Jul 26, 2019 at 1:48 PM Peter Dufault <dufault at hda.com> wrote:

> The follwing commit below in libbsd added “verbose” flags to both
> rpcUdpInit() and nfsInit().  Code using libbsd needs a change to compile.
> I don’t like adding a compile time check.
>
> Shall I change the RTEMS ones to match even if the flag doesn’t do
> anything?
>

I think changing the legacy version to match the signature of the libbsd
one is a good idea.

--joel

>
> [dufault at fubar rtems-libbsd]$ git log ./rtemsbsd/include/librtemsNfs.h
> commit 761ae78e0528ac5c1f46df11e9bea453ac6c82dd
> Author: Chris Johns <chrisj at rtems.org>
> Date:   Thu Jun 30 13:32:29 2016 +1000
>
>     Make the license message viewable with a verbose option.
>
>     The license details can be viewed if you mount with a -v option:
>
>      # mount -i nfs -o "-v" 1.2.3.4:/mnt /mnt
>
> [dufault at fubar rtems-libbsd]$ grep rpcUdpInit
> ./rtemsbsd/include/librtemsNfs.h
> /** Priority of daemon; may be setup prior to calling rpcUdpInit();
> /** CPU affinity of daemon; may be setup prior to calling rpcUdpInit();
> rpcUdpInit(bool verbose);
> [dufault at fubar rtems-libbsd]$
>
> Peter
> -----------------
> Peter Dufault
> HD Associates, Inc.      Software and System Engineering
>
> This email is delivered through the public internet using protocols
> subject to interception and tampering.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190726/23316d38/attachment-0002.html>


More information about the devel mailing list