CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/03/15 04:05:09
Modified files:
usr.bin/sndiod : listen.c listen.h sndiod.c
lib/libsndio : amsg.h
Log message:
sndiod: Simplify unix socket binding code
Use sizeof(sockaddr_un->sun_path) instead of the complicated
calculation of the max socket path length.
Use the socket's address family to determine if this is an Unix
socket: no need to store the path, allocate memory for it, then
remember to free it.
ok armani@
