This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Little surprises inside of compiled files


Sergey Okhapkin wrote:
> 
> > I have a MINGW32 compiled verison of the Midnight Commander file browser,
> > and just accidentally was using it to view the contents of 
> cygwin-compiled
> > files in my /usr/local/bin directory, and I have found pieces of source
> > code embedded in the middle of executables:
> 
> It's a well-known "feature" of Win95 - when linker does a seek past end of 
> generated exe file, the gap is filled with random context of computer's 
> memory rather that with zeroes... The same on NT works as expected.

While true, Cygwin32 needs to be changed to detect this occurrance and
fill it with zeros.

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]