a[0] = -1; memset((void *)&a[1], a[0], 99);
Or just pass a -1 to memset...
--On Tuesday, January 27, 2004 9:36 AM -0800 Wayne Davison <[EMAIL PROTECTED]> wrote:
The match.c code has a loop that initializes an array to -1. I'm considering changing this to a memset() of 0xFF over all the array's bytes, but that depends on a system's representation of a -1 being "all bit on". Should I be anal about this and add a configure check to make sure that we're not running on some weird system where this is not true? Or should I just let this be as it was?
..wayne..
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html