[BACK]Return to entries.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/entries.c between version 1.89 and 1.90

version 1.89, 2008/02/09 17:01:43 version 1.90, 2008/02/09 20:04:00
Line 317 
Line 317 
         xfree(l);          xfree(l);
 }  }
   
   /*
    * cvs_ent_line_str()
    *
    * Build CVS/Entries line.
    *
    */
   void
   cvs_ent_line_str(const char *name, char *rev, char *tstamp, char *opts,
       char *sticky, int isdir, int isremoved, char *buf, size_t len)
   {
           if (isdir == 1) {
                   (void)xsnprintf(buf, len, "D/%s////", name);
                   return;
           }
   
           (void)xsnprintf(buf, len, "/%s/%s%s/%s/%s/%s",
               name, isremoved == 1 ? "-" : "", rev, tstamp, opts, sticky);
   }
   
 void  void
 cvs_ent_free(struct cvs_ent *ent)  cvs_ent_free(struct cvs_ent *ent)
 {  {

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90