← Commit list

fa1270a0d1

Viktor Szakats
Viktor Szakats
2025-11-24
SUCCESS Duration: 152s

Subject

vquic: do not pass invalid mode flags to `open()` (Windows)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vquic/vquic.c+5 -1
@@ -665,7 +665,11 @@ CURLcode Curl_qlogdir(struct Curl_easy *data,
if(!result) {
int qlogfd = curlx_open(curlx_dyn_ptr(&fname),
O_WRONLY | O_CREAT | CURL_O_BINARY,
- data->set.new_file_perms);
+ data->set.new_file_perms
+#ifdef _WIN32
+ & (_S_IREAD | _S_IWRITE)
+#endif
+ );
if(qlogfd != -1)
*qlogfdp = qlogfd;
}