AW: [BUG] Multi-line macros in gcc broken with CR/LF
Michael.Ring@t-mobil.de
Michael.Ring@t-mobil.de
Fri Oct 13 06:21:00 GMT 2000
Chris Abbey wrote:
>
> At 10:27 10/12/00 -0700, Earnie Boyd wrote:
> >Interesting. I would be curious to see the output of `cygcheck -s -r -v'
> >pasted in a mail. Are you sure that *all* of your mount points are set for
> >binary processing? Including the pseudo mount point /cygdrive?
> >
> >The only reason I'm asking is that I use patch on a daily basis and
> >haven't had
> >problems.
>
> depending on how you use patch, might this be related to the pipe issue Chris
> very recently fixed? i.e. some people cat (or bzcat, etc) patches into the
> patch command, while others use the command options to specify source
location.
Yes. I use patch by redirecting the patches file to the input.
The problem that you get cr/lf at line endings is in patch.
the current patch uses NT-Environment vars (TMP or TEMP or TMPDIR). Normally the
directories that those env vars point to are accessed in textmode. Patch saves a
temporary file in TEMP, it gets cr/lf'ed then it seems to open the tmpfile again
in binmode ==> the result is a cr/lf'ed file.
I have provided a patched version as a test version in cygwin-apps, try this
version or simply unset TMP TEMP TMPDIR in your .profile
Hope that helps,
Michael Ring
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list