info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Forcing DOS line endings on checkout/update


From: Alleman, Lowell
Subject: RE: Forcing DOS line endings on checkout/update
Date: Tue, 31 Jul 2001 14:43:38 -0400

So were talking about either modifying the CVS source code, or linking to a
modified library......right?

I have a hard time believing that no one else has needed this feature
before. I'm surprised that there isn't some environmental variable that you
can just set, like 'CVS_ENV=DOS' which would setup the end of line modes.

Any ideas on the safest way to set this up without modifying CVS or the
libraries that it is linked to?  Has anybody else run up against this issue?

> -----Original Message-----
> From: Eric Siegerman [SMTP:address@hidden
> Sent: Tuesday, July 31, 2001 1:45 PM
> To:   CVS Mailing List (E-mail)
> Subject:      Re: Forcing DOS line endings on checkout/update
> 
> On Tue, Jul 31, 2001 at 11:35:07AM -0400, Alleman, Lowell wrote:
> > Is it possible to force cvs to use DOS line endings on a Unix-based
> machine?
> 
> It's not CVS itself, but rather the underlying C library, that's
> responsible for this conversion.  CVS just goes "putchar('\n')"
> (or fputs() or printf() or whatever), and the I/O routines
> translate that into the system's local convention (on Unix, of
> course, no translation need be done).
> 
> So it's not simply a matter of "turning on" an existing
> translation scheme, because there isn't one; it'd have to be
> written.
> 
> --
> 
> |  | /\
> |-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
> |  |  /
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea.
>       - RFC 1925 (quoting an unnamed source)
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]