Displaying 1 result from an estimated 1 matches for "new_fl".
Did you mean:
new_fb
2002 Jun 18
3
FINDNEXT problem, w2k and linux smbfs
...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_dir = null;
new_fl = null;
System.out.println(er_cnt + &quo...