home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume32 / ecu / patch02 < prev    next >
Encoding:
Text File  |  1992-09-19  |  2.8 KB  |  97 lines

  1. Newsgroups: comp.sources.misc
  2. From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  3. Subject:  v32i082:  ecu - ECU Asynchronous Communications v3.20, Patch02
  4. Message-ID: <1992Sep20.223522.28149@sparky.imd.sterling.com>
  5. X-Md4-Signature: 3574ad245c2ffd8439923f85e487dfd7
  6. Date: Sun, 20 Sep 1992 22:35:22 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  10. Posting-number: Volume 32, Issue 82
  11. Archive-name: ecu/patch02
  12. Environment: SCO,XENIX,ISC,SUNOS,SYSVR4,HDB,Curses
  13. Patch-To: ecu: Volume 32, Issue 36-75
  14.  
  15. This patch removes some debugging code left in when patch 1 was
  16. made.  The debug code was invoked only when executed on SCO color
  17. multiscreens or scoterms.
  18.  
  19. My thanks to jeffl@comix.santa-cruz.ca.us (Jeff Lieberman)
  20. for pointing this out so rapidly.
  21.  
  22. To apply this patch, extract the shell archive below in the ECU
  23. distribution directory.  Then patch by
  24.  
  25.     patch < PATCH02
  26.  
  27. (In the future, even temporary debug code will be bracketed by
  28. conditional #ifdef/#endif WHT .-< )
  29.  
  30. #!/bin/sh
  31. # This is a shell archive (shar 3.461)
  32. # made 09/15/1992 22:59 UTC by wht@n4hgf.Mt-Park.GA.US
  33. # Source directory /u1/src/ecu.3.20-shars
  34. #
  35. # Existing files will NOT be overwritten unless -c is specified
  36. #
  37. # This shar contains:
  38. # length  mode       name
  39. # ------ ---------- ------------------------------------------
  40. #   1041 -rw-r--r-- PATCH02
  41. #
  42. # ============= PATCH02 ==============
  43. if test -f 'PATCH02' -a X"$1" != X"-c"; then
  44.     echo 'x - skipping PATCH02 (File already exists)'
  45. else
  46. echo 'x - extracting PATCH02 (Text)'
  47. sed 's/^X//' << 'SHAR_EOF' > 'PATCH02' &&
  48. XPrereq: 21
  49. X*** patchlevel.h-    Tue Sep 15 18:16:36 1992
  50. X--- patchlevel.h    Tue Sep 15 18:16:06 1992
  51. X***************
  52. X*** 1 ****
  53. X! #define PATCHLEVEL 21
  54. X--- 1 ----
  55. X! #define PATCHLEVEL 22
  56. X*** ecutty.c-    Tue Sep 15 18:13:40 1992
  57. X--- ecutty.c    Tue Sep 15 18:14:26 1992
  58. X***************
  59. X*** 404,416 ****
  60. X  #endif    /* ESIXSVR4 */
  61. X  #else    /* not any SVR4 */
  62. X  #ifdef M_SYSV /* SCO */
  63. X- { char s[128];
  64. X-     sprintf(s,"\033[=%ldF\033[=%ldG",(clrs >> 8) & 0xFF,clrs & 0xFF);
  65. X-     hex_dump(s,strlen(s),"_setcolor normal color",0);
  66. X-     sprintf(s,"\033[=%ldH\033[=%ldI",(clrs >> 24) & 0xFF,(clrs >> 16) & 0xFF);
  67. X-     hex_dump(s,strlen(s),"_setcolor reverse color",0);
  68. X- }
  69. X- 
  70. X      /* normal */
  71. X      ff(se,"\033[=%ldF\033[=%ldG",(clrs >> 8) & 0xFF,clrs & 0xFF);
  72. X  
  73. X--- 404,409 ----
  74. X*** CHANGES-    Tue Sep 15 18:56:05 1992
  75. X--- CHANGES    Tue Sep 15 18:54:39 1992
  76. X***************
  77. X*** 34,36 ****
  78. X--- 34,41 ----
  79. X  
  80. X  5.  This file was added.
  81. X  
  82. X+ ==> Patch 2
  83. X+ 
  84. X+ 1992-09-15-18:52-ecutty.c-wht@n4hgf-left some debug code in patch01 dammit 
  85. X+ 
  86. X+ 6. Remove debug code from _setcolor().
  87. SHAR_EOF
  88. chmod 0644 PATCH02 ||
  89. echo 'restore of PATCH02 failed'
  90. Wc_c="`wc -c < 'PATCH02'`"
  91. test 1041 -eq "$Wc_c" ||
  92.     echo 'PATCH02: original size 1041, current size' "$Wc_c"
  93. fi
  94. exit 0
  95.  
  96. exit 0 # Just in case...
  97.