Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2017 19:43:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222149] [PATCH] x11/tilda: uses wrong ps flag on start
Message-ID:  <bug-222149-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222149

            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@FreeBSD.org
          Reporter: iluxa@ex.ua
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Keywords: patch

Created attachment 186177
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186177&action=
=3Dedit
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 p=
id,
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[] =3D "ps -C tilda -o pid=3D";"

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222149-13>