1
0
mirror of https://github.com/janet-lang/janet synced 2025-12-13 20:18:06 +00:00

Address issue #1558

Don't attempt SO_REUSEPORT on unix domain sockets since it doesn't make
sense and may cause a failure to bind without extra effort by the
programmer.
This commit is contained in:
Calvin Rose
2025-02-07 21:04:17 -06:00
parent 5f550ea5d4
commit 9a892363a3
3 changed files with 15 additions and 5 deletions

View File

@@ -2283,7 +2283,7 @@
(def rawget (if (= tx :struct) struct/rawget table/rawget))
(var ret false)
(eachp [k v] x
(if (deep-not= (rawget y k) v) (break (set ret true))))
(if (deep-not= (rawget y k) v) (break (set ret true))))
ret))
(= tx :buffer) (not= 0 (- (length x) (length y)) (memcmp x y))
(not= x y))))