[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with stat() and lstat() in glibc 2.2
From: |
Mike Castle |
Subject: |
Re: Problems with stat() and lstat() in glibc 2.2 |
Date: |
Tue, 28 Nov 2000 10:20:53 -0600 |
User-agent: |
Mutt/1.3.6i |
On Tue, Nov 28, 2000 at 10:26:05AM -0200, Count0 wrote:
> #include <sys/stat.h>
> #include <unistd.h>
>
> int main()
> {
> struct stat *buf;
>
> return stat("blah", buf); /* Could be lstat()... */
> }
Just as a side note: This code is broken anyway.
struct stat buf;
return stat("blah", &buf);
mrc
--
Mike Castle Life is like a clock: You can work constantly
address@hidden and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen