[nautilus] Bug 586346 – Build failure on FreeBSD
- From: Andrew Walton <awalton src gnome org>
- To: svn-commits-list gnome org
- Subject: [nautilus] Bug 586346 – Build failure on FreeBSD
- Date: Fri, 19 Jun 2009 04:18:41 -0400 (EDT)
commit 0fe78fa2ae3d1a1e46996cc27c66421965bce57c
Author: A. Walton <awalton gnome org>
Date: Fri Jun 19 04:13:36 2009 -0400
Bug 586346 â?? Build failure on FreeBSD
Use g_snprint() instead of snprintf().
libnautilus-private/nautilus-file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index 0e0199b..0602dc6 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -3206,7 +3206,7 @@ nautilus_file_set_time_metadata (NautilusFile *file,
if (time != UNDEFINED_TIME) {
/* 2^64 turns out to be 20 characters */
- snprintf (time_str, 20, "%ld", time);
+ g_snprintf (time_str, 20, "%ld", time);
time_str[20] = '\0';
metadata = time_str;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]