|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-08-08 18:04:00
Long story -- I've been working with a .cvsrc on my windows machine which
contains:
cvs -z9 --lf
Which tells it to use unix newlines. That's because I was working with a
cross-mounted CVS tree on a linux machine for a while. However, when I make
a new file it starts with DOS line endings unless I say otherwise. So I've
been checking in a lot of files with DOS line endings by mistake. I correct
them as I find them, but haven't been systematic. It's time I removed
the --lf from my .cvsrc, but I have to get a fresh CVS tree in order to do
that.
-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com
----- Original Message -----
From: "Beman Dawes" <bdawes_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, August 08, 2002 3:58 PM
Subject: [boost] Line endings in source files
> Following up on an earlier discussion, I wrote a little script to check
> line endings in Boost files. See below for the files found to have at
> least one '\r' line ending.
>
> In checking a few of these to make sure the script was correct, I noticed
> line endings in the form "\r\r\n". In hex, 0D 0D 0A.
>
> What's happening here? This isn't a form I'm familiar with.
>
> Jeremy, Dave? Do you guys have your own standard for line
terminations:-?
>
> (The plan was to convert '\r' endings to "\r\n", but I don't want to do
> that without hearing from the file's originators to make sure "\r\r\n"
> isn't something they really want in their files.)
>
> --Beman
>
>
> boost/dynamic_bitset.hpp
> boost/graph/detail/intset.hpp
> boost/integer/static_log2.hpp
> boost/integer_traits.hpp
> boost/python/borrowed.hpp
> boost/python/converter/constructor_function.hpp
> boost/python/converter/convertible_function.hpp
> boost/python/converter/pyobject_type.hpp
> boost/python/converter/pytype_arg_from_python.hpp
> boost/python/converter/registered.hpp
> boost/python/converter/registered_pointee.hpp
> boost/python/detail/construct.hpp
> boost/python/detail/decorated_type_id.hpp
> boost/python/detail/dependent.hpp
> boost/python/detail/force_instantiate.hpp
> boost/python/detail/module_base.hpp
> boost/python/detail/raw_pyobject.hpp
> boost/python/detail/void_return.hpp
> boost/python/dict.hpp
> boost/python/object/add_to_namespace.hpp
> boost/python/object/py_function.hpp
> boost/python/object_call.hpp
> boost/python/object_fwd.hpp
> boost/python/self.hpp
> boost/python/slice_nil.hpp
> boost/python/str.hpp
> boost/python/tag.hpp
> boost/python/tuple.hpp
> libs/lambda/test/phoenix_control_structures.cpp
> libs/python/src/dict.cpp
> libs/python/src/str.cpp
> libs/python/src/tuple.cpp
> libs/python/test/cltree.cpp
> libs/python/test/dict.cpp
> libs/python/test/str.cpp
> libs/python/test/tuple.cpp
> tools/build/test/m1-01/Jamfile
> tools/build/test/m1-02/auxillary/Jamfile
> tools/build/test/m1-02/Jamfile
> tools/build/test/m1-03/p1/auxillary/Jamfile
> tools/build/test/m1-03/p1/Jamfile
> tools/build/test/m1-03/p2/Jamfile
> tools/build/test/project-test1/dir/Jamfile
> tools/build/test/project-test1/dir2/Jamfile
> 1601 files scanned
> 44 files with CR line endings
>
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk