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

 
 

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

Submitter:  Alec Istomin <paravz>
Submitted:  Fri 03 Mar 2017 12:42:58 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.5.0
Fixed Release:  4.5.1 Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 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 amade (Posted a comment)
  • -email is unavailable- added by jridky (Posted a comment)
  • -email is unavailable- added by paravz (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-03 amade StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.5.1

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code