[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'file' command truncates at 31 characters (with long #! lines)
From: |
Eric Blake |
Subject: |
Re: 'file' command truncates at 31 characters (with long #! lines) |
Date: |
Sat, 06 Sep 2008 12:56:26 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Stan Marsh on 9/6/2008 12:50 PM:
> See below. At step 2, the 'file' command truncates the final 'F' in the
> filename. I'm assuming some buffer is only 32 bytes long, so only strings
> up to 31 characters are supported. Note that the script does work just fine
> (i.e., this version of Linux has no problem running a #! script where the
> interpreter pathname is longer than 31 characters)
>
> (1) % file --version
> file-4.21
Thanks for the report. However, file is not part of coreutils, so you are
better off reporting this to the file maintainer. We can't do anything
about it here.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjC0loACgkQ84KuGfSFAYDpXwCgkpuD55LosWW6aUqvUDlfafS1
q3wAnAiZuVUYytYExUYtSJ0BS5DI088z
=+wfE
-----END PGP SIGNATURE-----