replace: fix build issues on GNU Hurd (#7998)

Björn JACKE bj at SerNet.DE
Tue May 31 01:51:55 MDT 2011


On 2011-05-31 at 10:22 +1000 Andrew Bartlett sent off:
> > Nope. As far as I can see IOV_MAX is only used in tsocket, where it's
> > inside an #ifdef and just loses the feature of checking if the iovec
> > passed to the readv/writev call is too big.
> 
> In which case we probably don't want to put a warning on every C file
> compiled with network.h (ie drop the #warning).

that makes sense. Are you okay with the attached change?

Cheers
Björn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-replace-remove-waring-if-IOV_MAX-is-not-defined.patch
Type: text/x-patch
Size: 850 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110531/eb025f50/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110531/eb025f50/attachment.pgp>


More information about the samba-technical mailing list