← Commit list

65f685742c

Daniel Stenberg
Daniel Stenberg
2026-09-05
SUCCESS Duration: 419s

Subject

lib: rename curlx/fopen.[ch] to curlx/win32-fopen.[ch]

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 →

.github/labeler.yml+1 -1
@@ -564,7 +564,7 @@ Windows:
appveyor.*,\
CMake/win32-cache.cmake,\
lib/*win32*,\
- lib/curlx/fopen.*,\
+ lib/curlx/win32-fopen.*,\
lib/curlx/multibyte.*,\
lib/curlx/winapi.*,\
lib/libcurl.def,\
lib/Makefile.inc+2 -2
@@ -27,7 +27,7 @@ LIB_CURLX_CFILES = \
curlx/base64.c \
curlx/basename.c \
curlx/dynbuf.c \
- curlx/fopen.c \
+ curlx/win32-fopen.c \
curlx/inet_ntop.c \
curlx/inet_pton.c \
curlx/multibyte.c \
@@ -48,7 +48,7 @@ LIB_CURLX_HFILES = \
curlx/base64.h \
curlx/basename.h \
curlx/dynbuf.h \
- curlx/fopen.h \
+ curlx/win32-fopen.h \
curlx/inet_ntop.h \
curlx/inet_pton.h \
curlx/multibyte.h \
lib/curl_fopen.h+1 -1
@@ -23,7 +23,7 @@
* SPDX-License-Identifier: curl
*
***************************************************************************/
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
CURLcode Curl_fopen(struct Curl_easy *data, const char *filename,
FILE **fh, char **tempname);
lib/curlx/fopen.c → lib/curlx/win32-fopen.c+1 -1
@@ -23,7 +23,7 @@
***************************************************************************/
#include "curl_setup.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
int curlx_fseek(void *stream, curl_off_t offset, int whence)
{
?+0 -0
lib/file.c+1 -1
@@ -59,7 +59,7 @@
#include "transfer.h"
#include "url.h"
#include "parsedate.h" /* for the week day and month names */
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curl_range.h"
#if defined(_WIN32) || defined(MSDOS)
lib/formdata.c+1 -1
@@ -33,7 +33,7 @@ struct Curl_easy;
#include "mime.h"
#include "curlx/strdup.h"
#include "bufref.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#define HTTPPOST_PTRNAME CURL_HTTPPOST_PTRNAME
lib/memdebug.c+1 -1
@@ -29,7 +29,7 @@
#include "urldata.h"
#include "curl_threads.h"
-#include "curlx/fopen.h" /* for CURLX_FOPEN_LOW(), CURLX_FREOPEN_LOW() */
+#include "curlx/win32-fopen.h" /* for CURLX_FOPEN_*() */
#ifdef USE_BACKTRACE
#include <backtrace.h>
lib/mime.c+1 -1
@@ -33,7 +33,7 @@ struct Curl_easy;
#include "curlx/strdup.h"
#include "curlx/basename.h"
#include "curlx/strcopy.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curlx/base64.h"
#if !defined(CURL_DISABLE_MIME) && (!defined(CURL_DISABLE_HTTP) || \
lib/netrc.c+1 -1
@@ -41,7 +41,7 @@
#include "curl_trc.h"
#include "strcase.h"
#include "curl_get_line.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curlx/strparse.h"
lib/vquic/cf-ngtcp2-cmn.c+1 -1
@@ -57,7 +57,7 @@
#include "cf-socket.h"
#include "connect.h"
#include "progress.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curlx/dynbuf.h"
#include "http1.h"
#include "select.h"
lib/vquic/cf-ngtcp2.c+1 -1
@@ -35,7 +35,7 @@
#include "cf-socket.h"
#include "connect.h"
#include "progress.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curlx/dynbuf.h"
#include "http1.h"
#include "select.h"
lib/vquic/vquic.c+1 -1
@@ -50,7 +50,7 @@
#include "bufq.h"
#include "curlx/dynbuf.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "cfilters.h"
#include "vdns/cf-dns.h"
#include "vquic/cf-ngtcp2.h"
lib/vssh/libssh2.c+1 -1
@@ -53,7 +53,7 @@
#include "parsedate.h" /* for the week day and month names */
#include "multiif.h"
#include "select.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "vssh/vssh.h"
#include "curlx/strparse.h"
#include "curlx/base64.h" /* for curlx_base64_encode() */
lib/vssh/vssh.c+1 -1
@@ -32,7 +32,7 @@
#include "escape.h"
#include "select.h" /* for Curl_pollset_change() */
#include "url.h" /* for Curl_conn_meta_get() */
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#ifdef CURLVERBOSE
const char *Curl_ssh_statename(sshstate state)
lib/vtls/gtls.c+1 -1
@@ -52,7 +52,7 @@
#include "connect.h" /* for the connect timeout */
#include "progress.h"
#include "curlx/strdup.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "vtls/x509asn1.h"
/* Enable GnuTLS debugging by defining GTLSDEBUG */
lib/vtls/keylog.c+1 -1
@@ -28,7 +28,7 @@
defined(USE_RUSTLS)
#include "escape.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
/* The fp for the open SSLKEYLOGFILE, or NULL if not open */
static FILE *keylog_file_fp;
lib/vtls/rustls.c+1 -1
@@ -29,7 +29,7 @@
#include <rustls.h>
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curlx/strerr.h"
#include "urldata.h"
#include "curl_trc.h"
lib/vtls/schannel.c+1 -1
@@ -45,7 +45,7 @@
#include "curlx/strdup.h"
#include "strerror.h"
#include "select.h" /* for the socket readiness */
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curlx/multibyte.h"
#include "vtls/x509asn1.h"
#include "curlx/version_win32.h"
lib/vtls/schannel_verify.c+1 -1
@@ -43,7 +43,7 @@
#include "vtls/vtls_int.h"
#include "curl_trc.h"
#include "strerror.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curlx/inet_pton.h"
#include "curlx/multibyte.h"
#include "curlx/version_win32.h"
lib/vtls/vtls.c+1 -1
@@ -60,7 +60,7 @@
#include "strcase.h"
#include "url.h"
#include "progress.h"
-#include "curlx/fopen.h"
+#include "curlx/win32-fopen.h"
#include "curl_sha256.h"
#include "curlx/base64.h"
#include "curlx/inet_pton.h"
src/Makefile.inc+2 -2
@@ -36,7 +36,7 @@ CURLX_CFILES = \
../lib/curlx/base64.c \
../lib/curlx/basename.c \
../lib/curlx/dynbuf.c \
- ../lib/curlx/fopen.c \
+ ../lib/curlx/win32-fopen.c \
../lib/curlx/multibyte.c \
../lib/curlx/nonblock.c \
../lib/curlx/strcopy.c \
@@ -55,7 +55,7 @@ CURLX_HFILES = \
../lib/curlx/base64.h \
../lib/curlx/basename.h \
../lib/curlx/dynbuf.h \
- ../lib/curlx/fopen.h \
+ ../lib/curlx/win32-fopen.h \
../lib/curlx/multibyte.h \
../lib/curlx/nonblock.h \
../lib/curlx/strcopy.h \
src/tool_setup.h+1 -1
@@ -47,7 +47,7 @@ extern FILE *tool_stderr;
#include "curlx/base64.h" /* for curlx_base64* */
#include "curlx/dynbuf.h" /* for curlx_dyn_*() */
-#include "curlx/fopen.h" /* for curlx_f*() */
+#include "curlx/win32-fopen.h" /* for curlx_f*() */
#include "curlx/multibyte.h" /* for curlx_convert_*() */
#include "curlx/strcopy.h" /* for curlx_strcopy() */
#include "curlx/strdup.h" /* for curlx_memdup*() */
tests/libtest/Makefile.inc+1 -1
@@ -35,7 +35,7 @@ UTILS_H = testutil.h testtrace.h unitcheck.h
CURLX_C = \
../../lib/curl_threads.c \
- ../../lib/curlx/fopen.c \
+ ../../lib/curlx/win32-fopen.c \
../../lib/curlx/inet_ntop.c \
../../lib/curlx/inet_pton.c \
../../lib/curlx/multibyte.c \
tests/libtest/first.h+1 -1
@@ -46,7 +46,7 @@ extern int unitfail; /* for unittests */
#include "curlx/base64.h" /* for curlx_base64* */
#include "curlx/dynbuf.h" /* for curlx_dyn_*() */
-#include "curlx/fopen.h" /* for curlx_f*() */
+#include "curlx/win32-fopen.h" /* for curlx_f*() */
#include "curlx/inet_ntop.h" /* for curlx_inet_ntop() */
#include "curlx/inet_pton.h" /* for curlx_inet_pton() */
#include "curlx/strcopy.h" /* for curlx_strcopy() */
tests/perf/Makefile.inc+1 -1
@@ -35,7 +35,7 @@ UTILS_H =
CURLX_C = \
../../lib/curlx/base64.c \
- ../../lib/curlx/fopen.c \
+ ../../lib/curlx/win32-fopen.c \
../../lib/curlx/multibyte.c \
../../lib/curlx/strparse.c \
../../lib/curlx/timeval.c \
tests/perf/first.h+1 -1
@@ -33,7 +33,7 @@
#include "curl_setup.h"
#include "curlx/base64.h" /* for curlx_base64* */
-#include "curlx/fopen.h" /* for curlx_f*() */
+#include "curlx/win32-fopen.h" /* for curlx_f*() */
#include "curlx/strparse.h" /* for curlx_str_* parsing functions */
#include "curlx/timeval.h" /* for curlx_now type and related functions */
tests/server/Makefile.inc+1 -1
@@ -35,7 +35,7 @@ UTILS_H =
CURLX_C = \
../../lib/curlx/base64.c \
- ../../lib/curlx/fopen.c \
+ ../../lib/curlx/win32-fopen.c \
../../lib/curlx/inet_ntop.c \
../../lib/curlx/inet_pton.c \
../../lib/curlx/multibyte.c \
tests/server/first.h+1 -1
@@ -63,7 +63,7 @@ extern const struct entry_s s_entries[];
#endif
#include "curlx/base64.h" /* for curlx_base64* */
-#include "curlx/fopen.h" /* for curlx_f*() */
+#include "curlx/win32-fopen.h" /* for curlx_f*() */
#include "curlx/inet_ntop.h" /* for curlx_inet_ntop() */
#include "curlx/inet_pton.h" /* for curlx_inet_pton() */
#include "curlx/nonblock.h" /* for curlx_nonblock() */