search for: er_cnt

Displaying 1 result from an estimated 1 matches for "er_cnt".

2002 Jun 18
3
FINDNEXT problem, w2k and linux smbfs
...ed to test this problem on w2k and Linux */ import java.util.*; import java.io.*; public class SMBtest { public static void main(String args[]) { String directory = args[0]; File orig_dir = new File(directory); File orig_fl[] = orig_dir.listFiles(); int orig_len = orig_fl.length; int cnt = 0; int er_cnt = 0; do { File new_dir = new File(directory); File new_fl[] = new_dir.listFiles(); int new_len = new_fl.length; cnt ++; if (new_len != orig_len) { er_cnt ++; System.out.print(" new:" + new_len + "!= old:" + orig_len + " "); } new_d...