Changeset 14580


Ignore:
Timestamp:
11/07/12 18:09:19 (12 years ago)
Author:
tbretz
Message:
Update to v20r02.
Location:
trunk/FACT++/dim
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/dim/README_v20.txt

    r14575 r14580  
    11
    2                     DIM version 20r1 Release Notes
     2                    DIM version 20r2 Release Notes
    33
    44Notes 1 and 2 for Unix Users only
     
    1717                Dns </dev/null >& dns.log &
    1818
    19 NOTE 3: The Version Number service provided by servers is now set to 2001.
     19NOTE 3: The Version Number service provided by servers is now set to 2002.
     20
     2107/11/2012
     22Changes for version 2002:
     23    - Still problems with size=0 "no link" parameters - hopefully fixed.
     24
    2025
    212607/11/2012
  • trunk/FACT++/dim/dim/dim.h

    r14575 r14580  
    1414#include "dim_common.h"
    1515
    16 #define DIM_VERSION_NUMBER 2001
     16#define DIM_VERSION_NUMBER 2002
    1717
    1818
  • trunk/FACT++/dim/src/dic.c

    r14575 r14580  
    757757                                if(servp->fill_size > 0)
    758758                                        free( servp->fill_address );
    759                                 fillp = 0;
     759                                fillp = serv_address;
    760760                                if(serv_size > 0)
    761761                                {
     
    814814        newp->user_routine = routine;
    815815        newp->tag = tag;
    816         fillp = 0;
     816        fillp = fill_addr;
    817817        if(fill_size > 0)
    818818        {
     
    885885        if(servp->fill_size > 0)
    886886                free( servp->fill_address );
    887         fillp = 0;
     887        fillp = fill_addr;
    888888        if(fill_size > 0)
    889889        {
  • trunk/FACT++/dim/src/diccpp.cxx

    r14575 r14580  
    168168        itsName = new char[strlen(name)+1];
    169169        strcpy(itsName,name);
     170        itsNolinkBuf = nolink;
     171        itsNolinkSize = nolinksize;
    170172        if(nolinksize > 0)
    171173        {
     
    253255        itsName = new char[strlen(name)+1];
    254256        strcpy(itsName,name);
     257        itsNolinkBuf = nolink;
     258        itsNolinkSize = nolinksize;
    255259        if(nolinksize > 0)
    256260        {
     
    311315        itsName = new char[strlen(name)+1];
    312316        strcpy(itsName,name);
     317        itsNolinkBuf = nolink;
     318        itsNolinkSize = nolinksize;
    313319        if(nolinksize > 0)
    314320        {
     
    400406        itsName = new char[strlen(name)+1];
    401407        strcpy(itsName,name);
     408        itsNolinkBuf = nolink;
     409        itsNolinkSize = nolinksize;
    402410        if(nolinksize > 0)
    403411        {
     
    687695        itsDataOutSize = 0;
    688696        itsDataOut = 0;
    689         itsNolinkBuf = new char[nolinksize];
     697        itsNolinkBuf = nolink;
    690698        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        }
    692705        itsNameOut = new char[strlen(name)+1+10];
    693706        strcpy(itsNameOut,name);
Note: See TracChangeset for help on using the changeset viewer.