diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-02-08 04:51:33 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-11 04:01:24 +0000 |
commit | 71598ca07eec3715ab6c0fce9f89be1c1c3b0798 (patch) | |
tree | 6a0513711e026f06f13a2e20937c9ee559194286 /osdep/subprocess-win.c | |
parent | 86e088273323499a9a3fc6b49149ee585f13e217 (diff) | |
download | mpv-71598ca07eec3715ab6c0fce9f89be1c1c3b0798.tar.bz2 mpv-71598ca07eec3715ab6c0fce9f89be1c1c3b0798.tar.xz |
various: replace dead links in comments
Replace various dead links with live replacements or archives.
Less friction for anyone who wants to look up these references.
Diffstat (limited to 'osdep/subprocess-win.c')
-rw-r--r-- | osdep/subprocess-win.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/osdep/subprocess-win.c b/osdep/subprocess-win.c index 5413b24bc4..efeb650ed5 100644 --- a/osdep/subprocess-win.c +++ b/osdep/subprocess-win.c @@ -377,7 +377,8 @@ void mp_subprocess2(struct mp_subprocess_opts *opts, // Get pointers to the arrays in lpReserved2. This is an undocumented data // structure used by MSVCRT (and other frameworks and runtimes) to emulate // FD inheritance. The format is unofficially documented here: - // https://www.catch22.net/tuts/undocumented-createprocess + // <https://web.archive.org/web/20221014190010/ + // https://www.catch22.net/tuts/undocumented-createprocess> si.StartupInfo.cbReserved2 = sizeof(int) + crt_fd_count * (1 + sizeof(intptr_t)); si.StartupInfo.lpReserved2 = talloc_size(tmp, si.StartupInfo.cbReserved2); char *crt_buf_flags = si.StartupInfo.lpReserved2 + sizeof(int); @@ -402,7 +403,8 @@ void mp_subprocess2(struct mp_subprocess_opts *opts, // Specify which handles are inherited by the subprocess. If this isn't // specified, the subprocess inherits all inheritable handles, which could // include handles created by other threads. See: - // http://blogs.msdn.com/b/oldnewthing/archive/2011/12/16/10248328.aspx + // <https://web.archive.org/web/20121127222200/ + // http://blogs.msdn.com/b/oldnewthing/archive/2011/12/16/10248328.aspx> si.lpAttributeList = create_handle_list(tmp, share_hndls, share_hndl_count); // If we have a console, the subprocess will automatically attach to it so |