Hi everyone,
 
I'm migrating an old WATCOM C++ based application to cygwin, using -mno-cygwin 
in order to make the converted executable as similar as possible to the 
original one.
 
I get a problem using 
 
int stat ( const char *__path, struct stat *__sbuf );
 
I get an improper offset and so size comes on the st_atime field instead of 
st_size.
 
Is there any report or known bug related to this behaviour ?
 
It seems library doen't map properly the pointed structure.
 
Before going on to dicover what provokes the problem (Library, used include), 
I'd like to know if someone has ever found this behaviour also.
 
Ignasi Villagrasa
Dpto. I+D
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

"Este mensaje y los documentos anexos, en el caso de que los contenga,pueden 
contener información confidencial. Por esta razón, se informa a quien reciba el 
mensaje por error que la información que contiene es reservada y usarla sin 
autorización está prohibido legalmente, por la cual cosa le rogamos que nos lo 
comunique por esta misma vía o por teléfono (+90225 35 01 - +55 5207 9191), 
abstenerse de realizar copias del mensaje, transmitirlo o entregarlo a 
cualquier persona y proceda a borrarlo rápidamente. Gracias."


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to