Re: stat(2) weirdness

1999-11-22 Thread Peter Wemm
Bjoern Fischer wrote: > Hello, > > recently while debugging a problem in wwwoffle-2.5b I realized, > that stat(2) behaves at least extremely strange on 3.3-STABLE: > > This small example... > > #include > #include > #include > > int main(int argc, char *argv[]) { > > char

stat(2) weirdness

1999-11-22 Thread Bjoern Fischer
Hello, recently while debugging a problem in wwwoffle-2.5b I realized, that stat(2) behaves at least extremely strange on 3.3-STABLE: This small example... #include #include #include int main(int argc, char *argv[]) { char*fname = argv[0]; struct stat sb; int