Opened 15 months ago

Closed 9 months ago

#1352 closed defect (fixed)

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: trivial


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

Download all attachments as: .zip

Change History (5)

Changed 15 months ago by caolan

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

comment:3 Changed 9 months ago by sjamaan

  • Estimated difficulty set to trivial

I agree removing the resolution would be the better fix

comment:4 Changed 9 months ago by felix

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.