Opened 8 years ago

Closed 7 years ago

#1352 closed defect (fixed)

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

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

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 McMahon 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Caolan McMahon

comment:1 Changed 8 years 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 8 years ago by Caolan McMahon

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.

comment:3 Changed 7 years ago by sjamaan

Estimated difficulty: trivial

I agree removing the resolution would be the better fix

comment:4 Changed 7 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

See unix-sockets 1.9 - I removed the relevant calls.

Note: See TracTickets for help on using tickets.