cvs commit: projects/csup proto.c
Maxime Henrion <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.projects |
|---|---|
| Message-ID | <200602021829.k12ITcEd005842__28425.1282610514$1138905098$gmane$org@repoman.freebsd.org> |
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-projects
To unsubscribe, send any mail to "[email protected]"