#259 new win32api breaks building mSys

closed-accepted
msys (22)
2011-10-22
2005-11-09
Julien
No

win32api file include/winnt.h has changed between
version 1.35 and version 1.36 the definition of LUID
(and PLUID, _LUID)

Trying to build mSys from cvs will fail on compilation
of "security.cc" because LUID changed.

To test this: build and install w32api v3.5 (for
example, maybe 3.4 is sufficient). And then try to
build mSys.

I will submit a patch, but CVS is currently down.

To successfully build mSys, I had to change line 507 of
"security.cc" to:
if ((auth_luid.LowPart != 0x3e7) || (auth_luid.HighPart
!= 0)) /* != SYSTEM_LUID */

Discussion

  • Julien

    Julien - 2005-11-10

    Patch for security.cc

     
  • Cesar Strauss

    Cesar Strauss - 2011-10-22
    • milestone: 519165 -->
    • assigned_to: earnie --> cstrauss
    • status: open --> closed-accepted
     
  • Cesar Strauss

    Cesar Strauss - 2011-10-22

    It seems the issue is already fixed in the latest version.

    Thanks for the patch.

    Regards,

    Cesar

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks