[Portland-bugs] [Bug 104298] New: xdg-utils-1.1.2 xdg-mime awk script syntax error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 17 01:07:06 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=104298

            Bug ID: 104298
           Summary: xdg-utils-1.1.2 xdg-mime awk script syntax error
           Product: Portland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs at lists.freedesktop.org
          Reporter: sergamena at inbox.ru

Created attachment 136236
  --> https://bugs.freedesktop.org/attachment.cgi?id=136236&action=edit
awk-length.patch

I got multiple awk errors when tried to use xdg-utils and xdg-settings. For
example:

$~ xdg-mime query default text/html
awk: cmd. line:13: Unexpected token
awk: cmd. line:13: Unexpected token
awk: cmd. line:13: Unexpected token
firefox.desktop

After some testing I've found the reason: awk funnction "length" is used
without parenthesis which is unsupported by gawk. I've created simple patch to
fix this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20171217/703b01cd/attachment.html>


More information about the Portland-bugs mailing list