bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] stat issue when building 32bit on 64bit machine


From: Adam Edgar
Subject: [bug-gawk] stat issue when building 32bit on 64bit machine
Date: Tue, 12 Mar 2013 12:50:39 -0400

I am using the opencsw build of gawk 4.0.0 on an x86-64 machine. It is built as 
a 32bit binary (ie not using -m64). Everything seems to run fine until the 
system has been up long enough for the inode for FIFO's has exceeded the 32bit 
limit. You can check this on a solaris machine by running :

echo | ls -i /proc/self/fd/0

I believe the easiest solution would be to patch the upstream source to use 
stat64 instead of just stat. I've downloaded the 4.0.0 source and ran into some 
issues trying this. Particularly with some of the yacc generated code. I'm 
willing to help with the patch and to test with a system where 64bit inodes 
exist. I just believe the long term fix belongs upstream.

ASE


reply via email to

[Prev in Thread] Current Thread [Next in Thread]