[cvsnt] src\release.c

Alexey Panchenko alexey_panchenko at mail.ru
Thu Mar 27 11:16:12 GMT 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hello !

in src\release.c near line 213:

   tmp=xmalloc(strlen(thisarg)+1024);

   if(modified_files)
     sprintf (tmp,"You have [%d] altered files in this repository.\n", modified_files);
-----------------------
if (modified_files==0) then tmp contains garbage, strlen() returns
random value and there is some garbage at the beginning of prompt
message.
-----------------------
   sprintf(tmp+strlen(tmp),"Are you sure you want to release %sdirectory `%s': ",
     delete_flag ? "(and delete) " : export_flag?"(and export) " : "", thisarg);
  

-- 
Best regards,
 Alexey                          mailto:alexey_panchenko at mail.ru



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook