Bug#514617: vim: Does not recognize Very Large text files

James Vega jamessan at debian.org
Mon Feb 9 15:46:25 UTC 2009


forcemerge 139510 514617
thanks

On Mon, Feb 09, 2009 at 08:26:08AM -0600, Ron Johnson wrote:
> $ file ACCOUNT_TOLL_V20_200408.UNL
> ACCOUNT_TOLL_V20_200408.UNL: ASCII text, with very long lines
> 
> $ ls -gGh ACCOUNT_TOLL_V20_200408.UNL
> -rw-r----- 1 23G 2006-10-22 06:50 ACCOUNT_TOLL_V20_200408.UNL
> 
> vim, though, doesn't seem to recognize it, simply displaying:
>      [New File] 
> 
> This snippet from strace seems to be the smoking gun:
> select(1, [0], NULL, [0], {0, 0})       = 0 (Timeout)
> stat64("ACCOUNT_TOLL_V20_200408.UNL", {st_mode=S_IFREG|0640, st_size=23726916643, ...}) = 0
> stat64("ACCOUNT_TOLL_V20_200408.UNL", {st_mode=S_IFREG|0640, st_size=23726916643, ...}) = 0
> access("ACCOUNT_TOLL_V20_200408.UNL", W_OK) = 0
> open("ACCOUNT_TOLL_V20_200408.UNL", O_RDONLY) = -1 EOVERFLOW (Value too large for defined data type)
> readlink("ACCOUNT_TOLL_V20_200408.UNL", 0xfff19c4c, 4095) = -1 EINVAL (Invalid argument)

Thank you for filing a 3rd copy of the bug.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090209/8615d28c/attachment.pgp 


More information about the pkg-vim-maintainers mailing list