aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-03 21:01:18 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-03 21:01:18 +0800
commit44a97175dcdf17dfd9e85b6f05a840570749ae49 (patch)
treebd74b7a51a189a66465d366a8a08d9f445d107e7 /palm
parentb3569131605a9698ad992d3b290505b476154510 (diff)
downloadfreebsd-ports-gnome-44a97175dcdf17dfd9e85b6f05a840570749ae49.tar.gz
freebsd-ports-gnome-44a97175dcdf17dfd9e85b6f05a840570749ae49.tar.zst
freebsd-ports-gnome-44a97175dcdf17dfd9e85b6f05a840570749ae49.zip
fix ports/palm/coldsync: fix dumps core
PR: 51139 Submitted by: Helge Oldach <send-pr-31231@oldach.net>
Diffstat (limited to 'palm')
-rw-r--r--palm/coldsync/files/patch-coldsync.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/palm/coldsync/files/patch-coldsync.c b/palm/coldsync/files/patch-coldsync.c
new file mode 100644
index 000000000000..dded030000e7
--- /dev/null
+++ b/palm/coldsync/files/patch-coldsync.c
@@ -0,0 +1,11 @@
+--- src/coldsync.c.ORIG Fri Apr 18 22:59:58 2003
++++ src/coldsync.c Fri Apr 18 23:10:57 2003
+@@ -622,7 +622,7 @@
+
+ time(&now);
+ Verbose(1, _("Sync for %s at %s"),
+- (pda->name == NULL ? "unnamed PDA" : pda->name),
++ (pda == NULL || pda->name == NULL ? "unnamed PDA" : pda->name),
+ ctime(&now));
+
+ /* See if the userid matches. */