Commit Graph
6 Commits
Author SHA1 Message Date
Rohan Singh 388334e871 fix: replace shutil.rmtree with custom remove_dir for Windows compatibility
The previous implementation used shutil.rmtree with a custom error handler to
handle read-only files on Windows, but this approach was unreliable. The new
remove_dir function uses the Windows 'rd' command for directory removal on
Windows systems, which handles read-only files correctly, while falling back
to shutil.rmtree on other platforms.
2015-08-16 13:32:38 +00:00
Rohan Singh b89f0040b2 fix: include null terminator in strncpy length for timerGetSource 2015-08-16 12:59:51 +00:00
Rohan Singh fb79617c95 fix: properly dispose libuv timers via uv_close with dedicated callback 2015-08-13 05:54:30 +00:00
Rohan Singh be7a76a18f fix: ensure null terminator is appended to string copy in timerGetSource
The timerGetSource function allocates a buffer and copies the source string using strncpy, which does not guarantee null termination when the source length equals the buffer size. This change explicitly sets the final character to '\0' to prevent potential buffer over-reads or undefined behavior when the returned string is used by callers.
2015-08-13 05:50:21 +00:00
Rohan Singh 7269ded75c build: add libuv library path and timer module to MSVC project files
Add libuv release library directory to LibraryPath for both Debug and Win32 configurations in wren.vcxproj. Include timer.c and timer.h source files in the project filters. Extend AdditionalIncludeDirectories with cli, module, and libuv include paths. Implement rmtree_onerror handler for permission-safe directory cleanup in libuv.py, and enable Windows libuv build via vcbuild.bat.
2015-08-13 05:39:34 +00:00
Rohan Singh d5056d3ef8 fix: update relative links to absolute URLs in README for getting-started and contributing 2015-08-13 02:40:55 +00:00