[op25-dev] RE: pickle.cc and

Matt D md123 at nycap.rr.com
Thu Oct 24 16:10:06 UTC 2013

Hash: SHA1

On 10/24/2013 09:39 AM, ikj1234i at yahoo.com wrote:
> The code is not easy to follow and I'd hesitate to make definitive 
> assertions about it, but the pickle data appears to originate from
> this code in hdu.cc
> std::string hdu::snapshot() const { pickle p; p.add("duid",
> duid_str()); p.add("nac", nac_str()); p.add("mfid", mfid_str()); 
> p.add("algid", algid_str()); p.add("kid", kid_str()); p.add("mi",
> mi_str()); p.add("tgid", tgid_str()); return p.to_string(); }
right i commented this out, rebiult and i still get the updates in the
UI and the bad pointer error from the snapshot function.  if indeed
this is where the data originates, then there are two possiblities:
(1) i am commenting out the code in a file that is not used at run
time. i am unclear as to how this could be becuase i was under the
impression that the source used by the program is in
home/op25/blocks/src/lib which is where the script on osmo puts it and
that is where i am doing the modifications;
and (2) the second possibility is that the interpreter is still
executing the commented out code, which seems pretty unlikely.

so lets say #1 from above is what is going on.  where and how exactly
can i make changes to the code??? or find out where the src files the
program that is running are really biult from?  im sorry if this is a
super rookie question but . . . obviously i am stuck here.
Version: GnuPG v2.0.21 (GNU/Linux)
Comment: MacGPG2 - http://www.gpgtools.org/macgpg2.html
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20131024/79263609/attachment.html>

More information about the op25-dev mailing list