Subversion Repositories SvarDOS

Rev

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

Rev 1963 Rev 1964
Line 47... Line 47...
47
 
47
 
48
    /* load the metadata from %DOSDIR\APPINFO\*.lsm */
48
    /* load the metadata from %DOSDIR\APPINFO\*.lsm */
49
    sprintf(buff, "%s\\appinfo\\%s.lsm", dosdir, ep->d_name);
49
    sprintf(buff, "%s\\appinfo\\%s.lsm", dosdir, ep->d_name);
50
    readlsm(buff, ver, sizeof(ver));
50
    readlsm(buff, ver, sizeof(ver));
51
 
51
 
52
    printf("%s %s", ep->d_name, ver);
52
    output(ep->d_name);
-
 
53
    output(" ");
53
    outputnl("");
54
    outputnl(ver);
54
    matchfound = 1;
55
    matchfound = 1;
55
  }
56
  }
56
  if (matchfound == 0) outputnl(svarlang_str(5, 0)); /* "No package matched the search." */
57
  if (matchfound == 0) outputnl(svarlang_str(5, 0)); /* "No package matched the search." */
57
 
58
 
58
  closedir(dp);
59
  closedir(dp);