[cvsnt] src\release.c
Alexey Panchenko
alexey_panchenko at mail.ru
Thu Mar 27 11:16:12 GMT 2003
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