Comments (4)
FWIW, I went back and forth regarding the terminating NULL, we should check the git history to make sure we don't break anything. Also, we should be consistent with uv_exepath
and other functions that behave similarly.
As a side note, wouldn't changing this be a backwards incompatible change?
from libuv.
As a side note, wouldn't changing this be a backwards incompatible change?
Yes, so we can only change this as part of a major release.
I'll fix the test on v1.x.
from libuv.
So I would expect this test to fail on linux too. @bnoordhuis can you maybe shed some light on this, because I have no idea.
Because size
is 26 after the first call to uv_cwd() and 20 after the second call (/home/bnoordhuis/src/libuv
vs. /home/bnoordhuis/src
). In other words, it worked by accident. :-)
from libuv.
The test was fixed and unix/windows behavior was made the same. That's all we can do on an API-stable branch.
For posterity: the meaning of the size
argument is still weird. It's something that we should address in libuv 2.x.
from libuv.
Related Issues (20)
- Test failure with 1.48.0 on OSX x86 HOT 10
- Bug in TCP keep-alive with unix socket
- MSVC compiler bug broke env_vars test in ASAN (x64 windows 2022+asan) HOT 4
- Additional Libuv Metrics HOT 2
- test: flaky fs_event_close_with_pending_event HOT 2
- _alloca Requested memory may have edge problems causing exceptions HOT 3
- multicast: The Android server(apk) doesn't always receive multicast messages from ubuntu.
- test,ci: flaky fs_event_error_reporting
- android: enable fdsan?
- Send udp broadcast to 255.255.255.255 cause permission denied error HOT 2
- macos: use absolute timeouts for condition variables HOT 1
- fs_event_watch_dir test fails on alpine 3.19 HOT 5
- System freeze after suspending two instances of Neovim HOT 5
- test: test-thread-priority.c fails on Linux HOT 5
- windows uv_poll_init
- doc: improve example docs/code/progress/main.c
- win: use WinDNS family of functions for DNS resolving HOT 4
- Improper Validation of Certificate Trust in certifi and dependent packages HOT 4
- 测试在Windows XP系统上运行时遇到RegGetValueW无法定位于ADVAPI32.dll的问题 HOT 4
- uv_tty_reset_mode doesn't work as advertised if original handle is closed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libuv.