← Back to index
|
Original Bugzilla link
Bug 23703 – [Module std.socket] example links are dead
Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-02-12T15:50:54Z
Last change time
2024-08-04T08:36:19Z
Assigned to
No Owner
Creator
Elias Batek (0xEAB)
Comments
Comment #0
by desisma — 2023-02-12T15:50:54Z
The documentation for std.socket mentions two examples. > Example > > See /dmd/samples/d/listener.d and /dmd/samples/d/htmlget.d Unfortunately, both links[0][1] are broken. If those example still exist, the links should be updated or otherwise removed. [0]
https://github.com/dlang/dmd/blob/master/samples/listener.d
[1]
https://github.com/dlang/dmd/blob/master/samples/htmlget.d
Comment #1
by hinoda2002 — 2023-05-14T13:09:17Z
samples are here.
https://github.com/dlang/dmd/blob/master/compiler/samples/htmlget.d
https://github.com/dlang/dmd/blob/master/compiler/samples/listener.d
This appears to be happening because DDOC's SAMPLESRC macro has not been updated.
Comment #2
by jeremy — 2024-08-04T08:34:57Z
Fixed in 03c15be0736e7f365afa4f73174d5dd7fdbe96be
Comment #3
by jeremy — 2024-08-04T08:36:19Z
Commit 03c15be of the dlang.org repository sorry:
https://github.com/dlang/dlang.org/commit/03c15be0736e7f365afa4f73174d5dd7fdbe96be