This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: file-4.15-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Corinna Vinschen on 9/7/2005 4:35 AM:
> I've updated the version of file to 4.15-3.
>
> This release is supposed to solve problems examining binary files
> on textmode mounts.
I don't know if this is a regression, or exposing a bug with cygwin's
virtual file handling, but with a recent snapshot:
$ file /proc/$$/ppid
/proc/164/ppid: empty
$ cat /proc/$$/ppid
3904
Hmm - if cat(1) can see contents, why does file(1) treat it as empty?
Maybe it's a cygwin bug after all, since the size is being reported as 0:
$ ls -l /proc/$$/ppid
- -r--r--r-- 1 eblake None 0 Sep 8 06:40 /proc/164/ppid
If stat() can't easily determine file sizes in /proc, then it might be
better to report those files as a different file type rather than regular
files.
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDIDJs84KuGfSFAYARAsW5AJ9ITftJZ73E9ctE702kHpoNfJWxigCgxlvQ
fKALrwE+3bt73XdqHCja7+g=
=/ilR
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/