Summary
unix-sockets egg uses deprecated(?) ##sys#pathname-resolution api
Metadata
- Id: be6c4bbbccbf71c88d63cc56fcd52bd70de4cd5d
- Trac id: 1352
- Type: defect
- Reporter: caolan
- Owner:
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty: trivial
- Resolution: fixed
- Priority: major
- Milestone: someday
- Version: 4.12.0
- Changetime: 2017-08-30 12:07:46 UTC
- Created: 2017-03-12 08:35:21 UTC
- Keywords:
Attachments
- be6c4bbbccbf71c88d63cc56fcd52bd70de4cd5d/attachments/unix-sockets-path-resolution.diff
Description
The unix-connect and and unix-listen procedures call ##sys#pathname-resolution, which seems to have disappeared from recent CHICKEN releases. I'm working around this by using the pathname-expand egg to replace this call - See attached diff.
Changes and comments
[2017-03-12 08:35:41 UTC] caolan attached unix-sockets-path-resolution.diff (description=#f)
[2017-03-15 15:15:06 UTC] kooda wrote:
To me, it should just stop calling ##sys#pathname-resolution or anything of the sort.
Magic functions like that tend to cause security problems.
[2017-03-15 15:25:03 UTC] caolan wrote:
Removing that call also works for me - the pathname resolution would just move up into my own code, but I'm happy for the magic to live where I can see it. It would be a backwards incompatible change though, so a note in the changelog would be good if you decide to take that route.
[2017-08-25 14:54:26 UTC] sjamaan set difficulty to trivial
[2017-08-25 14:54:26 UTC] sjamaan wrote:
I agree removing the resolution would be the better fix
[2017-08-30 12:07:46 UTC] felix changed status from new to closed
[2017-08-30 12:07:46 UTC] felix set resolution to fixed
[2017-08-30 12:07:46 UTC] felix wrote:
See unix-sockets 1.9 - I removed the relevant calls.