www.delorie.com/archives/browse.cgi | search |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |