Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cvs commit: projects/csup proto.c



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