Date: Thu, 2 Feb 2006 18:29:38 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup proto.c Message-ID: <200602021829.k12ITcEd005842@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2006-02-02 18:29:38 UTC
FreeBSD projects repository
Modified files:
csup proto.c
Log:
- Factor the code to escape and send a string in proto_escape().
- Both proto_unescape() and proto_escape() functions weren't handling
the '\r' character, this is now fixed.
- Use proto_escape() in proto_printf() for the %s format.
- Add two new formats for printing encoded file attributes. The %f
format just takes a struct fattr *, and the %F format allows to
specify the supported attributes, so it takes a struct fattr * and
a fattr_support_t.
Revision Changes Path
1.56 +84 -35 projects/csup/proto.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602021829.k12ITcEd005842>
