home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume42 / envv-1.2 / patch03 / patch.03
Encoding:
Text File  |  1994-05-11  |  1.6 KB  |  65 lines

  1. *** ../old/Makefile    Wed Apr  6 15:38:24 1994
  2. --- ./Makefile    Fri Apr 22 11:07:41 1994
  3. ***************
  4. *** 1,6 ****
  5.   # Makefile for envv.
  6.   
  7. ! VERSION=1.2
  8.   
  9.   SRCS=envv.c
  10.   FILES=$(SRCS) Makefile README envv.1
  11. --- 1,6 ----
  12.   # Makefile for envv.
  13.   
  14. ! VERSION=1.3
  15.   
  16.   SRCS=envv.c
  17.   FILES=$(SRCS) Makefile README envv.1
  18. *** ../old/README    Mon Apr 18 12:17:06 1994
  19. --- ./README    Tue May 10 10:32:02 1994
  20. ***************
  21. *** 30,35 ****
  22. --- 30,42 ----
  23.   
  24.   CHANGES TO ENVV:
  25.   
  26. + * Version 1.3 (10 May 1994)
  27. + + Bug fixes
  28. + - I was freeing a string after sending it to putenv().  Bad news.
  29. +   This patch fixes that.
  30.   * Version 1.2 (18 April 1994)
  31.   
  32.   + Enhancements
  33. *** ../old/envv.c    Fri Apr 22 10:32:15 1994
  34. --- ./envv.c    Tue May 10 10:28:07 1994
  35. ***************
  36. *** 31,37 ****
  37.   /*  If no commands given on command line, read from stdin      */
  38.   /*                                                             */
  39.   /***************************************************************/
  40. ! #define VERSION "1.2"
  41.   
  42.   /* I need to use malloc.  If its prototype is in malloc.h, #define
  43.      NEED_MALLOC_H. */
  44. --- 31,37 ----
  45.   /*  If no commands given on command line, read from stdin      */
  46.   /*                                                             */
  47.   /***************************************************************/
  48. ! #define VERSION "1.3"
  49.   
  50.   /* I need to use malloc.  If its prototype is in malloc.h, #define
  51.      NEED_MALLOC_H. */
  52. ***************
  53. *** 639,645 ****
  54.      if (!UseCmdLine) {
  55.         *--s = 0;
  56.         putenv(envstr);
  57. -       free(envstr);
  58.      }
  59.   
  60.   
  61. --- 639,644 ----
  62.