Skip to content

Commit da347de

Browse files
doc: update broken links
1 parent 86bacd7 commit da347de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/developer-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,12 +857,12 @@ Strings and formatting
857857
buffer overflows, and surprises with `\0` characters. Also, some C string manipulations
858858
tend to act differently depending on platform, or even the user locale.
859859
860-
- Use `ParseInt32`, `ParseInt64`, `ParseUInt32`, `ParseUInt64`, `ParseDouble` from `utilstrencodings.h` for number parsing.
860+
- Use `ToIntegral` from [`strencodings.h`](/src/util/strencodings.h) for number parsing. In legacy code you might also find `ParseInt*` family of functions, `ParseDouble` or `LocaleIndependentAtoi`.
861861
862862
- *Rationale*: These functions do overflow checking and avoid pesky locale issues.
863863
864864
- Avoid using locale dependent functions if possible. You can use the provided
865-
[`lint-locale-dependence.sh`](/test/lint/lint-locale-dependence.sh)
865+
[`lint-locale-dependence.py`](/test/lint/lint-locale-dependence.py)
866866
to check for accidental use of locale dependent functions.
867867
868868
- *Rationale*: Unnecessary locale dependence can cause bugs that are very tricky to isolate and fix.

0 commit comments

Comments
 (0)