Skip to content

Update POSIX edition links#158505

Open
schneems wants to merge 2 commits into
rust-lang:mainfrom
schneems:schneems/bump-posix-edition
Open

Update POSIX edition links#158505
schneems wants to merge 2 commits into
rust-lang:mainfrom
schneems:schneems/bump-posix-edition

Conversation

@schneems

Copy link
Copy Markdown
Contributor

Comments that reference https://pubs.opengroup.org point to issue 7 (the 2018 edition of IEEE Std 1003.1-2017), with one link still on the older issue 6. The latest issue is 8 (the 2024 edition, IEEE Std 1003.1-2024). From https://www.opengroup.org/austin/papers/posix_faq.html:

Q3. What is the latest version of POSIX.1?

The 1003.1-2024 standard was published in June 2024. The standard is
formally known as: IEEE Std 1003.1-2024 The Open Group Technical
Standard Base Specifications, Issue 8

Issue 8 lives at https://pubs.opengroup.org/onlinepubs/9799919799/.

This PR points all older-edition links to issue 8.

Most links are a straight edition bump, but links with a section anchor needed their anchor rechecked, because section numbering shifts between editions. Verified against the 2024 edition:

  • Pathname Resolution moved from 4.13 (tag_04_13) to 4.16 (tag_04_16)
  • Field Splitting moved from tag_18_06_05 to tag_19_06_05
  • LC_CTYPE (tag_07_03_01) was unchanged

The Miri changes (src/tools/miri/) are kept in a separate commit since that's a synced subtree. I'm happy to move them to a rust-lang/miri PR if preferred.

schneems added 2 commits June 27, 2026 18:21
Comments and doc links across std, core, and a process test referenced the
older issue 7 (2018 edition) of the POSIX spec, with one link still on
issue 6. Point them all at the current issue 8 (2024 edition, IEEE Std
1003.1-2024) under onlinepubs/9799919799, and normalize the
`9799919799.2024edition` URL variant to the canonical path.

Links that carry a section anchor were verified against the 2024 edition,
since section numbering shifts between editions:

- Pathname Resolution moved from 4.13 (tag_04_13) to 4.16 (tag_04_16)
- Field Splitting moved from tag_18_06_05 to tag_19_06_05
- LC_CTYPE (tag_07_03_01) was unchanged

CI's linkchecker only validates intra-doc links, not external URLs, so each
page and anchor was checked by hand.
Update the remaining pubs.opengroup.org links in Miri's Unix shims from
issue 7 (9699919799) to the current issue 8 / 2024 edition (9799919799).
All are anchorless, so only the edition path changes.
@rustbot

rustbot commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

miri is developed in its own repository. If possible, consider making this change to rust-lang/miri instead.

cc @rust-lang/miri

@rustbot rustbot added O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jun 27, 2026
@rustbot

rustbot commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

r? @Darksonn

rustbot has assigned @Darksonn.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 13 candidates
  • Random selection from Darksonn, JohnTitor, Mark-Simulacrum, clarfonthey, jhpratt

@@ -714,7 +714,7 @@ trait EvalContextPrivExt<'tcx>: MiriInterpCxExt<'tcx> {
// "in the past" fire before any other thread can take an action. This ensures that for
// `pthread_cond_timedwait`, "an error is returned if [...] the absolute time specified by
// abstime has already been passed at the time of the call".
// <https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_cond_timedwait.html>
// <https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_cond_timedwait.html>

@RalfJung RalfJung Jun 27, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this risk causing a dangling reference since whatever quote or behavior the text was referring to might have gotten changed in the latest version?

View changes since the review

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
  IMAGE: x86_64-gnu-tools
##[endgroup]
    Updating crates.io index
error: failed to get `adler2` as a dependency of package `miniz_oxide v0.8.8`
    ... which satisfies dependency `miniz_oxide = "^0.8.5"` of package `flate2 v1.1.9`
    ... which satisfies dependency `flate2 = "^1.1.9"` of package `citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)`

Caused by:
  failed to load source for dependency `adler2`

Caused by:
  unable to update registry `crates-io`

Caused by:
  download of ad/le/adler2 failed

Caused by:
  curl failed

Caused by:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants