Opened 7 weeks ago

Last modified 6 weeks ago

#1352 new defect

unix-sockets egg uses deprecated(?) ##sys#pathname-resolution api

Reported by: caolan Owned by:
Priority: major Milestone: someday
Component: extensions Version: 4.12.0
Keywords: Cc:
Estimated difficulty:

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.

Attachments (1)

unix-sockets-path-resolution.diff (1.6 KB) - added by caolan 7 weeks ago.

Download all attachments as: .zip

Change History (3)

Changed 7 weeks ago by caolan

comment:1 Changed 6 weeks ago by kooda

To me, it should just stop calling ##sys#pathname-resolution or anything of the sort.

Magic functions like that tend to cause security problems.

comment:2 Changed 6 weeks ago by caolan

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.

Note: See TracTickets for help on using tickets.