Skip to content

Commit d703b0e

Browse files
pablomartin4btcjanus
authored andcommitted
doc: update broken links
1 parent 52585f8 commit d703b0e

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
@@ -853,12 +853,12 @@ Strings and formatting
853853
buffer overflows, and surprises with `\0` characters. Also, some C string manipulations
854854
tend to act differently depending on platform, or even the user locale.
855855
856-
- Use `ParseInt32`, `ParseInt64`, `ParseUInt32`, `ParseUInt64`, `ParseDouble` from `utilstrencodings.h` for number parsing.
856+
- 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`.
857857
858858
- *Rationale*: These functions do overflow checking and avoid pesky locale issues.
859859
860860
- Avoid using locale dependent functions if possible. You can use the provided
861-
[`lint-locale-dependence.sh`](/test/lint/lint-locale-dependence.sh)
861+
[`lint-locale-dependence.py`](/test/lint/lint-locale-dependence.py)
862862
to check for accidental use of locale dependent functions.
863863
864864
- *Rationale*: Unnecessary locale dependence can cause bugs that are very tricky to isolate and fix.

0 commit comments

Comments
 (0)