Loading ...
Sorry, an error occurred while loading the content.

15234RE: Vim 6.0h: Win32 compile problem

Expand Messages
  • Brent Fulgham
    Sep 1, 2000
    • 0 Attachment
      Vimmer's:

      This patch solves my problem.

      Thanks,

      -Brent

      ---------------------------------------------------------------


      *** os_win32.c~ Fri Sep 1 09:18:10 2000
      --- os_win32.c Fri Sep 1 09:15:30 2000
      ***************
      *** 1940,1945 ****
      --- 1940,1947 ----
      {
      struct my_acl *p;

      + /* This only works on Windows NT and 2000. */
      + #if defined(_WIN32_WINNT)
      p = (struct my_acl *)alloc_clear((unsigned)sizeof(struct my_acl));
      if (p != NULL)
      {
      ***************
      *** 1962,1967 ****
      --- 1964,1973 ----
      p = NULL;
      }
      }
      + #else
      + p = NULL;
      + #endif
      +
      return (vim_acl_t)p;
      }

      ***************
      *** 1976,1981 ****
      --- 1982,1989 ----
      {
      struct my_acl *p = (struct my_acl *)acl;

      + /* This only works on Windows NT and 2000. */
      + #if defined(_WIN32_WINNT)
      if (p != NULL)
      (void)SetNamedSecurityInfo(
      (LPTSTR)fname, // Abstract filename
      ***************
      *** 1990,1995 ****
      --- 1998,2004 ----
      p->pDacl, // Discretionary
      information.
      p->pSacl // For auditing purposes.
      );
      + #endif
      }

      void
    • Show all 16 messages in this topic