diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-07-30 14:59:53 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-02 17:18:26 -0400 |
commit | 708119de1cf9165d0cdfd3f3ba36be6672c42fdb (patch) | |
tree | caa50b4fe605e6d31c5f805db026315955262fc6 /src/bfstd.c | |
parent | e3dd073fb071fe27cfd955e4eca31ff7faf2a18e (diff) | |
download | bfs-708119de1cf9165d0cdfd3f3ba36be6672c42fdb.tar.xz |
Update opengroup.org links to POSIX 2024
Diffstat (limited to 'src/bfstd.c')
-rw-r--r-- | src/bfstd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bfstd.c b/src/bfstd.c index 6d244ca..a179f79 100644 --- a/src/bfstd.c +++ b/src/bfstd.c @@ -965,14 +965,14 @@ static char *dollar_quote(char *dest, char *end, const char *str, size_t len, en /** How much of this string is safe as a bare word? */ static size_t bare_len(const char *str, size_t len) { - // https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02 + // https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_02 size_t ret = strcspn(str, "|&;<>()$`\\\"' *?[#~=%!{}"); return ret < len ? ret : len; } /** How much of this string is safe to double-quote? */ static size_t quotable_len(const char *str, size_t len) { - // https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02_03 + // https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_02_03 size_t ret = strcspn(str, "`$\\\"!"); return ret < len ? ret : len; } |