Subversion Repositories wimsdev

Rev

Rev 16724 | Rev 16727 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16724 Rev 16725
Line 1654... Line 1654...
1654
        }
1654
        }
1655
      }
1655
      }
1656
    }
1656
    }
1657
  }
1657
  }
1658
  if(var_def_buf) free(var_def_buf);
1658
  if(var_def_buf) free(var_def_buf);
1659
}
-
 
1660
 
-
 
1661
void my_debug(char*s,...)
-
 
1662
{
-
 
1663
  va_list vp;
-
 
1664
  char buf[MAX_LINELEN+1];
-
 
1665
 
-
 
1666
  va_start(vp,s);
-
 
1667
  vsnprintf(buf,sizeof(buf),s,vp);
-
 
1668
  va_end(vp);
-
 
1669
// better with zsh, but not always install
-
 
1670
 call_sh("echo -n '%s' >> /home/svn/wims/tmp/debug",buf);
-
 
1671
// the directory must be changed according to the installation !
-
 
1672
}
1659
}