Displaying 1 result from an estimated 1 matches for "orig_fl".
Did you mean:
orig_fn
2002 Jun 18
3
FINDNEXT problem, w2k and linux smbfs
...nt=`expr ${cnt} + 1`
echo "Test : $cnt"
done
/* also java prog I used 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:...