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