This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unix/DOS text mode?


At 23:43 22-11-2001, you wrote:
>I'm all with it but please drop the usage of __CYGWIN32__.  It's
>depricated.  I will send a patch to vim-dev which drops all other
>__CYGWIN32__ in favour of __CYGWIN later.

Okay.  I saw three different Cygwin checks in the header files, so I 
decided to go with the safest one.

Here's a new patch.

  - Michael

-------------------------8<-------------------------
--- ORIG/option.h       Thu Nov 22 23:10:21 2001
+++ option.h    Thu Nov 22 23:49:07 2001
@@ -67,7 +67,11 @@
  # else
  #  define DFLT_FF      "unix"
  #  define DFLT_FFS_VIM "unix,dos"
-#  define DFLT_FFS_VI  ""
+#  ifdef __CYGWIN__
+#   define DFLT_FFS_VI "unix,dos"      /* Cygwin always needs file 
detection */
+#  else
+#   define DFLT_FFS_VI ""
+#  endif
  #  define DFLT_TEXTAUTO        FALSE
  # endif
  #endif
------------------------->8-------------------------

Attachment: ff_patch
Description: Binary data


-- 
     I always wondered about the meaning of life.   So I looked it
     up in the dictionary under "L" and there it was - the meaning
     of life.  It was not what I expected.                  - Dogbert 
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]