home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnudosck.zip / patches.os2 < prev    next >
Text File  |  1993-05-22  |  1KB  |  43 lines

  1. Only in orig: configure
  2. Only in orig: configure.in
  3. diff -cb orig/doschk.c new/doschk.c
  4. *** orig/doschk.c    Tue Apr 20 22:46:22 1993
  5. --- new/doschk.c    Sat May 22 14:32:14 1993
  6. ***************
  7. *** 200,206 ****
  8.           {
  9.                 /* If trailing dot, it will be ignored by MSDOG, so don't */
  10.                 /* actually complain. */
  11. !               if (*(cp + 1) != NULL)
  12.                   {
  13.                     invalid_msg ();
  14.                     printf ("%s - too many dots\n", path);
  15. --- 200,206 ----
  16.           {
  17.                 /* If trailing dot, it will be ignored by MSDOG, so don't */
  18.                 /* actually complain. */
  19. !               if (*(cp + 1) != 0)
  20.                   {
  21.                     invalid_msg ();
  22.                     printf ("%s - too many dots\n", path);
  23. ***************
  24. *** 459,464 ****
  25. --- 459,471 ----
  26.         exit (1);
  27.       }
  28.       }
  29. +   else
  30. +     if ( isatty(0) )
  31. +       {
  32. +         fprintf(stderr, "\nGNU doschk - check filenames for DOS (and SYSV) compatibility\n"
  33. +                         "\nUsage: %s [name-list-file]\n", argv[0]);
  34. +         exit(1);
  35. +       }
  36.     while (1)
  37.       {
  38.         char line[500];
  39. Only in new: doschk.exe
  40. Only in new: Makefile
  41. Only in orig: Makefile.in
  42. Only in new: patches.os2
  43.