To: vim-dev@vim.org Subject: Patch 6.1.111 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.111 Problem: It's not possible to detect using the Unix sources on Win32 or Mac. Solution: Add has("macunix") and has("win32unix"). Files: runtime/doc/eval.txt, src/eval.c *** ../vim61.110/runtime/doc/eval.txt Fri Mar 22 21:18:36 2002 --- runtime/doc/eval.txt Sun May 12 22:39:01 2002 *************** *** 1,4 **** ! *eval.txt* For Vim version 6.1. Last change: 2002 Mar 21 VIM REFERENCE MANUAL by Bram Moolenaar --- 1,4 ---- ! *eval.txt* For Vim version 6.1. Last change: 2002 May 12 VIM REFERENCE MANUAL by Bram Moolenaar *************** *** 2492,2497 **** --- 2505,2511 ---- and the argument list |arglist|. localmap Compiled with local mappings and abbr. |:map-local| mac Macintosh version of Vim. + macunix Macintosh version of Vim, using Unix files (OS-X). menu Compiled with support for |:menu|. mksession Compiled with support for |:mksession|. modify_fname Compiled with file name modifiers. |filename-modifiers| *************** *** 2560,2565 **** --- 2574,2580 ---- winaltkeys Compiled with 'winaltkeys' option. win16 Win16 version of Vim (MS-Windows 3.1). win32 Win32 version of Vim (MS-Windows 95/98/ME/NT/2000/XP). + win32unix Win32 version of Vim, using Unix files (Cygwin) win95 Win32 version for MS-Windows 95/98/ME. writebackup Compiled with 'writebackup' default on. xfontset Compiled with X fontset support |xfontset|. *** ../vim61.110/src/eval.c Sun Jun 23 13:09:02 2002 --- src/eval.c Tue Jun 18 19:32:53 2002 *************** *** 4070,4075 **** --- 4070,4078 ---- #ifdef MACOS /* TODO: Should we add MACOS_CLASSIC, MACOS_X? (Dany) */ "mac", #endif + #if defined(MACOS_X_UNIX) + "macunix", + #endif #ifdef OS2 "os2", #endif *************** *** 4090,4095 **** --- 4093,4101 ---- #endif #ifdef WIN32 "win32", + #endif + #if defined(UNIX) && (defined(__CYGWIN32__) || defined(__CYGWIN__)) + "win32unix", #endif #ifdef WIN64 "win64", *** ../vim61.110/src/version.c Sun Jun 23 15:10:12 2002 --- src/version.c Sun Jun 23 21:27:57 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 111, /**/ -- GALAHAD: No. Look, I can tackle this lot single-handed! GIRLS: Yes, yes, let him Tackle us single-handed! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///