- Backported patch to fix bug #167985
parent
d7d7c9396d
commit
91939ef4e4
@ -0,0 +1,21 @@
|
|||||||
|
diff -ur gnome-vfs-2.12.0/libgnomevfs/gnome-vfs-hal-mounts.c gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c
|
||||||
|
--- gnome-vfs-2.12.0/libgnomevfs/gnome-vfs-hal-mounts.c 2005-09-05 04:19:11.000000000 -0400
|
||||||
|
+++ gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c 2005-09-08 14:48:28.000000000 -0400
|
||||||
|
@@ -1508,7 +1508,7 @@
|
||||||
|
GnomeVFSDrive *result;
|
||||||
|
LibHalContext *hal_ctx;
|
||||||
|
LibHalDrive *hal_drive;
|
||||||
|
- char path[PATH_MAX] = "/dev/";
|
||||||
|
+ char path[PATH_MAX + 5] = "/dev/";
|
||||||
|
char *target = path + 5;
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
@@ -1562,7 +1562,7 @@
|
||||||
|
GnomeVFSVolume *result;
|
||||||
|
LibHalContext *hal_ctx;
|
||||||
|
LibHalDrive *hal_drive;
|
||||||
|
- char path[PATH_MAX] = "/dev/";
|
||||||
|
+ char path[PATH_MAX + 5] = "/dev/";
|
||||||
|
char *target = path + 5;
|
||||||
|
int ret;
|
||||||
|
|
Loading…
Reference in new issue