Obsolete golang-120
[oi-userland.git] / components / library / gnome-vfs / patches / gnome-vfs-12-vfsinfo-crash.patch
blobdaa5492c3c08ddf7d54333ba350d691d05098f8d
1 --- gnome-vfs-2.21.90/programs/gnomevfs-info.c.orig 2008-02-07 09:30:17.904787000 +0100
2 +++ gnome-vfs-2.21.90/programs/gnomevfs-info.c 2008-02-07 09:36:38.887962000 +0100
3 @@ -79,16 +79,16 @@ show_acl (GnomeVFSACL *acl)
4 GnomeVFSACLKind kind;
5 GnomeVFSACE *ace;
6 GnomeVFSACLPerm *perms;
7 - gboolean negative;
8 - gboolean inherit;
9 + gint type;
10 + gint inherance;
11 char *id;
12 const char *kind_str;
14 ace = GNOME_VFS_ACE (iter->data);
16 kind = GNOME_VFS_ACL_KIND_NULL;
17 - inherit = FALSE;
18 - negative = FALSE;
19 + inherance = 0;
20 + type = 0;
21 id = "";
22 perms = NULL;
24 @@ -96,8 +96,8 @@ show_acl (GnomeVFSACL *acl)
25 "kind", &kind,
26 "id", &id,
27 "permissions", &perms,
28 - "negative", &negative,
29 - "inherit", &inherit,
30 + "type", &type,
31 + "inherance", &inherance,
32 NULL);
34 kind_str = gnome_vfs_acl_kind_to_string (kind);
35 @@ -118,14 +118,8 @@ show_acl (GnomeVFSACL *acl)
39 - if (inherit || negative) {
40 - if (inherit && negative) {
41 - printf (" (negative, inherit)");
42 - } else {
43 - printf (" (%s)", negative ? "negative" : "inherit");
44 - }
45 - }
47 + printf ("type: %s ", gnome_vfs_acl_type_to_string(type));
48 + printf ("inherance: %s", gnome_vfs_acl_inherance_to_string(inherance));
49 printf ("\n");