Avoid truncating the pathname to UNIX Domain Sockets with snprintf(),
commitbbd85c841ad761ab2ce1ef80f7c9e900ddbf757e
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 4 Feb 2007 19:27:58 +0000 (4 19:27 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 4 Feb 2007 19:27:58 +0000 (4 19:27 +0000)
tree15e41edeefa7fd8ccf1b9fc2ced01e0d3d39ad3f
parenta52f75d28da53eeed8ffc0da70262f88c91523f2
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