#8898: some files in sage-4.4.{0,1} have dos line ending instead of a unix line
ending
-------------------------------+--------------------------------------------
   Reporter:  fbissey          |       Owner:  jason       
       Type:  defect           |      Status:  needs_review
   Priority:  trivial          |   Milestone:  sage-4.5.3  
  Component:  misc             |    Keywords:              
     Author:  Minh Van Nguyen  |    Upstream:  N/A         
   Reviewer:                   |      Merged:              
Work_issues:                   |  
-------------------------------+--------------------------------------------
Changes (by newvalueoldvalue):

 * cc: fredrik.johansson (added)
  * priority:  minor => trivial
  * status:  new => needs_review
  * author:  => Minh Van Nguyen


Old description:

> the following 4 files in the sage spkg have dos line ending rather than
> unix ones:
> sage/libs/mpmath/ext_impl.pxd
> sage/libs/mpmath/ext_main.pyx
> sage/libs/mpmath/ext_main.pxd
> sage/libs/mpmath/ext_libmp.pyx
>
> I found about this while trying to build sage with python-2.6.5
> which absolutely refused to parse these files as is.
> Not sure how to submit a patch for line endings.

New description:

 the following 4 files in the sage spkg have dos line ending rather than
 unix ones:

  * sage/libs/mpmath/ext_impl.pxd
  * sage/libs/mpmath/ext_main.pyx
  * sage/libs/mpmath/ext_main.pxd
  * sage/libs/mpmath/ext_libmp.pyx

 I found about this while trying to build sage with python-2.6.5
 which absolutely refused to parse these files as is.
 Not sure how to submit a patch for line endings.

--

Comment:

 The attached patch converts the following files to use Unix line endings:

  * `sage/libs/mpmath/ext_impl.pxd`
  * `sage/libs/mpmath/ext_main.pyx`
  * `sage/libs/mpmath/ext_main.pxd`
  * `sage/libs/mpmath/ext_libmp.pyx`
  * `sage/logic/booleval.py`

 I used the Perl script at

 http://www.obviously.com/tech_tips/dos2unix.html

 to convert to Unix end lines. Fredrik Johansson is a main developer of
 mpmath. I have CC'd him so he is aware of this Unix line endings issue.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8898#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to