summaryrefslogtreecommitdiff
path: root/glib/ghostutils.c
Commit message (Collapse)AuthorAgeFilesLines
* glib/: LGPLv2+ -> LGPLv2.1+Sébastien Wilmet2017-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All glib/*.{c,h} files have been processed, as well as gtester-report. 12 of those files are not licensed under LGPL: gbsearcharray.h gconstructor.h glibintl.h gmirroringtable.h gscripttable.h gtranslit-data.h gunibreak.h gunichartables.h gunicomp.h gunidecomp.h valgrind.h win_iconv.c Some of them are generated files, some are licensed under a BSD-style license and win_iconv.c is in the public domain. Sub-directories inside glib/: deprecated/: processed in a previous commit glib-mirroring-tab/: already LGPLv2.1+ gnulib/: not modified, the code is copied from gnulib libcharset/: a copy pcre/: a copy tests/: processed in a previous commit https://bugzilla.gnome.org/show_bug.cgi?id=776504
* g_hostname_is_ip_address: detect integer overflowSimon McVittie2016-12-021-1/+6
| | | | | | | | | | | | | | | Signed integer overflow is undefined behaviour, which the undefined behaviour sanitizer detects. Previously, if the compiler had implemented this in the obvious way (overflowing signed multiplication wraps around mod 2**32), we would have incorrectly classified addresses where one octet was, for example, (2**32 + 42) as valid IP addresses, by treating that octet as though it was 42. Signed-off-by: Simon McVittie <smcv@debian.org> Bug: https://bugzilla.gnome.org/show_bug.cgi?id=775510 Reviewed-by: Colin Walters
* docs: use "Returns:" consistentlyWilliam Jon McCann2014-02-191-5/+5
| | | | Instead of "Return value:".
* Convert external links to markdown syntaxMatthias Clasen2014-02-051-3/+3
|
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* ghostutils: Convert non-ASCII dots to '.' when converting hostnamesDan Winship2010-12-151-11/+42
| | | | | | | | | Also add some test cases to test/hostutils for that and a few other things, and make the test program just act as an ASCII/unicode hostname converter rather than a test program if it's run with an argument. https://bugzilla.gnome.org/show_bug.cgi?id=633350
* Build fixes for the fall-out of the inclusion changesEmmanuele Bassi2010-09-041-0/+1
|
* More include cleanupsMatthias Clasen2010-09-031-4/+7
|
* glib/: fully remove galias hacksRyan Lortie2010-07-071-4/+0
|
* ghostutils: Fix a crash and add some testsDan Winship2010-02-011-1/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=608743
* Add hostname-related utilities in glib/ghostutils.hDan Winship2009-04-221-0/+758
Functions for converting between UTF-8 IDNs (Internationalized Domain Names) and their ASCII-Compatible Encodings, plus a function to recognize IP addresses. Part of #548466.