Changeset 14580 for trunk/FACT++/dim/src
- Timestamp:
- 11/07/12 18:09:19 (12 years ago)
- Location:
- trunk/FACT++/dim/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/src/dic.c
r14575 r14580 757 757 if(servp->fill_size > 0) 758 758 free( servp->fill_address ); 759 fillp = 0;759 fillp = serv_address; 760 760 if(serv_size > 0) 761 761 { … … 814 814 newp->user_routine = routine; 815 815 newp->tag = tag; 816 fillp = 0;816 fillp = fill_addr; 817 817 if(fill_size > 0) 818 818 { … … 885 885 if(servp->fill_size > 0) 886 886 free( servp->fill_address ); 887 fillp = 0;887 fillp = fill_addr; 888 888 if(fill_size > 0) 889 889 { -
trunk/FACT++/dim/src/diccpp.cxx
r14575 r14580 168 168 itsName = new char[strlen(name)+1]; 169 169 strcpy(itsName,name); 170 itsNolinkBuf = nolink; 171 itsNolinkSize = nolinksize; 170 172 if(nolinksize > 0) 171 173 { … … 253 255 itsName = new char[strlen(name)+1]; 254 256 strcpy(itsName,name); 257 itsNolinkBuf = nolink; 258 itsNolinkSize = nolinksize; 255 259 if(nolinksize > 0) 256 260 { … … 311 315 itsName = new char[strlen(name)+1]; 312 316 strcpy(itsName,name); 317 itsNolinkBuf = nolink; 318 itsNolinkSize = nolinksize; 313 319 if(nolinksize > 0) 314 320 { … … 400 406 itsName = new char[strlen(name)+1]; 401 407 strcpy(itsName,name); 408 itsNolinkBuf = nolink; 409 itsNolinkSize = nolinksize; 402 410 if(nolinksize > 0) 403 411 { … … 687 695 itsDataOutSize = 0; 688 696 itsDataOut = 0; 689 itsNolinkBuf = n ew char[nolinksize];697 itsNolinkBuf = nolink; 690 698 itsNolinkSize = nolinksize; 691 memcpy(itsNolinkBuf, nolink, nolinksize); 699 if(nolinksize > 0) 700 { 701 itsNolinkBuf = new char[nolinksize]; 702 itsNolinkSize = nolinksize; 703 memcpy(itsNolinkBuf, nolink, nolinksize); 704 } 692 705 itsNameOut = new char[strlen(name)+1+10]; 693 706 strcpy(itsNameOut,name);
Note:
See TracChangeset
for help on using the changeset viewer.