On Saturday 24 July 2004 11:03 am, Douglas Kojetin wrote:

> I know the most efficient way of getting this resolved might be to have
> the original author of the code do it, but can anyone point me toward
> some references in adding the O_LARGEFILE flag in the file open's?
> (i'm using gcc, by the way).

man open

If the program opens files with the open function.  You'll see something like

fd = open( pathname_ptr, O_RDONLY )

and you'd change it to 

fd = open( pathname_ptr, O_RDONLY | O_LARGEFILE )

Good luck!

---Tom

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to