bugGNU troff - Bugs: bug #51376, Bug in the request...

 
 

bug #51376: Bug in the request "itc"; makes request "it" behave the same way

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Mon 03 Jul 2017 09:30:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Incorrect behaviourStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 25 Aug 2017 10:14:53 PM UTC, comment #2:

Commited, thanks,

Bertrand Garrigues <bgarrigues>
Project Administrator
Fri 14 Jul 2017 05:35:30 PM UTC, comment #1:

The following patch eliminated the symptoms from the test case:

Bjarni Ingi Gislason <bjarniig>
Mon 03 Jul 2017 09:30:50 PM UTC, original submission:

The request "itc" lets the request "it" behave like itself

Discovered in "groff_hdtbl(7)" while using "itc" in some macros in
"an-old.tmac".

Constructed file for a test case is:

.de R
.ft R
..
.
.pl 5
.ft B
Something
is
.\" also change .itc into .it
.itc 1 R
in\c
the
air.
.ft B
.it 1 R
In\c
the
air
.br
.ft B
Something
is
.it 1 R
in\c
the
air.
.ft B
.it 1 R
In\c
the
air

Run with "nroff <test-file>" (both versions)

To me, it looks like that the variable "curenv->continued_input_trap " in
the file "groff/src/roff/troff/env.cpp" is never reset.

Bjarni Ingi Gislason <bjarniig>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bgarrigues (Posted a comment)
  • -unavailable- added by bjarniig (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 25 Aug 2017 10:14:53 PM UTCbgarriguesItem GroupNone=>Incorrect behaviour
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1