[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OT: ^L in source (was Re: wrong line endings in a gnustep file)
From: |
Eric Christopherson |
Subject: |
OT: ^L in source (was Re: wrong line endings in a gnustep file) |
Date: |
Sat, 23 Aug 2003 10:19:38 -0500 |
User-agent: |
Mutt/1.5.4i |
On Fri, Aug 22, 2003 at 10:58:16PM -0700, Gregory John Casamento wrote:
> --- Riccardo Mottola <multix@ngi.it> wrote:
> > Hello
> >
> > gui/Tools/gsnd/portaudio/pa_common/portaudio.h
> >
> > has wrong line endings, I see ^M overall when opening it with VI (or using
> > cat -v).
> > Yes I did a clean checkout and other files are OK, so this one is bad.
> >
> > and yes, it happens on another platform too.
>
> Sounds like it might have been saved at some point with a DOS/Windows editor.
Only somewhat relatedly, I've been wondering about some source code I've seen
that has ^L (i.e. ctrl-L, ASCII 12) in it. I've seen it in some of the
GNUstep sources but also some other projects' code. What does it do in a C
source file? Does the compiler (or preprocessor) just ignore it?
--
Furrfu! r a k k o at c h a r t e r dot n e t