home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume17 / ecu3 / patch06 next >
Encoding:
Internet Message Format  |  1991-02-21  |  3.1 KB

  1. From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  2. Newsgroups: comp.sources.misc
  3. Subject: v17i011:  ECU 3 - Patch06
  4. Message-ID: <1991Feb22.014653.14733@sparky.IMD.Sterling.COM>
  5. Date: 22 Feb 91 01:46:53 GMT
  6. Approved: kent@sparky.imd.sterling.com
  7. X-Checksum-Snefru: 7b5d09f2 db52c987 850d46a1 b57a7c42
  8.  
  9. Submitted-by: Warren Tucker <wht@n4hgf.Mt-Park.GA.US>
  10. Posting-number: Volume 17, Issue 11
  11. Archive-name: ecu3/patch06
  12. Patch-To: ecu3: Volume 16, Issue 25-59
  13.  
  14. This patch (#6) fixes a bug in patch 5.  Things seem stable now.
  15. I was going to wait for possible feedback from ISC porters, but
  16. several folks have had this problem (no doubt since ECU won't work
  17. without this patch).  This patch was also sent to comp.sources.bugs
  18. on 13 February, but patchlevel.h was not updated.  You may get 1 hunk
  19. rejected if you have already applied the patch.
  20.  
  21. You need to remake/reinstall both ecu and ecuungetty.
  22.  
  23. This man's hat sits on a quick-thinking head:
  24. > Organization: DEMOS, Moscow, USSR
  25. > Date: Wed, 13 Feb 91 02:15:23 +0300 (MSK)
  26. > From: emory!hq.demos.su!ache (Andrew A. Chernov, canton Uri's citizen)
  27. > Subject: ECU 3.05 utmpstat
  28. > Hi, Warren, bad news.
  29. > I just applied PATCH 5 for ECU, everything appears OK, but
  30. > 'utmpstat' not work at all, I look in...
  31. > IMHO it seems, like two strings are misplaced...
  32. > (US_LOGIN and US_DIALOUT)
  33. > I fix it, and ECU works correctly.
  34. > Good Luck.
  35.  
  36.  
  37. #!/bin/sh
  38. # This is ecu3/patch06, a shell archive (shar 3.46)
  39. # made 02/21/1991 17:35 UTC by wht@n4hgf
  40. # Source directory /t
  41. #
  42. # existing files WILL be overwritten
  43. #
  44. # This shar contains:
  45. # length  mode       name
  46. # ------ ---------- ------------------------------------------
  47. #    887 -rw-r--r-- PATCH06
  48. #
  49. # ============= PATCH06 ==============
  50. echo 'x - extracting PATCH06 (Text)'
  51. sed 's/^X//' << 'SHAR_EOF' > 'PATCH06' &&
  52. X*** utmpstat.c.b    Mon Feb 11 17:57:01 1991
  53. X--- utmpstat.c    Wed Feb 13 02:00:02 1991
  54. X***************
  55. X*** 107,115 ****
  56. X          idcopy[sizeof(idcopy) - 1] = 0;
  57. X  
  58. X          if(!strcmp(namecopy,"LOGIN"))
  59. X-             status = US_DIALOUT;
  60. X-         else if(!strcmp(namecopy,"DIALOUT"))
  61. X              status = US_LOGIN;
  62. X          else if((!strcmp(namecopy,"uugetty") || !strcmp(namecopy,"getty")))
  63. X          {
  64. X              if(itmp = line_locked(line))
  65. X--- 107,115 ----
  66. X          idcopy[sizeof(idcopy) - 1] = 0;
  67. X  
  68. X          if(!strcmp(namecopy,"LOGIN"))
  69. X              status = US_LOGIN;
  70. X+         else if(!strcmp(namecopy,"DIALOUT"))
  71. X+             status = US_DIALOUT;
  72. X          else if((!strcmp(namecopy,"uugetty") || !strcmp(namecopy,"getty")))
  73. X          {
  74. X              if(itmp = line_locked(line))
  75. X*** /u4/src/ecu3.05/patchlevel.h    Thu Feb 14 18:44:04 1991
  76. X--- patchlevel.h    Wed Feb 13 12:25:20 1991
  77. X***************
  78. X*** 1,1
  79. X! #define PATCHLEVEL 5
  80. X
  81. X--- 1,1 -----
  82. X! #define PATCHLEVEL 6
  83. SHAR_EOF
  84. chmod 0644 PATCH06 ||
  85. echo 'restore of PATCH06 failed'
  86. Wc_c="`wc -c < 'PATCH06'`"
  87. test 887 -eq "$Wc_c" ||
  88.     echo 'PATCH06: original size 887, current size' "$Wc_c"
  89. exit 0
  90.  
  91. exit 0 # Just in case...
  92. -- 
  93. Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
  94. Sterling Software, IMD           UUCP:     uunet!sparky!kent
  95. Phone:    (402) 291-8300         FAX:      (402) 291-4362
  96. Please send comp.sources.misc-related mail to kent@uunet.uu.net.
  97.