[minicom-Bugs][312937] Phonebooks (~/.dialdir) created on i386 are unreadable on amd64

minicom-bugs at alioth.debian.org minicom-bugs at alioth.debian.org
Sat Jul 23 19:37:17 UTC 2011


Bugs item #312937, was changed at 2011-01-21 12:00 by John Morrissey
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=312937&group_id=30018

Status: Closed
Priority: 3
Submitted By: John Morrissey (jwm-guest)
Assigned to: Nobody (None)
Summary: Phonebooks (~/.dialdir) created on i386 are unreadable on amd64 
Category: None
Group: None
Resolution: Fixed


Initial Comment:
Phonebooks (~/.dialdir) created on i386 are unreadable on amd64 (and vice versa) due to the different dialent structure lengths. The differing size of the 'struct direct *' pointer causes the:

    dial_ver.size != sizeof(struct dialent)

comparison to fail.

I had a bunch of users with large phonebooks, so I wrote a kludgy converter in case anyone else finds it useful:

    http://horde.net/~jwm/software/misc/minicom-dialdir-i386-to-amd64.c


----------------------------------------------------------------------

Comment By: John Morrissey (jwm-guest)
Date: 2011-07-23 15:37

Message:
Thanks, Adam. Where's the minicom source repository? The mercurial repo in the Alioth project is empty.

----------------------------------------------------------------------

Comment By: Adam Lackorzynski (al-guest)
Date: 2011-07-23 15:25

Message:
Thanks, finally added new dialdir format and put your script under extras.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=312937&group_id=30018



More information about the minicom-devel mailing list