Hi All, this was starting to really confuse me so I went back and tried compiling the whole of coreutils, both with and without the change I made ( which is at best a hack ). I logged the output of the make command and then compared the 2 logs. Interestingly enough, there was 1 difference as follows.....
[udmdwdev]-root > diff -C 8 make_64_200605230825.log make_32_200605230839.log *** make_64_200605230825.log Tue May 23 08:26:12 2006 --- make_32_200605230839.log Tue May 23 08:40:02 2006 *************** *** 72143,72159 **** v /= 62; XXXXXX[4] = letters[v % 62]; v /= 62; XXXXXX[5] = letters[v % 62]; switch (kind) { case 0 : ! fd = __open64 (tmpl, 0000002 | 0000400 | 0002000 , 0000400 | 0000200 ); break; case 1 : fd = __open64 (tmpl, 0000002 | 0000400 | 0002000 , 0000400 | 0000200 ); break; case 2 : fd = mkdir (tmpl, 0000400 | 0000200 | 0000100 ); --- 72143,72159 ---- v /= 62; XXXXXX[4] = letters[v % 62]; v /= 62; XXXXXX[5] = letters[v % 62]; switch (kind) { case 0 : ! fd = open (tmpl, 0000002 | 0000400 | 0002000 , 0000400 | 0000200 ); break; case 1 : fd = __open64 (tmpl, 0000002 | 0000400 | 0002000 , 0000400 | 0000200 ); break; case 2 : fd = mkdir (tmpl, 0000400 | 0000200 | 0000100 ); [udmdwdev]-root > I think we have something here. It's my guess that the compiler is over riding the define statements and substituting the 64 bit open call when it sees "__open64". If I only run "cc -E" on tempname.c, this didn't occur so something is picking up the "__open64" and ignoring the define line. Any views on this ? Simon This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils