bugGNU Screen - Bugs: bug #50440, -L command line option decoding is...

 
 

bug #50440: -L command line option decoding is broken

Submitted by:  Alec Istomin <paravz>
Submitted on:  Fri 03 Mar 2017 12:42:58 AM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.5.0
Fixed Release: 4.5.1Planned Release: None
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 03 Mar 2017 08:23:11 AM UTC, comment #2:

Actually the commit you linked is the one "fixing" it.

Idea was for -L to acceps 'logfile' parameter, but it's better as separate option, which this commit introduces.

Amadeusz Sławiński <amade>
Project Administrator
Fri 03 Mar 2017 07:08:04 AM UTC, comment #1:

This should be fixed in screen 4.5.1. This version is already in Fedora 25.

use: sudo dnf --enablerepo=updates-testing upgrade screen

Josef Ridky <jridky>
Fri 03 Mar 2017 12:42:58 AM UTC, original submission:

screen 4.5.0 broke the functionality of '-L' (4.4.0 didn't have this issue)

To reproduce: run screen with -L followed by any other parameter:
$ screen -L -S x
-L: logfile name can not start with "-" symbol

If "-L" is at the end of the options string (or a single parameter) all works as expected:
$ screen -S x -L
$ screen -L

Observed in fedora 25's 4.5.0

PS: I suspect strcmp is at fault in http://git.savannah.gnu.org/cgit/screen.git/commit/?id=edd936db20b240128c52fdbb1cfdbd35be764fa1

Alec Istomin <paravz>

 

(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 amade (Posted a comment)
  • -unavailable- added by jridky (Posted a comment)
  • -unavailable- added by paravz (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 03 Mar 2017 08:23:11 AM UTCamadeStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.5.1

    Back to the top


    Powered by Savane 3.1-cleanup1