home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume15 / cshar / patch2 / patch02
Encoding:
Text File  |  1988-06-02  |  1.7 KB  |  64 lines

  1. Index: patchlevel.h
  2. Prereq: 2.1
  3. *** /tmp/,RCSt1a26117    Fri Jun  3 16:09:09 1988
  4. --- patchlevel.h    Fri Jun  3 16:08:46 1988
  5. ***************
  6. *** 2,7 ****
  7. --- 2,10 ----
  8.   **  This file records official patches.  RCS records the edit log.
  9.   **
  10.   **  $Log:    patchlevel.h,v $
  11. + **  Revision 2.2  88/06/03  16:08:37  rsalz
  12. + **  patch02:  Fix order of chdir/mkdir commands for unshar.
  13. + **  
  14.   **  Revision 2.1  88/06/03  12:16:40  rsalz
  15.   **  patch01:  Add config.x386 and config.sVr3; change "dirent.h" to <dirent.h>
  16.   **  patch01:  In Makefile, use $(DIRLIB) only in actions, not dependencies;
  17. ***************
  18. *** 16,19 ****
  19.   **  Revision 2.0  88/05/27  13:32:13  rsalz
  20.   **  First comp.sources.unix release
  21.   */
  22. ! #define PATCHLEVEL 1
  23. --- 19,22 ----
  24.   **  Revision 2.0  88/05/27  13:32:13  rsalz
  25.   **  First comp.sources.unix release
  26.   */
  27. ! #define PATCHLEVEL 2
  28. *** /tmp/,RCSt1a26117    Fri Jun  3 16:09:12 1988
  29. --- unshar.c    Fri Jun  3 16:08:48 1988
  30. ***************
  31. *** 6,12 ****
  32.   #include "shar.h"
  33.   #ifdef    RCSID
  34.   static char RCS[] =
  35. !     "$Header: unshar.c,v 2.1 88/06/03 11:39:33 rsalz Exp $";
  36.   #endif    /* RCSID */
  37.   
  38.   
  39. --- 6,12 ----
  40.   #include "shar.h"
  41.   #ifdef    RCSID
  42.   static char RCS[] =
  43. !     "$Header: unshar.c,v 2.2 88/06/03 16:08:14 rsalz Exp $";
  44.   #endif    /* RCSID */
  45.   
  46.   
  47. ***************
  48. *** 338,344 ****
  49.       }
  50.   
  51.       /* Got directory; try to go there.  Only make last component. */
  52. !     if (chdir(p) < 0 && mkdir(p, 0777) < 0 && chdir(p) < 0)
  53.           Quit("Cannot chdir nor mkdir desired directory");
  54.       }
  55.       else
  56. --- 338,344 ----
  57.       }
  58.   
  59.       /* Got directory; try to go there.  Only make last component. */
  60. !     if (chdir(p) < 0 && (mkdir(p, 0777) < 0 || chdir(p) < 0))
  61.           Quit("Cannot chdir nor mkdir desired directory");
  62.       }
  63.       else
  64.