Avoid a g_critical(). Pass a large enough result buffer to
authorTor Lillqvist <tml@novell.com>
Tue, 30 Sep 2008 10:47:06 +0000 (10:47 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 30 Sep 2008 10:47:06 +0000 (10:47 +0000)
commit801da1dfc1cf8f41be8a9e101c28b335af974f93
tree53d887e6f2ce6ff9a04ae5c40c84f147605fd4de
parent8070d3b02fecbf00b2e9d3b79d42c9402804d6fe
Avoid a g_critical(). Pass a large enough result buffer to

2008-09-30  Tor Lillqvist  <tml@novell.com>

* glocalfile.c (get_volume_for_path) [Win32]: Avoid a
g_critical(). Pass a large enough result buffer to
GetVolumePathNameW(). Just use MAX_PATH.

svn path=/trunk/; revision=7561
gio/ChangeLog
gio/glocalfile.c