Unix Programming - stat failed system error: Value too large for defined data type

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > October 2006 > stat failed system error: Value too large for defined data type





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author stat failed system error: Value too large for defined data type
mobenoua

2006-10-19, 1:21 pm

I am getting this message

stat failed system error: Value too large for defined data type

whilst trying to delete a binary file from my disk space using
the command remove from stdio in my c++ program. I am using solaris
2.8. Does anyone know the reason?

Thanks

James Carlson

2006-10-19, 7:23 pm

"mobenoua" <mobenoua@hotmail.com> writes:
> I am getting this message
>
> stat failed system error: Value too large for defined data type
>
> whilst trying to delete a binary file from my disk space using
> the command remove from stdio in my c++ program. I am using solaris
> 2.8. Does anyone know the reason?


That typically means you're trying to open or stat a file that's
greater than 2GB in size, but your program isn't compiled or written
for large file support.

--
James Carlson, KISS Network <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Mig21

2006-10-20, 1:27 am

mobenoua a écrit :
> I am getting this message
>
> stat failed system error: Value too large for defined data type
>
> whilst trying to delete a binary file from my disk space using
> the command remove from stdio in my c++ program. I am using solaris
> 2.8. Does anyone know the reason?
>
> Thanks
>


try this:
http://groups.google.com/group/comp...ecafff67ce3a40c
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com