Re: is there any little-endian and big-endian issue with cygwin?

2007-02-15 Thread winner wei
template). Thanks. - Original Message From: Igor Peshansky <[EMAIL PROTECTED]> To: winner wei <[EMAIL PROTECTED]> Cc: cygwin@cygwin.com Sent: Thursday, February 15, 2007 2:22:33 PM Subject: Re: is there any little-endian and big-endian issue with cygwin? David, <ht

is there any little-endian and big-endian issue with cygwin?

2007-02-15 Thread winner wei
Hi, My code works fine in Cygwin by command line, but when I run it through a Java GUI launched from DOS the result is incorrect with all the data which are not zero. The java Gui does nothing more than launching the executables and provide a parameter file (I used the exactly same parameter fi

just failing to open a file at specified location/directory

2007-02-09 Thread winner wei
Hi, when I wanted to open a file at a specified directory for writing, running it in Cygwin, the opening just failed. It is extremely simple, like this: if((fp=fopen("C:\cygdrive\c\home\user\data\filename", "w"))==NULL) { handling exception... } I also tried a few other ways for the pathname, l

weird seg. fault related to fhandler_pipe::get_guard()

2007-02-07 Thread winner wei
Hi there, I checked up all the archives and FAQ but seems not got a resolve. Ok here is the details: My pc is HP with XP Pro; the cygwin version is 1.5.24 (Jan.31,2007). The basic structure of my program is like this: main() { : : status=A(file_input_name, ..); : } A(input_file,..){ : : status=B(i