Opened 4 months ago

Last modified 4 months 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:


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 4 months ago.

Download all attachments as: .zip

Change History (3)

Changed 4 months ago by caolan

comment:1 Changed 4 months 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 4 months 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.