[gnome-vfs] Fix printf so it does not print a NULL string causing a crash on Solaris. Fixes bug #498806.
- From: Brian Cameron <bcameron src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-vfs] Fix printf so it does not print a NULL string causing a crash on Solaris. Fixes bug #498806.
- Date: Thu, 13 May 2010 03:44:27 +0000 (UTC)
commit 93514507063fda2115a1b60b52cdad4013645cd0
Author: Brian Cameron <Brian Cameron sun com>
Date: Wed May 12 22:43:52 2010 -0500
Fix printf so it does not print a NULL string causing a crash on Solaris.
Fixes bug #498806.
programs/gnomevfs-info.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/programs/gnomevfs-info.c b/programs/gnomevfs-info.c
index 1db46bd..f460286 100644
--- a/programs/gnomevfs-info.c
+++ b/programs/gnomevfs-info.c
@@ -106,7 +106,7 @@ show_acl (GnomeVFSACL *acl)
continue;
}
- printf (" : %s:%s:", kind_str, id);
+ printf (" : %s:%s:", kind_str, id ? id : "");
if (perms != NULL) {
GnomeVFSACLPerm *piter;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]