Develop and Download Open Source Software

Browse CVS Repository

Diff of /ttssh2/teraterm/source/teraterm/filesys.cpp

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

revision 1.10 by maya, Mon May 14 13:29:58 2007 UTC revision 1.11 by maya, Mon May 14 14:07:14 2007 UTC
# Line 256  void ConvertLogname(char *c) Line 256  void ConvertLogname(char *c)
256  {  {
257    char buf[MAXPATHLEN], buf2[MAXPATHLEN], *p = c;    char buf[MAXPATHLEN], buf2[MAXPATHLEN], *p = c;
258    
259      memset(buf, 0, sizeof(buf));
260    
261    while(*p != '\0') {    while(*p != '\0') {
262      if (*p == '&' && *(p+1) != '\0') {      if (*p == '&' && *(p+1) != '\0') {
263        switch (*(p+1)) {        switch (*(p+1)) {
# Line 1242  void QVStart(int mode) Line 1244  void QVStart(int mode)
1244    
1245  /*  /*
1246   * $Log$   * $Log$
1247     * Revision 1.11  2007/05/14 14:07:14  maya
1248     * バッファをクリアしていないので落ちる問題を修正した。
1249     *
1250   * Revision 1.10  2007/05/14 13:29:58  maya   * Revision 1.10  2007/05/14 13:29:58  maya
1251   * ログファイル名中の &h を、接続中のホスト名に変換する機能を追加した。   * ログファイル名中の &h を、接続中のホスト名に変換する機能を追加した。
1252   *   *

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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