home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / CMTEX330 / SOURCE / PATCHES.OS2 < prev    next >
Text File  |  1993-01-18  |  1KB  |  41 lines

  1. Only in commontex-3.3-os2: exe
  2. diff -c commontex-3.3/fileio.c commontex-3.3-os2/fileio.c
  3. *** commontex-3.3/fileio.c    Wed Feb 19 21:07:04 1992
  4. --- commontex-3.3-os2/fileio.c    Sun Jan 17 21:11:03 1993
  5. ***************
  6. *** 529,536 ****
  7. --- 529,546 ----
  8.           break;
  9.   
  10.       }
  11. + #ifdef    OS2
  12. +         /*
  13. +      * Watch for file names that begin with a '/', './' or
  14. +      * have the form 'x:', where "x" is any alphabetic character
  15. +      */
  16. +     if (name_of_file[0] == '/' 
  17. +         || (name_of_file[0] == '.' && name_of_file[1] == '/')
  18. +         || (isalpha(name_of_file[0]) && name_of_file[1] == ':')) {
  19. + #else
  20.       if (name_of_file[0] == '/' ||
  21.           name_of_file[0] == '.' && name_of_file[1] == '/') {
  22. + #endif
  23.           cur_path = null_str;
  24.       }
  25.       do {
  26. ***************
  27. *** 622,628 ****
  28. --- 632,642 ----
  29.       name_of_file = new_str(MAX_STR_SIZE);
  30.       area_delimiter = '/';
  31.       ext_delimiter = '.';
  32. + #ifdef    OS2
  33. +     path_delimiter = ';';
  34. + #else    
  35.       path_delimiter = ':';
  36. + #endif
  37.       str_texput = "texput";
  38.       str_tex = ".tex";
  39.       str_dvi = ".dvi";
  40. Only in commontex-3.3-os2: Makefile.os2
  41.