> Have you found a case where strcmp() returns something other than that
> on one of your machines?
strcmp("1",x) for (almost all?) values of x>2 on RH7.3
and, like i said before, strcmp("42","44") is -2 on RH7.3!
couldn't find any in FC3 after about 150,000 tries.
steve
- - -
systems & network manager
high energy physics
university of wisconsin
ginseng(rader): cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla) UW-HEP $Revision 1.9$
ginseng(rader): cat strcmp.c
main (char *argc, char **argv) {
int i;
i = strcmp(argv[1],argv[2]);
printf("strcmp %s %s is %d\n",argv[1],argv[2],i);
}
ginseng(rader): cc -o strcmp strcmp.c
ginseng(rader): ./strcmp 42 44
strcmp 42 44 is -2
_______________________________________________
Bug-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-cfengine