Antonio Colombo wrote:

> Hi everybody,
> 
> When writing out a file bigger than 2GB
> the byte count in the message is wrong:
> 
> "myszkde.out2" 12259055L, -1821100713C written
> 
> -rw-r--r-- 1 azc10 users 2473866583 Dec 18 12:20 myszkde.out2
> 
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Dec 17 2010 22:31:48)
> Included patches: 1-87
> 
> No matter to say, the (positive) sum of the two numbers gives:
> 4294967296, i.e. 2^33
> 
> (the file itself is OK)

Writing a file of 2 Gbyte?  Poor Vim.

What are the size of int and long on this system?

-- 
Apparently, 1 in 5 people in the world are Chinese.  And there are 5
people in my family, so it must be one of them.  It's either my mum
or my dad.  Or my older brother Colin.  Or my younger brother
Ho-Cha-Chu.  But I think it's Colin.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui