"Bram Moolenaar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Daniel Einspanjer wrote:
( ( ( long )( yr - 1900 ) >= _BASE_YEAR ) && ( ( long )( yr - 1900 ) <=
_MAX_YEAR64 ) )

Where is that assertion?  I don't see it in the source code.  Isn't this
a problem in one of the libraries?

I dated a file Jan 1 1969 and Vim could edit it just fine.  This is on
FreeBSD.

What OS?  How was Vim compiled?


I'm sorry I didn't give enough details. Maybe this is just a red herring due to the fact that I'm compiling it myself. It seems to be that __loctotime64_t just can't handle any time before 197001010000.00 localtime. ::shrug::

That assert is actually in c:\Program Files\Microsoft Visual Studio 8\VC\crt\src\dtoxtm64.c. Brief call stack is:
vimd.exe!__loctotime64_t(int yr=1969, int mo=12, int dy=31, int hr=20, int mn=0, int sc=0, int dstflag=-1) Line 67 + 0x57 bytes C
vimd.exe!_stat64i32(const char * name=0x0012fcb0, _stat64i32 * buf=0x0012fdd0) Line 195 + 0x37 bytes C vimd.exe!stat(const char * _Filename=0x0012fcb0, stat * _Stat=0x0012fdd0) Line 61 + 0xd bytes C vimd.exe!vim_stat(const char * name=0x00a7ff30, stat * stp=0x0012fdd0) Line 523 + 0x10 bytes C

It happens with debug or release, gui or console. Here is an output of :version
VIM - Vi IMproved 7.0 (2006 May 7, compiled May  8 2006 12:29:33)
MS-Windows 32 bit GUI version with OLE support
Compiled by [EMAIL PROTECTED]
Huge version with GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer +gettext/dyn -hangul_input +iconv/dyn +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse +mouseshape +multi_byte +multi_lang -mzscheme +netbeans_intg +ole -osfiletype +path_extra -perl -postscript +printer +profile -python +quickfix +reltime +rightleft +ruby/dyn +scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl -tgetent -termresponse +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup -xfontset -xim -xterm_save -xpm_w32
  system vimrc file: "$VIM\vimrc"
    user vimrc file: "$HOME\_vimrc"
2nd user vimrc file: "$VIM\_vimrc"
     user exrc file: "$HOME\_exrc"
 2nd user exrc file: "$VIM\_exrc"
 system gvimrc file: "$VIM\gvimrc"
   user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$VIM\_gvimrc"
   system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 ologo -D_MT -MT -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -D_CRT_SECURE_NO_DEPRECATE -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 /Fo.\ObjGOR/ /Ox -DNDEBUG -DFEAT_OLE -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=18 -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby18.dll\" -DFEAT_HUGE /Zi /Fd.\ObjGOR/ Linking: link /RELEASE /nologo /subsystem:windows /incremental:no /nodefaultlib:libc advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib uuid.lib oldnames.lib kernel32.lib gdi32.lib version.lib winspool.lib comctl32.lib advapi32.lib shell32.lib /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib user32.lib WSock32.lib /PDB:.\ObjGOR/gvim.pdb -debug




Reply via email to