Changes between Version 3 and Version 4 of Ticket #715, comment 295


Ignore:
Timestamp:
09/09/12 19:35:12 (7 years ago)
Author:
nbruin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #715, comment 295

    v3 v4  
    2424    for i from 0 <= i < n:
    2525        _name = names[i]
    26         sys.stderr.write("calling omStrDup for i=%s\n"%i)
     26        sys.stderr.write("calling omStrDup for i=%s with name=%s\n"%(i,names[i])
    2727        _names[i] = omStrDup(_name)
    2828        sys.stderr.write("after omStrDup\n")
    2929}}}
    30 gives me:
     30gives me (note that the strings to be duplicated are fine for printing!):
    3131{{{
    3232...
    3333after _names allocation
    34 calling omStrDup for i=0
     34calling omStrDup for i=0 with name=a
    3535after omStrDup
    36 calling omStrDup for i=1
     36calling omStrDup for i=1 with name=b
    3737
    3838<UNHANDLED SIGSEGV>