Avoid truncating the pathname to UNIX Domain Sockets with snprintf(),
commita666f6fbbe5110e76cfac9000fff257a56099754
authorpavalos <pavalos>
Sun, 4 Feb 2007 19:27:58 +0000 (4 19:27 +0000)
committerpavalos <pavalos>
Sun, 4 Feb 2007 19:27:58 +0000 (4 19:27 +0000)
tree78d8ee3dd8e0aa474c87fc9c7f8f5b8094ba8acc
parentc8bfebbbeba12020b7d1ce05721d55365f4e9ef3
Avoid truncating the pathname to UNIX Domain Sockets with snprintf(),
giving a more sensible warning when the (relatively meagre) sun_path
limit is exceeded.

Obtained-from:  FreeBSD
bin/cat/cat.c