This is the mail archive of the cygwin-apps@sources.redhat.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]

Re: vim-5.7-2 (Bugfix-version) available for testing


On Thu, 06 Jul 2000 11:17:48 +0200, you wrote:

>Chris Faylor wrote:
>> Doesn't this just revert to one fopen() somewhere?  I don't see how my
>> recent changes help the problem.
>

I just checked how vim reacts when linked to textmode.o (sorry for the
delay, I was ill and bound to my bed)

The behaviour is exactly as Corinna thougt, vim runs perfectly now and
without any need for additional patches. It now does not complain
anymore about ^M's in it's config files anymore.

vim -b still works fine, it seems to me that the open's for the text
to edit is handled by fopen(always binary) and that open is used for
it's own config-files.

>IMO, your new binmode/textmode stuff is the better solution
>since it allows to use the application without changing
>the sources.

Some comments:

I updated from cvs perhaps an hour ago and rebuilt cygwin1.dll. 
After installing I found a binmode.o in /usr/lib but could not find
textmode.o. I checked the makefile and yes, only binmode.o is
mentioned in the install rule.

Is that on purpose?


all_target: 

$(LIBGMON_A) $(LIB_NAME) binmode.o textmode.o

all_host: new-$(LIB_NAME) cygrun.exe

force:

install: all $(install_host) $(install_target)
        $(INSTALL_DATA) new-$(DLL_NAME) $(bindir)/$(DLL_NAME); \
        for i in $(LIB_NAME) $(GMON_START) $(LIBGMON_A) binmode.o ; do
\

Michael.


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