diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-03-13 14:01:04 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-03-13 14:01:04 +0800 |
commit | b431c0abd8361e7410a6875ffd14bbac4f850cdf (patch) | |
tree | fa4e41a4d4426cff373eace8f511b7d872a22c2e /deskutils/gnotime/files/patch-src::log.c | |
parent | 8cd9909f391159c0779c4e73b0556c03ee3305a8 (diff) | |
download | marcuscom-ports-b431c0abd8361e7410a6875ffd14bbac4f850cdf.tar marcuscom-ports-b431c0abd8361e7410a6875ffd14bbac4f850cdf.tar.gz marcuscom-ports-b431c0abd8361e7410a6875ffd14bbac4f850cdf.tar.bz2 marcuscom-ports-b431c0abd8361e7410a6875ffd14bbac4f850cdf.tar.lz marcuscom-ports-b431c0abd8361e7410a6875ffd14bbac4f850cdf.tar.xz marcuscom-ports-b431c0abd8361e7410a6875ffd14bbac4f850cdf.tar.zst marcuscom-ports-b431c0abd8361e7410a6875ffd14bbac4f850cdf.zip |
Chase the gtkhtml3 internal version change.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8544 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gnotime/files/patch-src::log.c')
-rw-r--r-- | deskutils/gnotime/files/patch-src::log.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/deskutils/gnotime/files/patch-src::log.c b/deskutils/gnotime/files/patch-src::log.c new file mode 100644 index 000000000..faf829698 --- /dev/null +++ b/deskutils/gnotime/files/patch-src::log.c @@ -0,0 +1,25 @@ +--- src/log.c.orig Thu Jul 8 00:23:54 2004 ++++ src/log.c Thu Jul 8 00:24:18 2004 +@@ -37,6 +37,8 @@ + char *filename; + GnomeVFSHandle *handle; + GnomeVFSResult result; ++ GnomeVFSFileSize bytes_written; ++ int rc; + + g_return_val_if_fail (logstr != NULL, FALSE); + +@@ -67,12 +69,11 @@ + t = time(NULL); + + /* Translators: Format to use in the gnotime logfile */ +- int rc = strftime (date, sizeof (date), _("%b %d %H:%M:%S"), localtime(&t)); ++ rc = strftime (date, sizeof (date), _("%b %d %H:%M:%S"), localtime(&t)); + if (0 >= rc) strcpy (date, "???"); + + /* Append to end of file */ + gnome_vfs_seek (handle, GNOME_VFS_SEEK_END, 0); +- GnomeVFSFileSize bytes_written; + gnome_vfs_write (handle, date, strlen(date), &bytes_written); + gnome_vfs_write (handle, logstr, strlen(logstr), &bytes_written); + gnome_vfs_write (handle, "\n", 1, &bytes_written); |