This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: run.exe fails to start XWin on Windows 8.1 through the shortcut


On 12/08/2015 19:57, Achim Gratz wrote:
Jon TURNEY writes:
Not sure if this is the cause of this problem, but after a bit of
staring at file_exists_multi(), I notice that run2_fileExits() doesn't
initialize t when it returns FALSE, so perhaps the following is a good
idea?

The only way I can see this happening is when the initialisation of t
gets hoisted out of the loop, and if the compiler thinks that is OK to
do it should not matter if the initializer is an explicit NULL or
implicit 0.

There is no implicit initialization of automatic local variables in the C language.

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


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