Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv16337
Modified Files:
Tag: rel-1_0
getopt.c
Log Message:
some builds of gcc complain.. must be a libc difference on some OS's.
Index: getopt.c
===================================================================
RCS file: /cvsroot/srvx/services/src/getopt.c,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -r1.4 -r1.4.2.1
*** getopt.c 2001/02/19 05:05:37 1.4
--- getopt.c 2001/09/03 06:00:22 1.4.2.1
***************
*** 803,807 ****
if (!strncmp (p->name, nextchar, nameend - nextchar))
{
! if ((unsigned int) (nameend - nextchar) == strlen (p->name))
{
/* Exact match found. */
--- 803,807 ----
if (!strncmp (p->name, nextchar, nameend - nextchar))
{
! if ((size_t) (nameend - nextchar) == (size_t) strlen (p->name))
{
/* Exact match found. */
|