aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorpablomartin4btc <110166421+pablomartin4btc@users.noreply.github.com>2023-03-07 11:39:34 -0300
committerpablomartin4btc <pablomartin4btc@gmail.com>2023-03-08 18:26:41 -0300
commitda347de530242ead8f6a9718ee1440385bd3d44d (patch)
tree9e7e775b71472a8a0e9a43bcdbd35a6bcbce42b9 /doc
parent86bacd75e76eff207ef8f7bdb897365f5b6e7b6b (diff)
doc: update broken links
Diffstat (limited to 'doc')
-rw-r--r--doc/developer-notes.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md
index f15df1bf73..d2b9d993c2 100644
--- a/doc/developer-notes.md
+++ b/doc/developer-notes.md
@@ -857,12 +857,12 @@ Strings and formatting
buffer overflows, and surprises with `\0` characters. Also, some C string manipulations
tend to act differently depending on platform, or even the user locale.
-- Use `ParseInt32`, `ParseInt64`, `ParseUInt32`, `ParseUInt64`, `ParseDouble` from `utilstrencodings.h` for number parsing.
+- 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`.
- *Rationale*: These functions do overflow checking and avoid pesky locale issues.
- Avoid using locale dependent functions if possible. You can use the provided
- [`lint-locale-dependence.sh`](/test/lint/lint-locale-dependence.sh)
+ [`lint-locale-dependence.py`](/test/lint/lint-locale-dependence.py)
to check for accidental use of locale dependent functions.
- *Rationale*: Unnecessary locale dependence can cause bugs that are very tricky to isolate and fix.