URL:
  <http://savannah.gnu.org/bugs/?50440>

                 Summary: -L command line option decoding is broken
                 Project: GNU Screen
            Submitted by: paravz
            Submitted on: Fri 03 Mar 2017 12:42:58 AM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.5.0
           Fixed Release: None
         Planned Release: None
           Work Required: None

    _______________________________________________________

Details:

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






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50440>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to