Skip to content

Commit 82b745d

Browse files
authored
Merge pull request #9023 from jtbx-patches/deadlinks
replace dead links Signed-off-by: Vladimir Panteleev <[email protected]> Signed-off-by: Nicholas Wilson <[email protected]> Merged-on-behalf-of: Nicholas Wilson <[email protected]>
2 parents 581f473 + 7c68568 commit 82b745d

File tree

7 files changed

+16
-15
lines changed

7 files changed

+16
-15
lines changed

std/datetime/timezone.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3339,7 +3339,7 @@ else version (Posix)
33393339
Windows uses a different set of time zone names than the IANA time zone
33403340
database does, and how they correspond to one another changes over time
33413341
(particularly when Microsoft updates Windows).
3342-
$(HTTP unicode.org/cldr/data/common/supplemental/windowsZones.xml, windowsZones.xml)
3342+
$(HTTP github.com/unicode-org/cldr/blob/main/common/supplemental/windowsZones.xml, windowsZones.xml)
33433343
provides the current conversions (which may or may not match up with what's
33443344
on a particular Windows box depending on how up-to-date it is), and
33453345
parseTZConversions reads in those conversions from windowsZones.xml so that
@@ -3358,7 +3358,7 @@ else version (Posix)
33583358
33593359
Params:
33603360
windowsZonesXMLText = The text from
3361-
$(HTTP unicode.org/cldr/data/common/supplemental/windowsZones.xml, windowsZones.xml)
3361+
$(HTTP github.com/unicode-org/cldr/blob/main/common/supplemental/windowsZones.xml, windowsZones.xml)
33623362
33633363
Throws:
33643364
Exception if there is an error while parsing the given XML.
@@ -3372,7 +3372,7 @@ else version (Posix)
33723372
// and parse it so that it's guaranteed to be up-to-date, though
33733373
// that has the downside that the code needs to worry about the
33743374
// site being down or unicode.org changing the URL.
3375-
auto url = "http://unicode.org/cldr/data/common/supplemental/windowsZones.xml";
3375+
auto url = "https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/windowsZones.xml";
33763376
auto conversions2 = parseTZConversions(std.net.curl.get(url));
33773377
--------------------
33783378
+/
@@ -3458,7 +3458,7 @@ TZConversions parseTZConversions(string windowsZonesXMLText) @safe pure
34583458
import std.algorithm.iteration : uniq;
34593459
import std.algorithm.sorting : isSorted;
34603460

3461-
// Reduced text from http://unicode.org/cldr/data/common/supplemental/windowsZones.xml
3461+
// Reduced text from https://github.com/unicode-org/cldr/blob/main/common/supplemental/windowsZones.xml
34623462
auto sampleFileText =
34633463
`<?xml version="1.0" encoding="UTF-8" ?>
34643464
<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd">

std/experimental/allocator/building_blocks/region.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ version (DragonFlyBSD)
904904
{
905905
// sbrk is deprecated in favor of mmap (we could implement a mmap + MAP_NORESERVE + PROT_NONE version)
906906
// brk has been removed
907-
// https://www.dragonflydigest.com/2019/02/22/22586.html
907+
// https://web.archive.org/web/20221006070113/https://www.dragonflydigest.com/2019/02/22/22586.html
908908
// http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dc676eaefa61b0f47bbea1c53eab86fd5ccd78c6
909909
// http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b5665564ef37dc939a3a9ffbafaab9894c18885
910910
// http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8618d94a0e2ff8303ad93c123a3fa598c26a116e
@@ -968,7 +968,7 @@ version (Posix) struct SbrkRegion(uint minAlign = platformAlignment)
968968
scope(exit) pthread_mutex_unlock(cast(pthread_mutex_t*) &sbrkMutex) == 0
969969
|| assert(0);
970970
// Assume sbrk returns the old break. Most online documentation confirms
971-
// that, except for http://www.inf.udec.cl/~leo/Malloc_tutorial.pdf,
971+
// that, except for https://web.archive.org/web/20171014020821/http://www.inf.udec.cl/~leo/Malloc_tutorial.pdf,
972972
// which claims the returned value is not portable.
973973
auto p = sbrk(rounded);
974974
if (p == cast(void*) -1)

std/experimental/allocator/mmap_allocator.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct MmapAllocator
6060
// http://man7.org/linux/man-pages/man2/mmap.2.html
6161
package alias allocateZeroed = allocate;
6262
else version (NetBSD)
63-
// http://netbsd.gw.com/cgi-bin/man-cgi?mmap+2+NetBSD-current
63+
// https://man.netbsd.org/mmap.2
6464
package alias allocateZeroed = allocate;
6565
else version (Solaris)
6666
// https://docs.oracle.com/cd/E88353_01/html/E37841/mmap-2.html

std/json.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ also $(LINK https://forum.dlang.org/post/[email protected]).)
1313
Copyright: Copyright Jeremie Pelletier 2008 - 2009.
1414
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
1515
Authors: Jeremie Pelletier, David Herberth
16-
References: $(LINK http://json.org/), $(LINK http://seriot.ch/parsing_json.html)
16+
References: $(LINK http://json.org/), $(LINK https://seriot.ch/projects/parsing_json.html)
1717
Source: $(PHOBOSSRC std/json.d)
1818
*/
1919
/*

std/numeric.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3405,7 +3405,7 @@ private:
34053405

34063406
// This algorithm works by performing the even and odd parts of our FFT
34073407
// using the "two for the price of one" method mentioned at
3408-
// http://www.engineeringproductivitytools.com/stuff/T0001/PT10.HTM#Head521
3408+
// https://web.archive.org/web/20180312110051/http://www.engineeringproductivitytools.com/stuff/T0001/PT10.HTM#Head521
34093409
// by making the odd terms into the imaginary components of our new FFT,
34103410
// and then using symmetry to recombine them.
34113411
void fftImplPureReal(Ret, R)(R range, Ret buf) const

std/stdio.d

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ Throws: `ErrnoException` in case of error.
795795
/**
796796
Detaches from the current file (throwing on failure), and then runs a command
797797
by calling the C standard library function $(HTTP
798-
opengroup.org/onlinepubs/007908799/xsh/_popen.html, _popen).
798+
pubs.opengroup.org/onlinepubs/7908799/xsh/popen.html, popen).
799799
800800
Throws: `ErrnoException` in case of error.
801801
*/
@@ -813,8 +813,9 @@ The mode must be compatible with the mode of the file descriptor.
813813
Throws: `ErrnoException` in case of error.
814814
Params:
815815
fd = File descriptor to associate with this `File`.
816-
stdioOpenmode = Mode to associate with this File. The mode has the same semantics
817-
semantics as in the C standard library $(CSTDIO fdopen) function,
816+
stdioOpenmode = Mode to associate with this File. The mode has the same
817+
semantics as in the POSIX library function $(HTTP
818+
pubs.opengroup.org/onlinepubs/7908799/xsh/fdopen.html, fdopen)
818819
and must be compatible with `fd`.
819820
*/
820821
void fdopen(int fd, scope const(char)[] stdioOpenmode = "rb") @safe
@@ -4576,11 +4577,11 @@ if ((isSomeFiniteCharInputRange!R1 || isSomeString!R1) &&
45764577
{
45774578
/*
45784579
* The new opengroup large file support API is transparently
4579-
* included in the normal C bindings. http://opengroup.org/platform/lfs.html#1.0
4580+
* included in the normal C bindings. https://www.opengroup.org/platform/lfs.html#1.0
45804581
* if _FILE_OFFSET_BITS in druntime is 64, off_t is 64 bit and
45814582
* the normal functions work fine. If not, then large file support
45824583
* probably isn't available. Do not use the old transitional API
4583-
* (the native extern(C) fopen64, http://www.unix.org/version2/whatsnew/lfs20mar.html#3.0)
4584+
* (the native extern(C) fopen64, https://unix.org/version2/whatsnew/lfs20mar.html#3.0)
45844585
*/
45854586
import core.sys.posix.stdio : fopen;
45864587
return fopen(namez, modez);

std/utf.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $(TR $(TD Miscellaneous) $(TD
5353
See_Also:
5454
$(LINK2 http://en.wikipedia.org/wiki/Unicode, Wikipedia)<br>
5555
$(LINK http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8)<br>
56-
$(LINK http://anubis.dkuug.dk/JTC1/SC2/WG2/docs/n1335)
56+
$(LINK https://web.archive.org/web/20100113043530/https://anubis.dkuug.dk/JTC1/SC2/WG2/docs/n1335)
5757
Copyright: Copyright The D Language Foundation 2000 - 2012.
5858
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
5959
Authors: $(HTTP digitalmars.com, Walter Bright) and

0 commit comments

Comments
 (0)