[BACK]Return to ext.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

Diff for /OpenXM/src/kan96xx/Kan/ext.c between version 1.38 and 1.41

version 1.38, 2005/07/03 11:08:53 version 1.41, 2005/09/27 06:10:43
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kan96xx/Kan/ext.c,v 1.37 2005/06/16 06:21:21 takayama Exp $ */  /* $OpenXM: OpenXM/src/kan96xx/Kan/ext.c,v 1.40 2005/09/27 05:46:50 takayama Exp $ */
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
 #include <sys/types.h>  #include <sys/types.h>
Line 21 
Line 21 
   
 extern int Quiet;  extern int Quiet;
 extern char **environ;  extern char **environ;
   extern char *MsgSourceTrace;
   
 #define MYCP_SIZE 100  #define MYCP_SIZE 100
 static int Mychildren[MYCP_SIZE];  static int Mychildren[MYCP_SIZE];
Line 465  struct object Kextension(struct object obj)
Line 466  struct object Kextension(struct object obj)
 #else  #else
     putoa(rob,0,KpoString("unix"));      putoa(rob,0,KpoString("unix"));
 #endif  #endif
     }else if (strcmp(key,"stringToArgv")==0) {
       if (size != 2) errorKan1("%s\n","[(stringToArgv) a ] extension b");
           obj1 = getoa(obj,1);
           if (obj1.tag != Sdollar) errorKan1("%s\n","[(stringToArgv) a ] extension b,  a must be a string.");
       rob = KstringToArgv(obj1);
     }else if (strcmp(key,"stringToArgv2")==0) {
       if (size != 3) errorKan1("%s\n","[(stringToArgv2) str separator] extension b");
           obj1 = getoa(obj,1);
           obj2 = getoa(obj,2);
       rob = KstringToArgv2(obj1,obj2);
   }else if (strcmp(key,"traceClearStack")==0) {    }else if (strcmp(key,"traceClearStack")==0) {
     traceClearStack();      traceClearStack();
     rob = NullObject;      rob = NullObject;
   }else if (strcmp(key,"traceShowStack")==0) {    }else if (strcmp(key,"traceShowStack")==0) {
     char *ssst;      char *ssst;
     ssst = traceShowStack();      ssst = traceShowStack();
       if (ssst != NULL) {
         rob = KpoString(ssst);
       }else{
         rob = NullObject;
       }
     }else if (strcmp(key,"traceShowScannerBuf")==0) {
       char *ssst;
       ssst = MsgSourceTrace;
     if (ssst != NULL) {      if (ssst != NULL) {
       rob = KpoString(ssst);        rob = KpoString(ssst);
     }else{      }else{

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.41

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>