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 / unstable / patches / 6.1a.038 < prev    next >
Encoding:
Internet Message Format  |  2002-03-07  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1a.038
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1a.038
  11. Problem:    Solaris: Including both sys/sysctl.h and sys/sysinfo.h doesn't
  12.             work. (Antonio Colombo)
  13. Solution:   Don't include sys/sysinfo.h when not calling sysinfo().
  14. Files:      src/os_unix.c
  15.  
  16.  
  17. *** ../vim61a.037/src/os_unix.c    Thu Mar  7 20:14:43 2002
  18. --- src/os_unix.c    Fri Mar  8 20:58:41 2002
  19. ***************
  20. *** 412,421 ****
  21.   # ifdef HAVE_SYS_RESOURCE_H
  22.   #  include <sys/resource.h>
  23.   # endif
  24. ! # ifdef HAVE_SYS_SYSCTL_H
  25.   #  include <sys/sysctl.h>
  26.   # endif
  27. ! # ifdef HAVE_SYS_SYSINFO_H
  28.   #  include <sys/sysinfo.h>
  29.   # endif
  30.   
  31. --- 412,421 ----
  32.   # ifdef HAVE_SYS_RESOURCE_H
  33.   #  include <sys/resource.h>
  34.   # endif
  35. ! # if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTL)
  36.   #  include <sys/sysctl.h>
  37.   # endif
  38. ! # if defined(HAVE_SYS_SYSINFO_H) && defined(HAVE_SYSINFO)
  39.   #  include <sys/sysinfo.h>
  40.   # endif
  41.   
  42. *** ../vim61a.037/src/version.c    Fri Mar  8 20:53:46 2002
  43. --- src/version.c    Fri Mar  8 20:56:08 2002
  44. ***************
  45. *** 608,609 ****
  46. --- 608,611 ----
  47.   {   /* Add new patch number below this line */
  48. + /**/
  49. +     38,
  50.   /**/
  51.  
  52. -- 
  53. $ echo pizza > /dev/oven
  54.  
  55.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  56. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  57. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  58.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  59.