Hi. There is a bug in the carlsonj code example. buf[32] must be buf[34]. The string "0123456abcdefghijklmnopqrstuvwxyz" is 34 bytes including the '\0'. The first strcpy() clobbers some of main()'s stack.
With this error fixed, this example does not produce the bizarre char swapping output. Without this buf[34] fix, the example does produce the bizarre char swapping on S10U9. My experiment used the SS12 compiler. A correct example showing the changed behavior would be very helpful. If there is a bug in the new 64-bit strcpy(3C) IMHO it is more likely to be in the new SSE assembly than in the compiler. :-( Regards, Bill -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code