glib/glib
Chun-wei Fan 2cb9b8f994 glib/gtimezone.c: Check the size of tzi.DaylightName
We need to re-get the size of tzi.DaylightName before we call
RegQueryValue() because the buffer might not have enough room to hold the
value for tzi.DaylightName that would be acquired by RegQueryValueExA(),
even though the size of tzi.DaylightName and tzi.StandardName is the same.

This is a pitfall of RegQueryValue()[1] as not doing this can result in an
ERROR_MORE_DATA (234) failure, causing the acquisition of tzi.DaylightName
to fail.

This will fix the gdatetime/equal test, amongst some other tests in
gdatetime, at least on certain non-English version of Windows.

[1]: http://social.msdn.microsoft.com/Forums/vstudio/en-US/84f90854-e90c-4b63-8fc1-655a0b4645fd/regqueryvalueex-returns-errormoredata

https://bugzilla.gnome.org/show_bug.cgi?id=719344
2014-01-20 10:22:47 -05:00
..
deprecated Try again to fix the freebsd build 2014-01-20 07:33:27 -05:00
glib-mirroring-tab Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gnulib Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
libcharset Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
pcre Require C90 compliance 2013-11-20 09:16:16 -05:00
tests GMainContext: unref pending sources on destroy 2014-01-19 17:41:18 -05:00
update-pcre Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
.gitignore update .gitignores 2011-06-12 16:17:30 -04:00
docs.c Remove alleged support for BeOS 2013-11-20 09:16:16 -05:00
galloca.h Fix compilation on Android with the bionic C library 2013-04-16 13:24:26 +02:00
garray.c GPtrArray: Added g_ptr_array_insert() 2013-12-14 23:41:44 -05:00
garray.h GPtrArray: Added g_ptr_array_insert() 2013-12-14 23:41:44 -05:00
gasyncqueue.c Fix malformed GTK-Doc comment blocks: invalid parameters and tags. 2012-04-05 10:23:42 -03:00
gasyncqueue.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gasyncqueueprivate.h GAsyncQueue: Move private API to a private header 2011-10-01 20:22:46 -04:00
gatomic.c g_atomic_int_get, g_atomic_pointer_get: accept const arguments 2013-04-08 14:15:22 +02:00
gatomic.h g_atomic_int_get, g_atomic_pointer_get: accept const arguments 2013-01-28 11:37:53 +00:00
gbacktrace.c Require POSIX.1 (1990) compliance on unix 2013-11-20 09:17:42 -05:00
gbacktrace.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gbase64.c Add warning to g_base64_decode() 2013-03-17 22:48:53 -04:00
gbase64.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gbitlock.c Use __asm__ instead of asm 2014-01-20 08:43:02 -05:00
gbitlock.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gbookmarkfile.c gbookmarkfile: removed unused include 'gslist.h' 2014-01-16 20:15:31 -05:00
gbookmarkfile.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gbsearcharray.h Require C90 compliance 2013-11-20 09:16:16 -05:00
gbytes.c gbytes: Clarify the nullability of GBytes->data 2013-11-27 10:12:27 +00:00
gbytes.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gcharset.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gcharset.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gcharsetprivate.h Remove most use of G_GNUC_INTERNAL 2013-01-18 13:03:28 -05:00
gchecksum.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gchecksum.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gconstructor.h Move constructor macros to an internal header and into generated code 2012-01-30 16:59:27 +01:00
gconvert.c gconvert: fix redundant-decls of _g_charset_get_aliases() 2013-10-19 12:18:55 -04:00
gconvert.h utf8: report allocation error 2013-11-25 12:07:57 +01:00
gdataset.c Remove an unused define 2013-12-11 10:36:26 -05:00
gdataset.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gdatasetprivate.h Don't include glib.h in other headers 2010-09-03 21:24:40 -04:00
gdate.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gdate.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gdatetime.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gdatetime.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gdir.c GDir: add some glib-private APIs 2013-09-16 13:38:40 -04:00
gdir.h GDir: add some glib-private APIs 2013-09-16 13:38:40 -04:00
gen-iswide-table.py Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk 2011-04-29 18:03:24 -04:00
gen-script-table.pl Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gen-unicode-tables.pl unicode: Add new line breaking class from unicode 6.2 2012-10-03 13:58:19 +02:00
genviron.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
genviron.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gerror.c gerror: Don't leak memory when overwrite warning 2013-11-10 22:40:08 +01:00
gerror.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gfileutils.c Unify error reporting in gfileutils.c 2014-01-01 17:59:21 -05:00
gfileutils.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
ggettext.c Protect against strcmp() on NULL strings 2012-11-28 16:25:43 +01:00
ggettext.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
ghash.c GHashTable: statically assert that GHashTableIter works as intended 2014-01-19 20:23:43 -05:00
ghash.h Add boolean returns to some hash functions 2013-11-24 01:22:44 -05:00
ghmac.c g_hmac_get_string: don't allocate and leak an unused buffer 2011-12-14 12:26:16 +00:00
ghmac.h Move single-include guards inside include guards 2012-12-27 23:43:14 -05:00
ghook.c documentation fixes 2011-12-13 23:01:51 -05:00
ghook.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
ghostutils.c ghostutils: Convert non-ASCII dots to '.' when converting hostnames 2010-12-15 03:56:35 -05:00
ghostutils.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gi18n-lib.h Bug 548321 – <string.h> is not included in gi18n-lib.h 2008-09-11 16:48:44 +00:00
gi18n.h Bug 548321 – <string.h> is not included in gi18n-lib.h 2008-09-11 16:48:44 +00:00
giochannel.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
giochannel.h Fix deprecation warning for g_io_channel_read 2013-04-10 15:55:37 +12:00
giounix.c Use "Returns:" instead of the invalid "@returns" for annotating return values. 2012-11-01 14:47:25 +13:00
giowin32.c win32: misc warning fixes 2012-11-15 14:19:06 -05:00
gkeyfile.c Small documentation clarification 2013-11-23 10:49:00 -05:00
gkeyfile.h Add g_key_file_save_to_file() 2013-10-04 12:18:20 -04:00
glib_probes.d Add some mainloop instrumentation 2013-11-23 00:22:09 -05:00
glib_trace.h Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib-init.c glib-init: make static assertions about platform assumptions 2014-01-19 20:23:43 -05:00
glib-init.h glib-init: fix redundant-decls of g_mem_gc_friendly 2013-10-20 15:42:45 -04:00
glib-object.h Clean up includes 2011-05-28 23:27:24 -04:00
glib-private.c GDir: add some glib-private APIs 2013-09-16 13:38:40 -04:00
glib-private.h glib-private.h: add _glib_alignof 2014-01-19 20:23:30 -05:00
glib-unix.c gsourceclosure: Add support for GUnixSignalWatchSource and GUnixFDSource 2013-07-13 16:38:55 -04:00
glib-unix.h Add a UNIX fd source 2013-01-15 14:08:02 -05:00
glib.h Make G_DISABLE_DEPRECATED work again for wholly deprecated headers 2013-02-03 01:11:02 -05:00
glib.py Make gdb pretty-printers compatible with Python3 2013-12-18 07:22:16 +11:00
glib.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
glib.stp.in Add some mainloop instrumentation 2013-11-23 00:22:09 -05:00
glibconfig.h.win32.in Remove alleged support for last-millennium Unixes 2013-11-20 09:16:16 -05:00
glibintl.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
glist.c GList: Some further documentation and formatting tweaks 2014-01-19 21:37:28 -05:00
glist.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gmacros.h gmacros.h: fix C99 check 2013-11-02 12:23:30 -04:00
gmain-internal.h Move single-include guards inside include guards 2012-12-27 23:43:14 -05:00
gmain.c GMainContext: unref pending sources on destroy 2014-01-19 17:41:18 -05:00
gmain.h docs: fix GSourceFuncs docs 2013-09-20 21:08:20 +02:00
gmappedfile.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gmappedfile.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gmarkup.c GMarkup: clear attributes on ignorned tags 2013-10-29 09:37:06 -07:00
gmarkup.h GMarkup: add G_MARKUP_IGNORE_QUALIFIED 2013-10-28 15:24:58 -07:00
gmem.c Drop memory-related trap variables 2014-01-01 17:59:22 -05:00
gmem.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gmessages.c gmessages: make _g_log_abort() do only breakpoints again 2013-12-03 15:56:47 +01:00
gmessages.h gmessages: Add g_info macro for G_LOG_LEVEL_INFO 2013-11-19 08:08:14 +01:00
gmirroringtable.h Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gnode.c More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
gnode.h Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
goption.c GOptionContext: add some notes about encodings 2014-01-17 20:13:46 -05:00
goption.h GOptionContext: add memory-friendly parse mode 2014-01-10 12:32:35 -05:00
gpattern.c Use "Returns:" instead of the invalid "@returns" for annotating return values. 2012-11-01 14:47:25 +13:00
gpattern.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gpoll.c Use POSIX-specified <poll.h> over <sys/poll.h> 2013-12-22 11:33:07 -05:00
gpoll.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gprimes.c Move gutils docs inline 2011-06-08 23:44:39 -04:00
gprimes.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gprintf.c gmessages: Clarify new-line behaviour of message functions 2013-10-21 15:30:47 +01:00
gprintf.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gprintfint.h Fix #147651, reported by Oliver Guntermann: 2004-07-21 17:51:28 +00:00
gqsort.c glib/gqsort.c: Fix C99ism/GCCism 2012-03-20 22:29:50 -04:00
gqsort.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gquark.c gquark: clarify G_DEFINE_QUARK docs about the use of quotes 2012-08-28 13:16:23 -04:00
gquark.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gqueue.c GQueue: documentation and formatting fixes 2014-01-19 22:03:40 -05:00
gqueue.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
grand.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
grand.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gregex.c GRegex: add g_regex_get_max_lookbehind() 2013-07-23 15:43:22 +02:00
gregex.h GRegex: add g_regex_get_max_lookbehind() 2013-07-23 15:43:22 +02:00
gscanner.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gscanner.h Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gscripttable.h unicode: Update to unicode 6.3.0 2013-10-02 18:22:16 +02:00
gsequence.c gsequence: Fix g_sequence_lookup() return value documentation 2013-01-26 19:12:10 +01:00
gsequence.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gshell.c Fix regression in g_shell_parse_argv() 2012-09-13 10:20:27 +02:00
gshell.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gslice.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gslice.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gslist.c Use "Returns:" instead of the invalid "@returns" for annotating return values. 2012-11-01 14:47:25 +13:00
gslist.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gspawn-win32-helper.c glib/gspawn-win32-helper.c: Clean up a bit 2013-11-11 22:37:10 +08:00
gspawn-win32.c win32: misc warning fixes 2012-11-15 14:19:06 -05:00
gspawn.c gspawn: support creating pipes with O_CLOEXEC 2013-10-17 14:32:41 -04:00
gspawn.h gspawn: support creating pipes with O_CLOEXEC 2013-10-17 14:32:41 -04:00
gstdio.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gstdio.h Add g_close(), use it 2013-01-29 09:46:04 -05:00
gstrfuncs.c Clarify g_strchomp and g_strchug docs 2014-01-20 00:34:29 -05:00
gstrfuncs.h Add simple string "search" function 2013-10-14 16:48:42 -04:00
gstring.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gstring.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gstringchunk.c gstringchunk: Use g_slist_free_full() where possible 2014-01-16 20:18:46 -05:00
gstringchunk.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gtester-report Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gtester.c gtester: only remove source if not already dead 2013-10-23 15:28:06 -04:00
gtestutils.c Adjust doc to Makefile.decl renaming 2014-01-19 08:13:03 -05:00
gtestutils.h gtestutils: add g_assert_nonnull() to go with g_assert_null() 2013-11-24 14:59:51 -05:00
gthread-posix.c gthread-posix: Don't use gslice allocated GRecMutex 2013-11-26 20:23:48 +01:00
gthread-win32.c Revert two errant commits to GMutex, etc. 2013-07-01 23:30:47 -04:00
gthread.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gthread.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gthreadpool.c gthreadpool: Don't pass bad data to GThreadPool sorter 2013-11-11 07:57:52 +01:00
gthreadpool.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gthreadprivate.h Remove most use of G_GNUC_INTERNAL 2013-01-18 13:03:28 -05:00
gtimer.c Remove broken attempt at parsing date-only 2014-01-01 17:59:21 -05:00
gtimer.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gtimezone.c glib/gtimezone.c: Check the size of tzi.DaylightName 2014-01-20 10:22:47 -05:00
gtimezone.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gtrashstack.c Move GTrashStack out of gutils.[hc] 2011-10-16 16:52:24 -04:00
gtrashstack.h Move single-include guards inside include guards 2012-12-27 23:43:14 -05:00
gtree.c More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
gtree.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gtypes.h gmacros: Ensure GUINT32/64_SWAP_LE_BE macros parenthesize arguments 2013-03-15 12:51:49 -04:00
gunibreak.c Remove redundant header inclusions 2010-09-03 20:38:30 -04:00
gunibreak.h unicode: Update to unicode 6.3.0 2013-10-02 18:22:16 +02:00
gunichartables.h unicode: Update to unicode 6.3.0 2013-10-02 18:22:16 +02:00
gunicode.h Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gunicodeprivate.h Remove most use of G_GNUC_INTERNAL 2013-01-18 13:03:28 -05:00
gunicollate.c Trivial formatting fixes 2014-01-01 17:59:21 -05:00
gunicomp.h unicode: Update to unicode 6.2.0 beta 2012-10-03 13:58:19 +02:00
gunidecomp.c Add missing allow-none annotations for function parameters. 2012-03-31 20:34:28 +11:00
gunidecomp.h unicode: Update to unicode 6.2.0 beta 2012-10-03 13:58:19 +02:00
guniprop.c unicode: Update to unicode 6.2.0 beta 2012-10-03 13:58:19 +02:00
gurifuncs.c g_uri_unescape_string: Mention (allow-none)/%NULL in documentation 2013-06-19 17:26:45 +02:00
gurifuncs.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gutf8.c gutf8: use g_try_malloc_n 2013-12-03 15:56:47 +01:00
gutils.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gutils.h Require C90 compliance 2013-11-20 09:16:16 -05:00
gvariant-core.c g_variant_get_data_as_bytes: return a sub-bytes if necessary 2013-04-20 19:24:47 -04:00
gvariant-core.h Remove most use of G_GNUC_INTERNAL 2013-01-18 13:03:28 -05:00
gvariant-internal.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gvariant-parser.c Trivial typo fix 2014-01-01 17:59:22 -05:00
gvariant-serialiser.c Trivial typo fix 2014-01-01 17:59:22 -05:00
gvariant-serialiser.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gvariant.c GVariantBuilder: small documentation fixes 2013-11-23 13:16:06 -05:00
gvariant.h GVariant: add way to print context of parse errors 2013-12-22 11:41:19 -05:00
gvarianttype.c GVariantType: gut g_variant_type_check() 2012-08-27 16:12:30 -04:00
gvarianttype.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gvarianttypeinfo.c Add missing allow-none annotations for function parameters. 2012-03-31 20:34:28 +11:00
gvarianttypeinfo.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gversion.c Add flexible API version boundaries 2012-02-26 23:58:41 -05:00
gversion.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gversionmacros.h Fix typo in GLIB_VERSION_2_40 docs. 2013-09-25 09:39:20 +02:00
gwakeup.c Minor 2013-02-25 23:08:43 -05:00
gwakeup.h Remove a few more G_GNUC_INTERNAL users 2013-01-18 13:28:43 -05:00
gwin32.c Avoid a deprecation warning 2014-01-19 08:21:50 -05:00
gwin32.h win32: add g_win32_get_command_line() 2014-01-17 20:04:44 -05:00
libglib-gdb.py.in Avoid shadowing dir builtin 2010-12-03 14:41:06 -05:00
Makefile.am Reorganize the "don't dump core from test subprocesses" code. 2013-11-24 15:14:13 -05:00
makefile.msc.in win32: Use timeGetTime as monotonic base 2011-11-16 09:10:46 +01:00
valgrind.h valgrind.h: add "r0" to the clobber list on PPC 2013-12-16 14:55:28 -05:00
win_iconv.c win32: misc warning fixes 2012-11-15 14:19:06 -05:00