THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Slick (SlickDude)
Attached to Project - awesome
Summary - Menubar and Luajit2 Error
Task Type - Bug Report
Category - Lua libraries
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - This is more of a bug notification than a standard bug report due to
Luajit not being officially used in awesome I just would like you guys to be
aware of it.
Apparently due to how the author of Luajit interprets the lines() function this
function from the new Menubar code fails when one uses Luajit as a backend.
Standard Lua works fine with this code however.
lib/menubar/utils.lua.in
function parse_dir(dir)
local programs = {}
local files = io.popen('find '.. dir ..' -maxdepth 1 -name
"*.desktop"'):lines()
for file in files do
table.insert(programs, parse(file))
end
return programs
end
The short explanation can be found here:
http://lua-users.org/lists/lua-l/2010-03/msg00330.html
and the long version here:
http://lua-users.org/lists/lua-l/2010-03/msg00250.html
More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=979
You are receiving this message because you have requested it from the Flyspray
bugtracking system. If you did not expect this message or don't want to
receive mails in future, you can change your notification settings at the URL
shown above.
--
To unsubscribe, send mail to [email protected].