ruby-cvs:19361
From: usa ruby-lang.org
Date: Fri, 23 Mar 2007 11:30:54 +0900 (JST)
Subject: [ruby-cvs:19361] Ruby:r12125: * win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,
usa 2007-03-23 11:30:53 +0900 (Fri, 23 Mar 2007)
New Revision: 12125
Modified files:
trunk/ChangeLog
trunk/version.h
trunk/win32/win32.c
Log:
* win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,
rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64,
rb_w32_get_environ): use strlcpy() and strlcat().
* win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc().
* win32/win32.c (rb_w32_closedir): check NULL before free pointers.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/win32/win32.c?r1=12125&r2=12124
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=12125&r2=12124
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12125&r2=12124