diff --git a/crypto777/OS_portable.c b/crypto777/OS_portable.c index 3c2340301..122bb8f3b 100755 --- a/crypto777/OS_portable.c +++ b/crypto777/OS_portable.c @@ -141,13 +141,13 @@ int32_t OS_portable_rmdir(char *dirname,int32_t diralso) sprintf(cmdstr,"rm -rf %s",tmp); if ( system(cmdstr) != 0 ) printf("error deleting dir.(%s)\n",cmdstr); - sprintf(cmdstr,"mkdir %s",tmp); - if ( system(cmdstr) != 0 ) - printf("error deleting dir.(%s)\n",cmdstr); + //sprintf(cmdstr,"rmdir %s",tmp); + //if ( system(cmdstr) != 0 ) + // printf("error deleting dir.(%s)\n",cmdstr); } else { - for (i=0; i<=16; i++) + //for (i=0; i<=16; i++) { //if ( i < 16 ) // sprintf(cmdstr,"rm %s/%c*",tmp,i<10?'0'+i:'a'-10+i); diff --git a/crypto777/iguana_OS.c b/crypto777/iguana_OS.c index 589a865c9..342402e53 100755 --- a/crypto777/iguana_OS.c +++ b/crypto777/iguana_OS.c @@ -538,7 +538,7 @@ void OS_remove_directory(char *dirname) if ( (fp= fopen(OS_compatible_path(buf),"rb")) != 0 ) OS_removefile(buf,0); else fclose(fp); -printf("skip rmdir.(%s)\n",dirname); +//printf("skip rmdir.(%s)\n",dirname); return; sprintf(buf,"rmdir %s",dirname); if ( system(buf) != 0 )