public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: [PATCH] Setup.exe "other URL" functionality
       [not found] <NCBBIHCHBLCMLBLOBONKOECACIAA.g.r.vansickle@worldnet.att.net>
@ 2002-01-01  4:35 ` Robert Collins
  0 siblings, 0 replies; 8+ messages in thread
From: Robert Collins @ 2002-01-01  4:35 UTC (permalink / raw)
  To: Gary R. Van Sickle, cygwin

Gary, it may be that the new files you gave me were in dos mode, and
that CVS is having trouble only with files that are in the repo in dos
mode.

I've run d2u on window.*, proppage.cc and propsheet.cc and checked them
in. (The whole file showed as changed).

Can you see if this has made life easier for you with cvs diff (only on
those 4 files).

Rob


--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] Setup.exe "other URL" functionality
  2001-12-28 17:14         ` Robert Collins
@ 2001-12-28 17:27           ` Christopher Faylor
  0 siblings, 0 replies; 8+ messages in thread
From: Christopher Faylor @ 2001-12-28 17:27 UTC (permalink / raw)
  To: cygwin

On Sat, Dec 29, 2001 at 10:07:16AM +1100, Robert Collins wrote:
>Won't that cause problems on textmode mounts?

It shouldn't.  A program sees \n line endings regardless.

In "text mode" the line endings can be either \r\n (CRLF) or \n (LF).
So, writing the program with just \n should be fine for everything
but some archaic Windows programs.

cgf

>===
>----- Original Message -----
>From: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
>To: <cygwin@sources.redhat.com>
>Sent: Saturday, December 29, 2001 1:44 AM
>Subject: Re: [PATCH] Setup.exe "other URL" functionality
>
>> 2001-12-28 15:43:22, du schriebst:
>>
>> > Isn't automode read-in-text, write in binary?
>>
>> Everything written is in binmode, regardless what type the
>> mounts are.

--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] Setup.exe "other URL" functionality
  2001-12-28  7:42       ` Gerrit P. Haase
@ 2001-12-28 17:14         ` Robert Collins
  2001-12-28 17:27           ` Christopher Faylor
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Collins @ 2001-12-28 17:14 UTC (permalink / raw)
  To: Gerrit P. Haase, cygwin

Won't that cause problems on textmode mounts?

Rob
===
----- Original Message -----
From: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
To: <cygwin@sources.redhat.com>
Sent: Saturday, December 29, 2001 1:44 AM
Subject: Re: [PATCH] Setup.exe "other URL" functionality


> Robert,
>
> 2001-12-28 15:43:22, du schriebst:
>
> > Isn't automode read-in-text, write in binary?
>
> Everything written is in binmode, regardless what type the
> mounts are.
>
> Gerrit
> --
>


------------------------------------------------------------------------
--------


>
>
> --
> 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/
>
>


--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] Setup.exe "other URL" functionality
  2001-12-28  6:53     ` Robert Collins
  2001-12-28  7:42       ` Gerrit P. Haase
@ 2001-12-28 10:42       ` Christopher Faylor
  1 sibling, 0 replies; 8+ messages in thread
From: Christopher Faylor @ 2001-12-28 10:42 UTC (permalink / raw)
  To: cygwin

On Sat, Dec 29, 2001 at 12:22:10AM +1100, Robert Collins wrote:
>Isn't automode read-in-text, write in binary?

Yes.

cgf

--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] Setup.exe "other URL" functionality
  2001-12-28  6:53     ` Robert Collins
@ 2001-12-28  7:42       ` Gerrit P. Haase
  2001-12-28 17:14         ` Robert Collins
  2001-12-28 10:42       ` Christopher Faylor
  1 sibling, 1 reply; 8+ messages in thread
From: Gerrit P. Haase @ 2001-12-28  7:42 UTC (permalink / raw)
  To: cygwin

 Robert,

2001-12-28 15:43:22, du schriebst:

> Isn't automode read-in-text, write in binary?

Everything written is in binmode, regardless what type the
mounts are.

Gerrit
-- 
begin  signature:
=^..^=
end


--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] Setup.exe "other URL" functionality
  2001-12-28  5:53   ` Gerrit P. Haase
@ 2001-12-28  6:53     ` Robert Collins
  2001-12-28  7:42       ` Gerrit P. Haase
  2001-12-28 10:42       ` Christopher Faylor
  0 siblings, 2 replies; 8+ messages in thread
From: Robert Collins @ 2001-12-28  6:53 UTC (permalink / raw)
  To: Gerrit P. Haase, cygwin

Isn't automode read-in-text, write in binary?

Rob
===
----- Original Message -----
From: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
To: <cygwin@sources.redhat.com>
Sent: Saturday, December 29, 2001 12:12 AM
Subject: Re: [PATCH] Setup.exe "other URL" functionality


> Robert,
>
> 2001-12-28 14:10:30, du schriebst:
>
> >>> Thanks. BTW: If you can identify what made that huge patch (my
money
> >>> is on indent 2.2.7 inserting ^M's)'s that would be handy.
>
> `indent' is linked against /lib/automode.o and adds nothing (at least
no ^M's).
>
> Gerrit
> --
> =^..^=
>
>
> --
> 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/
>
>


--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] Setup.exe "other URL" functionality
  2001-12-28  5:50 ` Robert Collins
@ 2001-12-28  5:53   ` Gerrit P. Haase
  2001-12-28  6:53     ` Robert Collins
  0 siblings, 1 reply; 8+ messages in thread
From: Gerrit P. Haase @ 2001-12-28  5:53 UTC (permalink / raw)
  To: cygwin

 Robert,

2001-12-28 14:10:30, du schriebst:

>>> Thanks. BTW: If you can identify what made that huge patch (my money
>>> is on indent 2.2.7 inserting ^M's)'s that would be handy.

`indent' is linked against /lib/automode.o and adds nothing (at least no ^M's).

Gerrit
-- 
=^..^=


--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] Setup.exe "other URL" functionality
       [not found] <NCBBIHCHBLCMLBLOBONKGEBKCIAA.g.r.vansickle@worldnet.att.net>
@ 2001-12-28  5:50 ` Robert Collins
  2001-12-28  5:53   ` Gerrit P. Haase
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Collins @ 2001-12-28  5:50 UTC (permalink / raw)
  To: Gary R. Van Sickle, cygwin

redirected to cygwin!

----- Original Message -----
From: "Gary R. Van Sickle" <g.r.vansickle@worldnet.att.net>


> > Thanks. BTW: If you can identify what made that huge patch (my money
is
> > on indent 2.2.7 inserting ^M's)'s that would be handy.
> >
> > Rob
>
> It's highly bizarre, but AFAICT it's not indent but rather something
wrong with
> "cvs diff".  Here's my investigation so far, I'm on all text mounts:
>
> Experiment 1:
> - mv my altered, indented "window.h" to "window.h.temp".  A hex editor
shows it
> to have the correct CRLF line endings (i.e. no extra CRs or something
like
> that).
> - do a clean checkout of cvs's window.h.  The file on my system also
shows
> correct CRLF line ends.
> - A "cvs diff" on the clean, just-checked-out source shows no
differences.
> - Do a "diff window.h window.h.temp" (not "cvs diff").  Shows only the
actual
> changes, not the entire file as being different.
> - Replace the unaltered "window.h" with my "window.h.temp", and the
"cvs
> diff -pu" shows every line of the file to be different.
> - Run "d2u" on my local "window.h", which is now the altered one.
"cvs
> diff -pu" *still* shows every line to be different!  (so does a plain
"cvs
> diff", no -pu).

I don't think that d2u does anything on text mounts. I may be wrong.
(Because, when it writes, cygwin inserts ^M's.)
When you open the unaltered file in vim, does it show [dos] in the
status line? Ditto for the indented file.

another thing to try:
grab a fresh window.h, where cvs diff shows nothing.
touch window.h - then try cvs diff again.

If this shows every line different, cvs/diff/rcs is broken with respect
to text mode. If this doesn't show every line different, I'll scratch my
head a little too.

Rob


--
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-01-01 12:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <NCBBIHCHBLCMLBLOBONKOECACIAA.g.r.vansickle@worldnet.att.net>
2002-01-01  4:35 ` [PATCH] Setup.exe "other URL" functionality Robert Collins
     [not found] <NCBBIHCHBLCMLBLOBONKGEBKCIAA.g.r.vansickle@worldnet.att.net>
2001-12-28  5:50 ` Robert Collins
2001-12-28  5:53   ` Gerrit P. Haase
2001-12-28  6:53     ` Robert Collins
2001-12-28  7:42       ` Gerrit P. Haase
2001-12-28 17:14         ` Robert Collins
2001-12-28 17:27           ` Christopher Faylor
2001-12-28 10:42       ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).