[redhat-lspp] Patch - CUPS local unix sockets
Steve Grubb
sgrubb at redhat.com
Tue Oct 18 16:00:53 UTC 2005
On Tuesday 18 October 2005 11:52, Matt Anderson wrote:
> Now that you mention UNIX_PATH_MAX I see there is a <linux/un.h> which has
> that #define and essentially the same data structure. I'll add some logic
> to the runtime version to use that if available.
I'd just do
strlcpy(temp->address.sun_path, value, sizeof(temp->address.sun_path));
and not worry.
-Steve
More information about the redhat-lspp
mailing list