Ask a Question related to UNIX Programming, Design and Development.
-
cc #1
File > 2gb
Hi there,
I compiled my program under sun 5.4 and ran it in 5.7, but stat call
failed with file > 2GB and returns error code 79. I did
se -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to compile. I checked stat.h
in 5.4 and there is no stat64. Any idea to compile under 5.4 and make it
work on 5.7 and up with 2GB file? TIA
cc Guest
-
problem in binding xml file data to datagrid xml file isgenerated through JSP file
problem it that i am creating xml file using JSP file and i want to bind DataGrid with xml file data that is created using JSP but it will not Bind... -
File Viewer / Bloated file sizes / What is the best file format?
I would like to find a viewer capable of looking at the main Adobe formats as well as the standard formats such as JPG and WMF ... but yet the only... -
Open file, make changes, save file, close, re-open, file contents not changed
I've now run into this several times and it's completely destroyed all of my confidence in Ilustrator CS on Mac. I'm hoping someone can confirm that... -
[BUG] File#rewind, File#syswrite, File#pos on Cygwin build
On the cygwin build of ruby v1.8.0, I have encountered a strange bug when using rewind, syswrite and pos. If you open a file in read/write mode,... -
Confused about locking a file via file.flock(File::LOCK_EX)
I am writing a ruby appl under AIX where I need to update the /etc/hosts table. I would like to make sure that during my update nobody else can... -
Andrew Gabriel #2
Re: File > 2gb
In article <qdvVa.48540$PD3.4511978@nnrp1.uunet.ca>,
"cc" <ultraman@rogers.com> writes:Solaris 2.6 is the first release you can build largefile(5) aware apps.> Hi there,
> I compiled my program under sun 5.4 and ran it in 5.7, but stat call
> failed with file > 2GB and returns error code 79. I did
> se -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to compile. I checked stat.h
> in 5.4 and there is no stat64. Any idea to compile under 5.4 and make it
> work on 5.7 and up with 2GB file? TIA
Prior to that, -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 won't have
any effect.
--
Andrew Gabriel
Andrew Gabriel Guest
-
cc #3
Re: File > 2gb
so is there any way to compile under 5.4 to support large file?
"Andrew Gabriel" <andrew@cucumber.demon.co.uk> wrote in message
news:bg62ol$7po$1@new-usenet.uk.sun.com...stat.h> In article <qdvVa.48540$PD3.4511978@nnrp1.uunet.ca>,
> "cc" <ultraman@rogers.com> writes:> > Hi there,
> > I compiled my program under sun 5.4 and ran it in 5.7, but stat call
> > failed with file > 2GB and returns error code 79. I did
> > se -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to compile. I checked>> > in 5.4 and there is no stat64. Any idea to compile under 5.4 and make it
> > work on 5.7 and up with 2GB file? TIA
> Solaris 2.6 is the first release you can build largefile(5) aware apps.
> Prior to that, -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 won't have
> any effect.
>
> --
> Andrew Gabriel
cc Guest



Reply With Quote

