Eduard Braun
303858fa76
Consistently use g_stat and GStatBuf
...
Replace "stat struct" with "GStatBuf" and "stat" with "g_stat" where
appropriate to fix cross-platform issues, specifically on Windows.
Code should be identical on *nix but fixes some serious issues
on Windows:
- Field widths of "struct stat" are not constant on Windows.
If the stat function does not match the stat struct used
it will cause overwrites and undefined behavior
- The Windows stat function needs a properly encoded filename.
In many places we pass an UTF-8 encoded value which breaks as soon
as non-ASCII characters are involved.
https://bugzilla.gnome.org/show_bug.cgi?id=787772
2018-08-19 14:53:15 +02:00
..
2013-03-28 13:00:33 +01:00
2008-07-01 22:57:50 +00:00
2009-10-09 14:35:49 +03:00
2011-01-03 19:07:07 +01:00
2010-11-18 17:47:43 +01:00
2009-04-02 10:14:04 +02:00
2012-03-02 09:47:57 -08:00
2010-08-27 20:34:23 +02:00
2009-11-27 19:14:43 +01:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2011-11-01 21:07:14 +01:00
2010-10-16 01:11:44 -04:00
2008-05-23 14:55:43 +00:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2009-01-24 21:53:29 +00:00
2010-03-01 07:52:07 +01:00
2010-10-16 01:11:44 -04:00
2009-07-01 19:02:45 -04:00
2010-03-02 07:58:05 +01:00
2008-07-01 22:57:50 +00:00
2009-04-02 10:16:29 +02:00
2017-10-05 19:47:13 +01:00
2013-07-28 13:59:55 -07:00
2013-07-28 13:59:55 -07:00
2008-06-22 14:28:52 +00:00
2008-12-31 07:29:23 +00:00
2018-08-19 14:53:15 +02:00
2013-02-13 17:44:38 -06:00
2007-11-14 10:00:37 +00:00
2018-08-19 14:53:15 +02:00
2009-05-11 01:23:13 -04:00
2008-10-31 08:56:42 +00:00
2010-05-30 15:34:27 +02:00
2008-08-05 12:30:15 +00:00
2008-05-29 14:33:49 +00:00
2010-08-07 15:35:50 +02:00
2010-03-02 07:58:05 +01:00
2016-01-19 23:51:03 +01:00
2011-12-08 08:04:34 -05:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2010-09-24 11:50:26 -04:00
2008-06-22 14:28:52 +00:00
2010-11-18 17:47:43 +01:00
2010-03-01 04:55:55 +01:00
2009-06-15 09:14:00 +08:00
2008-07-01 22:57:50 +00:00
2006-05-31 14:06:02 +00:00
2008-05-23 14:55:43 +00:00
2008-07-01 22:57:50 +00:00
2008-06-22 14:28:52 +00:00
2010-03-02 07:58:05 +01:00
2010-08-08 02:59:21 +02:00
2007-11-21 09:32:35 +00:00
2017-02-18 20:05:44 +00:00
2008-07-01 22:57:50 +00:00
2008-06-22 14:28:52 +00:00
2010-10-18 08:17:50 -04:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2017-02-18 20:05:44 +00:00
2018-08-19 14:53:15 +02:00
2008-07-01 22:57:50 +00:00
2010-10-16 01:11:44 -04:00
2007-07-24 03:50:49 +00:00
2009-11-06 01:21:09 +01:00
2010-10-16 01:11:44 -04:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2008-06-22 14:28:52 +00:00
2010-10-16 08:03:58 -04:00
2009-05-11 13:52:16 +02:00
2009-09-12 13:23:09 +02:00
2009-12-08 11:27:02 -06:00
2008-06-22 14:28:52 +00:00