Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?
Corinna Vinschen via Cygwin wrote: On Mar 23 10:57, Christian Franke via Cygwin wrote: On Mar 21 16:15, Corinna Vinschen via Cygwin wrote: On Mar 21 09:58, Christian Franke via Cygwin wrote: .. I just gave it a try on W11. The results are even more funny than I anticipated: ... So, yeah, with your observations especially on older W10 versions and with 8.1 doing the same thing, I guess we can safely drop the extra call to RtlGetNtVersionNumbers now. Or: Keep RtlGetVersionNumbers, compare result with RtlGetVersion and emit debug output if both differ. This would allow to diagnose a possible future reappearance of the issue. Good idea! Do you want to create a patch? I tried, but without success. Unfortunately debug_printf() does not work because wincap.init() is called before get_cygwin_startup_info() which calls strace.activate(). -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
ntfs-3g/ntfssecaudit build failed with fatal error: linux/fd.h: No such file or directory
Hello, I downloaded ntfs-3g_ntfsprogs-2022.10.3.tgz from tuxera, extract it and run, in my cygwin 3.5 environment: ./configure make ntfsprogs I got a "fatal error: linux/fd.h: No such file or directory". All ntfsprogs are build in ~/ntfsprogs but not ntfsrecover, ntfssecaudit and ntfsusermap. So do you have any hint where I can find this "linux/fd.h" ? Thanks in advance Matthias -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: ntfs-3g/ntfssecaudit build failed with fatal error: linux/fd.h: No such file or directory
On 2024-03-24 12:59, Matthias--- via Cygwin wrote: I downloaded ntfs-3g_ntfsprogs-2022.10.3.tgz from tuxera, extract it and run, in my cygwin 3.5 environment: ./configure make ntfsprogs I got a "fatal error: linux/fd.h: No such file or directory". All ntfsprogs are build in ~/ntfsprogs but not ntfsrecover, ntfssecaudit and ntfsusermap. So do you have any hint where I can find this "linux/fd.h" ? On Linux! Check your config and make logs for questionable defaults or automatic selections. You may want to first try just `make`, to ensure that all subdirectory configs are done properly, as those are often run by the top level make, using the cached results from configure. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?
On Mar 24 15:42, Christian Franke via Cygwin wrote: > Corinna Vinschen via Cygwin wrote: > > On Mar 23 10:57, Christian Franke via Cygwin wrote: > > > On Mar 21 16:15, Corinna Vinschen via Cygwin wrote: > > > > On Mar 21 09:58, Christian Franke via Cygwin wrote: > > > > > > > .. > > > > I just gave it a try on W11. The results are even more funny than I > > > > anticipated: > > > > > > > > ... > > > > > > > > So, yeah, with your observations especially on older W10 versions and > > > > with 8.1 doing the same thing, I guess we can safely drop the extra call > > > > to RtlGetNtVersionNumbers now. > > > Or: > > > Keep RtlGetVersionNumbers, compare result with RtlGetVersion and emit > > > debug > > > output if both differ. This would allow to diagnose a possible future > > > reappearance of the issue. > > Good idea! Do you want to create a patch? > > > > I tried, but without success. Unfortunately debug_printf() does not work > because wincap.init() is called before get_cygwin_startup_info() which calls > strace.activate(). small_printf should work, just needs "\r\n" in the Windows console. But, anyway, nothing speaks aginst just sticking to the current code. It works and probably continues to work... Thanks, Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple