Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ttcomtester/teraterm/teraterm/commlib.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8860 by zmatsuo, Sat Jul 25 16:00:24 2020 UTC revision 8906 by zmatsuo, Tue Aug 18 15:31:34 2020 UTC
# Line 48  Line 48 
48  #include <time.h>  #include <time.h>
49  #include <locale.h>  #include <locale.h>
50    
51    #include "filesys_log.h"
52  #include "ttlib.h"  #include "ttlib.h"
53  #include "codeconv.h"  #include "codeconv.h"
54    
# Line 133  void CommInit(PComVar cv) Line 134  void CommInit(PComVar cv)
134          cv->Ready = FALSE;          cv->Ready = FALSE;
135    
136  // log-buffer variables  // log-buffer variables
         cv->HLogBuf = 0;  
         cv->HBinBuf = 0;  
         cv->LogBuf = NULL;  
         cv->BinBuf = NULL;  
         cv->LogPtr = 0;  
         cv->LStart = 0;  
         cv->LCount = 0;  
         cv->BinPtr = 0;  
         cv->BStart = 0;  
         cv->BCount = 0;  
 //      cv->DStart = 0;  
 //      cv->DCount = 0;  
         cv->BinSkip = 0;  
137          cv->FilePause = 0;          cv->FilePause = 0;
138          cv->ProtoFlag = FALSE;          cv->ProtoFlag = FALSE;
139  /* message flag */  /* message flag */
# Line 837  BOOL CommCanClose(PComVar cv) Line 825  BOOL CommCanClose(PComVar cv)
825          if (cv->InBuffCount>0) {          if (cv->InBuffCount>0) {
826                  return FALSE;                  return FALSE;
827          }          }
828          if ((cv->HLogBuf!=NULL) && (cv->LCount>0)) {          if (FLogIsOpend() && FLogGetCount() > 0) {
                 return FALSE;  
         }  
         if ((cv->HBinBuf!=NULL) &&  
             (cv->BCount>0)) {  
829                  return FALSE;                  return FALSE;
830          }          }
831          if (DDELog && DDEGetCount() > 0) {          if (DDELog && DDEGetCount() > 0) {

Legend:
Removed from v.8860  
changed lines
  Added in v.8906

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26