-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Stuart,
thanks for bringing up this issue. Am 25.06.14 21:54, schrieb Stuart Henderson: > Not new, but while testing on OpenBSD I noticed this: > > netutils.c: In function 'np_net_connect': netutils.c:237: warning: > array size (104) smaller than bound length (108) netutils.c:237: > warning: array size (104) smaller than bound length (108) > > ... coming from netutils.h: > > #ifdef HAVE_SYS_UN_H # include <sys/un.h> # ifndef UNIX_PATH_MAX /* > linux uses this, on sun it's hard-coded at 108 without a define */ > # define UNIX_PATH_MAX 108 # endif /* UNIX_PATH_MAX */ #endif /* > HAVE_SYS_UN_H */ > > Seems it's hard-coded at 104 in sys/un.h on at least > (Free|Net|Open)BSD, Dragonfly and Apple. > > http://fxr.watson.org/fxr/search?string=sun_path Could you please put that into an issue at: https://github.com/monitoring-plugins/monitoring-plugins/issues/new This makes follow up and further communication much easier. Many thanks, Jan. - -- Never write mail to <[email protected]>, you have been warned! - -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ - ------END GEEK CODE BLOCK------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: GPGTools - http://gpgtools.org iQIcBAEBAgAGBQJTrn2rAAoJEAxwVXtaBlE+0WcP/0sTixCvHWjZckv7LPHMeLx5 qsaW0LHJKXrCa+OISMk9qf50dTVpOL/6EjRrGadwDi3F+zy/B0odW36ANRSfKg3W iNHgdRiR7gbw68EFa0xuA4Ll8eMCVSqEBEezlN+kycQjXP8AIgCOi15PZK/0HWQI 4FO/qePcZJPYY3UtJ5i+rXpbUgYMwJletqG2lp1yF0XdTo7i4GXkygtOSDQTl5Q/ OFKREuw8KpZAmQQj8EW5OmZqtGzO+XKbUXkyK4XDFxvyYqt4WB/VRbuGBFnodygW xhXip1Wah403VfPJy3ZZxH/1IQPXGxNoTyNrLLo4573Kyg7GroLoq3wlAkYyjeLT gYKEf+Wc5YMx5S7fe42bJiWOeN6ClQR5iWypFzGxU18Yj9P8b5N0XQJuY9tjYtnU 6W2L3K/bNzEOzgGfxQKab65B6VE3X36iH7dlgNeQhuJz7M6okxRcMYZdmboi7SDp qP+MHaSlm7lZPGXsYRrquhT9y5bvBTIDX/eTl/mzUGpex4X5it/ICAQCqQh4g5E9 vMAVWFgAWmcmxMTD4OQfSK+Yi1h07lic8pdpSatEJuYC9hmMEZkoLfs73myzepY8 qdvQQmrVtJmFxsI6yUDrbAZcHkkDmRdiOEaAvZ633Vhfup2g7vJkPHOvByDUSV1f nC9adaYfROq9IjcBLM8V =+XKe -----END PGP SIGNATURE-----
