https://bugs.winehq.org/show_bug.cgi?id=47169
--- Comment #19 from TOM l12436@yahoo.com.tw --- (In reply to Erich E. Hoover from comment #17)
(In reply to TOM from comment #16)
Created attachment 64523 [details] stdout of fprintf log
I did not see any actually print out. did I need to run wineserver manually ?
That is very strange, you may need to kill the wineserver if it is already running - but it should print out if lstat failed. You might try having it print out unconditionally as a test (remove 'if (ret == -1)') to confirm that your change got included in the build. It is possible that lstat is not failing, but for some reason it is not returning the same result as fstat.
and I was wondering, %m did not need anything pass to it ?