[Bug 222149] [PATCH] x11/tilda: uses wrong ps flag on start

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 8 19:43:04 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222149

            Bug ID: 222149
           Summary: [PATCH] x11/tilda: uses wrong ps flag on start
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo at FreeBSD.org
          Reporter: iluxa at ex.ua
          Assignee: rodrigo at FreeBSD.org
             Flags: maintainer-feedback?(rodrigo at FreeBSD.org)
          Keywords: patch

Created attachment 186177
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186177&action=edit
Patch

Current port and package of tilda drop-down terminal use wrong "ps" flag on
start, when trying to search if it is already running and get its process pid,
but this flag works in a different way in FreeBSD ps utility (-C -- ignore
resident time for CPU percentage), than in GNU/Linux.

/usr/ports/x11/tilda/work/tilda-tilda-1.3.3/src/tilda.c:
"const gchar ps_command[] = "ps -C tilda -o pid=";"

Because of this, tilda starts settings wizard every time you launch it.

Attaching patch that will replace "ps -C tilda -o pid=" with "pgrep tilda",
after applying this patch, tilda works fine without any issues

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list