home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.003 < prev    next >
Encoding:
Internet Message Format  |  2001-09-26  |  2.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.003
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 6.0.003
  8. Problem:    The configure check for ACLs on AIX doesn't work.
  9. Solution:   Fix the test program so that it compiles. (Tomas Ogren)
  10. Files:        src/configure.in, src/auto/configure
  11.  
  12.  
  13. *** ../vim60.1/src/configure.in    Mon Sep 10 11:39:13 2001
  14. --- src/configure.in    Thu Sep 27 22:19:52 2001
  15. ***************
  16. *** 1760,1771 ****
  17.   # include <sys/access.h>
  18.   #endif
  19.   #define _ALL_SOURCE
  20. ! #ifdef HAVE_SYS_STAT_H
  21. ! # include <sys/stat.h>
  22. ! #endif
  23.   int aclsize;
  24.   struct acl *aclent;], [aclsize = sizeof(struct acl);
  25. !     aclent = malloc(aclsize);
  26.       statacl("foo", STX_NORMAL, aclent, aclsize);
  27.       ],
  28.       AC_MSG_RESULT(yes); AC_DEFINE(HAVE_AIX_ACL),
  29. --- 1760,1771 ----
  30.   # include <sys/access.h>
  31.   #endif
  32.   #define _ALL_SOURCE
  33. ! #include <sys/stat.h>
  34.   int aclsize;
  35.   struct acl *aclent;], [aclsize = sizeof(struct acl);
  36. !     aclent = (void *)malloc(aclsize);
  37.       statacl("foo", STX_NORMAL, aclent, aclsize);
  38.       ],
  39.       AC_MSG_RESULT(yes); AC_DEFINE(HAVE_AIX_ACL),
  40. *** ../vim60.1/src/auto/configure    Mon Sep 10 11:39:17 2001
  41. --- src/auto/configure    Thu Sep 27 22:20:19 2001
  42. ***************
  43. *** 6085,6098 ****
  44.   # include <sys/access.h>
  45.   #endif
  46.   #define _ALL_SOURCE
  47. ! #ifdef HAVE_SYS_STAT_H
  48. ! # include <sys/stat.h>
  49. ! #endif
  50.   int aclsize;
  51.   struct acl *aclent;
  52.   int main() {
  53.   aclsize = sizeof(struct acl);
  54. !     aclent = malloc(aclsize);
  55.       statacl("foo", STX_NORMAL, aclent, aclsize);
  56.       
  57.   ; return 0; }
  58. --- 6085,6098 ----
  59.   # include <sys/access.h>
  60.   #endif
  61.   #define _ALL_SOURCE
  62. ! #include <sys/stat.h>
  63.   int aclsize;
  64.   struct acl *aclent;
  65.   int main() {
  66.   aclsize = sizeof(struct acl);
  67. !     aclent = (void *)malloc(aclsize);
  68.       statacl("foo", STX_NORMAL, aclent, aclsize);
  69.       
  70.   ; return 0; }
  71. *** ../vim60.1/src/version.c    Thu Sep 27 22:16:49 2001
  72. --- src/version.c    Thu Sep 27 22:17:59 2001
  73. ***************
  74. *** 608,609 ****
  75. --- 608,611 ----
  76.   {   /* Add new patch number below this line */
  77. + /**/
  78. +     3,
  79.   /**/
  80.  
  81. -- 
  82. Tips for aliens in New York: Land anywhere.  Central Park, anywhere.
  83. No one will care or indeed even notice.
  84.         -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
  85.  
  86.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  87. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  88.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  89.