cvs commit: projects/csup proto.c

Maxime Henrion mux at FreeBSD.org
Thu Feb 2 10:29:39 PST 2006


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


More information about the cvs-projects mailing list