Re: bug system.c - Solaris

2014-10-14 Thread Bill Fenner
On Tue, Sep 16, 2014 at 11:44 AM, Maria Teresa Eibe wrote: > Hi, > > I’ve noticed that there seems to be a bug in the code of system.c, > function netsnmp_os_prematch, if net-snmp is to be run on Solaris. The > problem would be the line: > > > > if ( 0 != uname(&utsbuf)) > >return -1; > > >

bug system.c - Solaris

2014-10-14 Thread Maria Teresa Eibe
Hi, I’ve noticed that there seems to be a bug in the code of system.c, function netsnmp_os_prematch, if net-snmp is to be run on Solaris. The problem would be the line: if ( 0 != uname(&utsbuf)) return -1; as "uname" would return 1 if success in the case of Solaris I’ve just checke