summaryrefslogtreecommitdiff
path: root/palm/coldsync
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-03 13:01:18 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-03 13:01:18 +0000
commit2be3e37efba1850bff897ffbd757061944af1c0c (patch)
treecffd51d6b335209888b01b8ef249c8daa4c98a07 /palm/coldsync
parentfix devel/newfile: fix Perl dependency (diff)
fix ports/palm/coldsync: fix dumps core
PR: 51139 Submitted by: Helge Oldach <send-pr-31231@oldach.net>
Notes
Notes: svn path=/head/; revision=84132
Diffstat (limited to 'palm/coldsync')
-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. */