screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #50440] -L command line option decoding is broken


From: Alec Istomin
Subject: [screen-devel] [bug #50440] -L command line option decoding is broken
Date: Thu, 2 Mar 2017 19:42:59 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

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

[Prev in Thread] Current Thread [Next in Thread]