bugGNU roff - Bugs: bug #42151, [pic] accept CRLF newline...

 
 

bug #42151: [pic] accept CRLF newline convention as eqn and tbl do

Submitter:  None
Submitted:  Sun 20 Apr 2014 03:25:17 PM UTC
   
 
Category:  Preprocessor pic Severity:  3 - Normal
Item Group:  Feature change Status:  Fixed
Privacy:  Public Assigned to:  wl
Open/Closed:  Closed Planned Release:  1.22.3
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 22 Jan 2022 01:38:11 PM UTC, comment #2: 


commit 1b5af3cc0b05ac1c64814f31af44f4429c87e41d
Author:     Doug McIlroy <doug@cs.dartmouth.edu>
AuthorDate: Sun Oct 19 22:57:53 2014 +0200
Commit:     Werner Lemberg <wl@gnu.org>
CommitDate: Sun Oct 19 22:59:53 2014 +0200

    Fix Savannah bug #42151.

    * src/preproc/eqn/lex.cpp (file_input::read_line): Handle CR/LF.
    * src/preproc/pic/pic.cpp (file_input::read_line): Ditto.


G. Branden Robinson <gbranden>
Group administrator
Sun 19 Oct 2014 09:00:35 PM UTC, comment #1: 

I've applied your patch, thanks!

Werner LEMBERG <wl>
Group administrator
Sun 20 Apr 2014 03:25:17 PM UTC, original submission:  

Plain groff accepts Windows-style CRLF line terminators besides the Unix standard LF. So does groff -t. But groff -e and groff -p
do not. (I have not tried other preprocessors.)

This inconsistency is easy to work around, but hard to defend.

Doug McIlroy
-email is unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by wl
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-22 gbranden CategoryNone Preprocessor pic
        Item GroupNone Feature change
        Summaryinconsistent treatment of CRLF [pic] accept CRLF newline convention as eqn and tbl do
    2014-10-19 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.22.3
        Carbon-Copy- Added doug mcilroy <doug@cs.dartmouth.edu>

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code