bugGNU Screen - Bugs: bug #23939, screen -xRR versus screen -RRx,...

 
 

bug #23939: screen -xRR versus screen -RRx, rflag funkiness

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Sat 26 Jul 2008 06:32:11 PM UTC  
 
Category: Program LogicSeverity: 2 - Minor
Priority: 5 - NormalStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: Later
Work Required: 0 - Hours

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 07 Sep 2009 03:27:20 AM UTC, comment #3:

This is a bit more complete. It removes the possibility of rflag being equal to 3, the behavior of which, AFAICT, isn't defind.

Any -R overrides any -r.

Multiple/extra instances of -r are ignored (-rr is the same as -r).

There is still an implicit -r with -x.

Max Kalashnikov <maxkalashnikov>
Sat 29 Aug 2009 06:09:35 PM UTC, comment #2:

Thanks, Max; but file-scope (statically-allocated) variables are automatically initialized to zero; only automatically-allocated variables (stack storage) require explicit initialization; this change wouldn't alter behavior.

Micah Cowan <micahcowan>
Project Member
Sat 29 Aug 2009 03:01:51 AM UTC, comment #1:

In screen.c:

This appears to add to rflag, which might not already be initialized, accounting for inconsistency.

Patch attached.

(file #18656)

Max Kalashnikov <maxkalashnikov>
Sat 26 Jul 2008 06:32:11 PM UTC, original submission:

http://lists.gnu.org/archive/html/screen-users/2008-07/msg00080.html

Micah Cowan <micahcowan>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #18656:  screen-rflag.diff added by maxkalashnikov (313B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by maxkalashnikov (Updated the item)
  • -unavailable- added by micahcowan (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 29 Aug 2009 03:01:51 AM UTCmaxkalashnikovAttached File-=>Added screen-rflag.diff, #18656
    Sun 22 Feb 2009 03:43:17 AM UTCmicahcowanPlanned Release4.1.0=>Later

    Back to the top


    Powered by Savane 3.1-cleanup