Namazu-users-ja($B5l(B)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: namazu.cgi $B$N=PNO$G%-!<%o!<%I0J30$,6/D4I=<((B



$B>.@n$G$9!#(B
(B
(B>> [Solaris7 + gcc-{2.95.2, 2.8.1}]
(B>> % gcc -O2 test.c
(B>> % ./a.out
(B>> $BMW5a(B == $BHw$H(B
(B
(BSunOS 4.1.3-JL $B$@$H!"(B
(B
$BMW5a(B != $BHw$H(B
(B
$B$G$9$,!"(B
(B
(Bstrcasecmp("$B$"(B", "$B4"(B") = 0
(Bstrcmp("$B$"(B", "$B4"(B")     = -16
(B
$B$K$J$j$^$9!#(B
(B
(B>LANG ($B$"$k$$$O(B LC_* ?) $B4D6-JQ?t$O$I$s$JCM$K$7$F$7$F$b$i$C$?(B
$B$H$$$&7P0^$,$"$j$^$9!#(B
(B
(BSunOS, Solaris $B$N>l9g!"(Bstrcasecmp $B$,$^$:$$$N$G$O$J$$$G$7$g$&$+(B?
(B
(B| Date: Mon, 7 Dec 98 14:32:40 +0900
(B| From: OGAWA Kunihiko <kuni@xxxxxxxxxx>
(B| Subject: [mnews:02810] str(n)casecmp on SunOS 4.1.3-JLE
(B| To: mnews@xxxxxxxxxxxxxxx
(B| 
(B| $B>.@n$G$9!#(B
(B| 
(B| SunOS 4.1.3-JLE $B$G!"(B/\() $B$GF|K\8lJ8;z$r8!:w$9$k$H!"(B
(B| $BM>7W$J$b$N$,8!:w$5$l$^$9!#%=!<%9$rDI$&$H!"(Bstr(n)casecmp $B$,(B
(B| $B$*$+$7$$$3$H$,$o$+$j$^$7$?!#(B
(B| 
(B| % uname -a
(B| SunOS ****** 4.1.3-JL 1 sun4c
(B| 
(B| % cat test.c
(B| main()
(B| {
(B| 	/* $B4A;z%3!<%I$O(B EUC */
(B| 	/* $B$"(B = 0xa4a2, $B4"(B = 0xb4a2 */
(B|         printf("strcasecmp       %d \n", strcasecmp      ("$B$"(B", "$B4"(B"));
(B|         printf("strcmp           %d \n", strcmp          ("$B$"(B", "$B4"(B"));
(B|         printf("mnews_strcasecmp %d \n", mnews_strcasecmp("$B$"(B", "$B4"(B"));
(B| }
(B| 
(B| % cat ./a.out
(B| strcasecmp       0
(B| strcmp           -16
(B| mnews_strcasecmp -16
(B| 
(B| mnews_strcasecmp $B$O!"(Bcompat/compat.c $B$K$"$k(B strcasecmp $B$r(B
(B| $BH4$-=P$7$F!"4X?tL>$@$1JQ$($F%3%s%Q%$%k$7$?$b$N$G$9!#(B
(B| 
(B| $B!V(Bstrcasecmp $B$,$J$$4D6-!W$O9MN8$5$l$F$$$k$N$G$9$,!".@xxxx'(B <kuni@xxxxxxxxxx>
(B
(B--
$B>.@xxxx'(B <kuni@xxxxxxxxxx>