Changeset 14580 for trunk/FACT++/dim/src/diccpp.cxx
- Timestamp:
- 11/07/12 18:09:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.