diff options
author | magick <magick> | 2002-03-23 15:28:58 +0000 |
---|---|---|
committer | magick <magick> | 2002-03-23 15:28:58 +0000 |
commit | 57dcc57c1c856afa9e3b87f33ee7b1782e248c08 (patch) | |
tree | d0d7c081a93196df04173ecb04c434a8c7f9e558 /comms/pilotmgr/patches/patch-aa | |
parent | c0e89318bfb8498b6f7cc646c571918cae2f286a (diff) | |
download | pkgsrc-57dcc57c1c856afa9e3b87f33ee7b1782e248c08.tar.gz |
Update PilotManager to 1.107.2nb1
Changes are:
- Apply a patch posted on the homepage to avoid problems when
backing up PalmOS3.5 devices
- Make PKGNAME dewey conform
Diffstat (limited to 'comms/pilotmgr/patches/patch-aa')
-rw-r--r-- | comms/pilotmgr/patches/patch-aa | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/comms/pilotmgr/patches/patch-aa b/comms/pilotmgr/patches/patch-aa index c7cb19cc622..4b36fac1a02 100644 --- a/comms/pilotmgr/patches/patch-aa +++ b/comms/pilotmgr/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.3 2000/01/18 20:41:13 tron Exp $ +$NetBSD: patch-aa,v 1.4 2002/03/23 15:29:00 magick Exp $ --- PilotMgr.pm.orig Wed Mar 24 23:59:59 1999 -+++ PilotMgr.pm Tue Jan 18 21:30:53 2000 ++++ PilotMgr.pm @@ -604,14 +604,18 @@ my ($image); @@ -47,3 +47,28 @@ $NetBSD: patch-aa,v 1.3 2000/01/18 20:41:13 tron Exp $ } sub loadDBList +@@ -2656,14 +2660,17 @@ + $count_max = 0; + } + +- do +- { +- status("Refreshing Database List", int(100 * $count++ / $count_max)) +- if ($count_max); +- push(@$result, $dlp->getDBInfo($i,1,0)); +- $i = $result->[-1]->{"index"}+1; ++ my $rec; ++ eval { do ++ { ++ status("Refreshing Database List", int(100 * $count++ / $count_max)) ++ if ($count_max); ++ $rec = $dlp->getDBInfo($i,1,0); ++ push(@$result, $rec) if (exists $rec->{"name"} and $rec->{"name"}); ++ $i = $rec->{"index"}+1; + } +- while ($result->[-1]->{"more"}); ++ while ($rec->{"more"}); }; ++ + + fullStatus("Pilot Manager", "Refreshing Database List", 100); + |