Crash with strftime()

2007-05-23 Thread Andy Wokula

Not nice:

  :echo strftime(%e)
   %e - some undefined code I used by accident

makes Vim crash.

(GVim 7.0.235, Win32)

--
Regards,
Andy


Re: Crash with strftime()

2007-05-23 Thread Anatoli Sakhnik

Hi!

I observe different results. The compiled on MinGW gvim doesn't crash,
but displays nothing. Under linux it works quite well, and prints the
day of the month, i.e. 23.

So the crash may refer to a bug in the system libraries or
environments. It'd be interesting to have look at the crash from a
debugger.

-- Anatoli Sakhnik.

On 23/05/07, Andy Wokula [EMAIL PROTECTED] wrote:

Not nice:

   :echo strftime(%e)
%e - some undefined code I used by accident

makes Vim crash.

(GVim 7.0.235, Win32)

--
Regards,
Andy



Re: Crash with strftime()

2007-05-23 Thread Andy Wokula

Anatoli Sakhnik schrieb:

Hi!

I observe different results. The compiled on MinGW gvim doesn't crash,
but displays nothing. Under linux it works quite well, and prints the
day of the month, i.e. 23.

So the crash may refer to a bug in the system libraries or
environments. It'd be interesting to have look at the crash from a
debugger.

-- Anatoli Sakhnik.

On 23/05/07, Andy Wokula [EMAIL PROTECTED] wrote:

Not nice:

   :echo strftime(%e)
%e - some undefined code I used by accident

makes Vim crash.

(GVim 7.0.235, Win32)

--
Regards,
Andy


Also no crash with the original GVim 7.0 Win32 distribution
(returns empty string).

--
Regards,
Andy


Re: Crash with strftime()

2007-05-23 Thread Anatoli Sakhnik

I've forgotten. The version of mine is 7.1.

-- Anatoli Sakhnik.

On 23/05/07, Andy Wokula [EMAIL PROTECTED] wrote:


Also no crash with the original GVim 7.0 Win32 distribution
(returns empty string).

--
Regards,
Andy