[Bug 268968] luasocket truncates unix socket name
Date: Sun, 15 Jan 2023 07:31:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268968 Bug ID: 268968 Summary: luasocket truncates unix socket name Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: hugh@ccss.com Created attachment 239480 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239480&action=edit patch: Add PLAT definition to ports Makefile. Full disclosure: I am not (yet) a FreeBSD user. But this issue has been discussed in a prosody-im chat room. This issue can be verified by running: - lua54 /usr/ports/net/luasocket/work-lua54/luasocket-3.1.0/test/utestsrvr.lua Then killing the process as it waits for client connection. From the source of utestsrv.lua, the program should create a socket named "luasocket" in the current directory. Instead it creates a socket named "luasocke" (one character truncation). The problem can be fixed by adding "PLAT=freebsd" to the "MAKE_ARGS" definition in the ports Makefile. Patch attached. -- You are receiving this mail because: You are the assignee for the bug.