summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/freebsd/qt_attribution.json
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-08-27 14:58:57 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-08-30 17:46:00 +0200
commit5644af6f8a800a1516360a42ba4c1a8dc61fc516 (patch)
tree0fb11871c40c7f389f95bc227699fdcda8b7889a /src/3rdparty/freebsd/qt_attribution.json
parent522ca997d3baab1b88f454bbeea9f357d3969dff (diff)
Replace FreeBSD's strtou?ll() with std::from_chars()-based strntou?ll()
Remove third-party code in favor of STL. Implement (for now) strtou?ll() as inlines on strntou?ll() calling strlen() for the size parameter. (This is not entirely safe, as a string lacking '\0'-termination but with at least some non-matching text after the numeric portion would formerly be parsed just fine, but would now produce a crash. However, strtou?ll() are internal and callers should be ensuring '\0'-termination.) Task-number: QTBUG-74286 Change-Id: I0c8ca7d4f6110367e93b4c0164854a82c5a545e1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/3rdparty/freebsd/qt_attribution.json')
-rw-r--r--src/3rdparty/freebsd/qt_attribution.json18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/3rdparty/freebsd/qt_attribution.json b/src/3rdparty/freebsd/qt_attribution.json
deleted file mode 100644
index 644880a90d..0000000000
--- a/src/3rdparty/freebsd/qt_attribution.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "Id": "freebsd",
- "Name": "FreeBSD strtoll and strtoull",
- "QDocModule": "qtcore",
- "QtUsage": "Used in Qt Core.",
- "Files": "strtoll.c strtoull.c",
-
- "Description": "strtoll() and strtoull() are functions for converting a string to (unsigned) long long integer.",
- "Homepage": "https://github.com/freebsd/freebsd/",
- "DownloadLocation": "https://github.com/freebsd/freebsd/tree/master/lib/libc/stdlib",
- "Version": "upstream has complicated with std locales; do not update",
- "Version": "18b29f3fb8abee5d57ed8f4a44f806bec7e0eeff",
- "License": "BSD 3-clause \"New\" or \"Revised\" License",
- "LicenseId": "BSD-3-Clause",
- "LicenseFile": "LICENSE",
- "Copyright": "Copyright (c) 1992, 1993 The Regents of the University of California.
-Copyright (c) 2011 The FreeBSD Foundation"
-}