Searched defs:filename_try (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/zlib-1.2.6/contrib/minizip/
H A Dminizip.c255 char filename_try[MAXFILENAME+16]; local
324 strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1);
326 filename_try[ MAXFILENAME ] = '\0';
328 len=(int)strlen(filename_try);
330 if (filename_try[i]=='.')
334 strcat(filename_try,".zip");
339 if (check_exist_file(filename_try)==0)
344 if (check_exist_file(filename_try)!=0)
351 printf("The file %s exists. Overwrite ? [y]es, [n]o, [a]ppend : ",filename_try);
376 zf = zipOpen2_64(filename_try,(opt_overwrit
[all...]
H A Dminiunz.c541 char filename_try[MAXFILENAME+16] = ""; local
609 strncpy(filename_try, zipfilename,MAXFILENAME-1);
611 filename_try[ MAXFILENAME ] = '\0';
621 strcat(filename_try,".zip");
623 uf = unzOpen2_64(filename_try,&ffunc);
625 uf = unzOpen64(filename_try);
635 printf("%s opened\n",filename_try);

Completed in 821 milliseconds