I suspect you're going to say "upgrade to a more modern compiler" for most of these patches, but I had cause to install a later coreutils on an old box where this is not a viable option, running cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-12 2003/05/18 There are many uses of later C compilers to accept declarations intermingled with statements, which are not supported by this compiler. The attached diffs fix all these problems. Many of them are just swapping a couple of lines, which is probably worth it in the interests of compatibility. Rob -- E-Mail: Rob.McMahon@warwick.ac.uk PHONE: +44 24 7652 3037 Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England