You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2003/12/17 11:30:09 UTC

cvs commit: ws-axis/c/src/common AxisConfig.cpp AxisTrace.cpp

damitha     2003/12/17 02:30:09

  Modified:    c/docs/linux Tag: Release-2003_10_26-bugfixes_branch
                        linuser-guide.html
               c/src/common Tag: Release-2003_10_26-bugfixes_branch
                        AxisConfig.cpp AxisTrace.cpp
  Log:
  fixed a small bug to work in windows(ie: put a null terminating character)
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.5   +1 -1      ws-axis/c/docs/linux/Attic/linuser-guide.html
  
  Index: linuser-guide.html
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/docs/linux/Attic/linuser-guide.html,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- linuser-guide.html	30 Nov 2003 12:27:49 -0000	1.1.2.4
  +++ linuser-guide.html	17 Dec 2003 10:30:08 -0000	1.1.2.5
  @@ -426,7 +426,7 @@
   </p>
   <p>When starting with the valid WSDL file to use Axis C++ you have to get started with the tool called WSDL2Ws which is written in Java. source for WSDL2Ws tool is in</p>
   <p>
  -<strong>$axiscpp_home/src/wsdl</strong>
  +<strong>$AXISCPP_HOME/src/wsdl</strong>
   </p>
   <p>You need the following jar files included in the <strong>CLASSPATH</strong> .</p>
   <p>- axis.jar</p>
  
  
  
  No                   revision
  No                   revision
  1.8.2.8   +6 -0      ws-axis/c/src/common/AxisConfig.cpp
  
  Index: AxisConfig.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/AxisConfig.cpp,v
  retrieving revision 1.8.2.7
  retrieving revision 1.8.2.8
  diff -u -r1.8.2.7 -r1.8.2.8
  --- AxisConfig.cpp	17 Dec 2003 05:56:56 -0000	1.8.2.7
  +++ AxisConfig.cpp	17 Dec 2003 10:30:09 -0000	1.8.2.8
  @@ -148,9 +148,15 @@
           sscanf(m_sLine,"%s", key);
           
           if(strcmp(key, "WSDDFILEPATH") == 0)
  +        {
               strncpy(m_sWsddFilePath, m_sValue + 1, linesize  - strlen(key) - 2);
  +            m_sWsddFilePath[linesize  - strlen(key) - 2] = '\0';
  +        }
           if(strcmp(key, "AXISLOGPATH") == 0)
  +        {
               strncpy(m_sAxisLogPath, m_sValue + 1, linesize  - strlen(key) - 2);
  +            m_sAxisLogPath[linesize  - strlen(key) - 2] = '\0';
  +        }
            
       }
       
  
  
  
  1.9.2.7   +0 -2      ws-axis/c/src/common/AxisTrace.cpp
  
  Index: AxisTrace.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/AxisTrace.cpp,v
  retrieving revision 1.9.2.6
  retrieving revision 1.9.2.7
  diff -u -r1.9.2.6 -r1.9.2.7
  --- AxisTrace.cpp	17 Dec 2003 05:56:56 -0000	1.9.2.6
  +++ AxisTrace.cpp	17 Dec 2003 10:30:09 -0000	1.9.2.7
  @@ -65,8 +65,6 @@
   #include <axis/common/AxisUtils.h>
   #include <axis/common/GDefine.h>
   #include <axis/common/AxisConfig.h>
  -#include <fcntl.h>
  -#include <unistd.h>
   
   
   extern AxisConfig* g_pConfig;