home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume28 / cproto / patch01 / patch1
Encoding:
Text File  |  1992-03-22  |  1.5 KB  |  58 lines

  1. diff -c old/CHANGES new/CHANGES
  2. *** old/CHANGES    Sat Mar 14 12:14:46 1992
  3. --- new/CHANGES    Mon Mar 16 10:15:44 1992
  4. ***************
  5. *** 1,5 ****
  6. --- 1,9 ----
  7.   Version 3
  8.   
  9. + Patchlevel 1
  10. + - Fix: The program was calling ftell() on an invalid FILE pointer.
  11.   Patchlevel 0
  12.   
  13.   - Added options to convert function definitions between the old style
  14. diff -c old/lex.l new/lex.l
  15. *** old/lex.l    Mon Mar 16 10:17:30 1992
  16. --- new/lex.l    Mon Mar 16 10:09:18 1992
  17. ***************
  18. *** 235,247 ****
  19.           break;
  20.       case '/':
  21.           if (lastc == '*') {
  22. !         if (cur_file->convert && func_params && cur_declarator) {
  23. !             cur_declarator->begin_comment = begin_comment;
  24. !             begin_comment = ftell(cur_file->tmp_file);
  25. !             cur_declarator->end_comment = begin_comment;
  26. !             cur_declarator = NULL;
  27. !         } else {
  28. !             end_comment = ftell(cur_file->tmp_file);
  29.           }
  30.           return;
  31.           }
  32. --- 235,249 ----
  33.           break;
  34.       case '/':
  35.           if (lastc == '*') {
  36. !         if (cur_file->convert) {
  37. !             if (func_params && cur_declarator) {
  38. !             cur_declarator->begin_comment = begin_comment;
  39. !             begin_comment = ftell(cur_file->tmp_file);
  40. !             cur_declarator->end_comment = begin_comment;
  41. !             cur_declarator = NULL;
  42. !             } else {
  43. !             end_comment = ftell(cur_file->tmp_file);
  44. !             }
  45.           }
  46.           return;
  47.           }
  48. diff -c old/patchlev.h new/patchlev.h
  49. *** old/patchlev.h    Mon Mar 16 10:19:22 1992
  50. --- new/patchlev.h    Mon Mar 16 10:11:14 1992
  51. ***************
  52. *** 1,1 ****
  53. ! #define PATCHLEVEL 0
  54. --- 1,1 ----
  55. ! #define PATCHLEVEL 1
  56.