From: brennan@baker.ds.boeing.com (Mike Brennan)
Subject: mawk1.1.2
Organization: Boeing Computer Services
X-Newsreader: TIN [version 1.1 PL8]
Date: Fri, 18 Dec 1992 19:20:11 GMT


diffs to patch mawk1.1.2 so it will compile under Coherent 4.0
follow.   Mawk1.1.2 was posted to comp.sources.reviewed vol1.
You can also get it by ftp from oxy.edu in public/mawk1.1.2.tar.Z
(mawk is an implementation of new awk).

--
Mike Brennan
brennan@boeing.com


#!/bin/sh
# This is a shell archive (produced by shar 3.50)
# To extract the files from this archive, save it to a file, remove
# everything above the "!/bin/sh" line above, and type "sh file_name".
#
# made 12/18/1992 19:08 UTC by brennan@mlssun12
# Source directory /home/baker/mlslan/brennan
#
# existing files will NOT be overwritten unless -c is specified
#
# This shar contains:
# length  mode       name
# ------ ---------- ------------------------------------------
#  17697 -rw-r--r-- apply112c
#
# ============= apply112c ==============
if test -f 'apply112c' -a X"$1" != X"-c"; then
	echo 'x - skipping apply112c (File already exists)'
else
echo 'x - extracting apply112c (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'apply112c' &&
#!/bin/sh
X
# Execute this script to patch mawk1.1.2 to mawk1.1.2c
# patches for Coherent 4.0
X
X
X
X	patch -s <<'DIFFGEN_EOF'
X
*** /dev/null	Thu Dec 17 15:58:13 1992
--- vargs.h	Thu Nov 26 14:13:54 1992
***************
*** 0 ****
--- 1,56 ----
+ 
+ /********************************************
+ vargs.h
+ copyright 1992 Michael D. Brennan
+ 
+ This is a source file for mawk, an implementation of
+ the AWK programming language.
+ 
+ Mawk is distributed without warranty under the terms of
+ the GNU General Public License, version 2, 1991.
+ ********************************************/
+ 
+ /*
+ $Log: vargs.h,v $
+  * Revision 1.1  1992/10/02  23:23:41  mike
+  * Initial revision
+  *
+ */
+ 
+ /* provides common interface to <stdarg.h> or <varargs.h> 
+    only used for error messages
+ */
+ 
+ 
+ #if   HAVE_STDARG_H == 0
+ #include <varargs.h>
+ 
+ #ifndef  VA_ALIST
+ 
+ #define  VA_ALIST(type, arg)  (va_alist) va_dcl { type arg ;
+ #define  VA_ALIST2(t1,a1,t2,a2) (va_alist) va_dcl { t1 a1 ; t2 a2 ;
+ 
+ #endif
+ 
+ #define  VA_START(p,type, last)  va_start(p) ;\
+                                  last = va_arg(p,type)
+ 
+ 
+ #define  VA_START2(p,t1,a1,t2,a2)  va_start(p) ;\
+                                   a1 = va_arg(p,t1);\
+                                   a2 = va_arg(p,t2)
+ 
+ #else  /* HAVE_STDARG_H  */
+ #include <stdarg.h>
+ 
+ #ifndef  VA_ALIST
+ #define  VA_ALIST(type, arg)  (type arg, ...) {
+ #define  VA_ALIST2(t1,a1,t2,a2)  (t1 a1,t2 a2,...) {
+ #endif
+ 
+ #define  VA_START(p,type,last)   va_start(p,last)
+ 
+ #define  VA_START2(p,t1,a1,t2,a2)  va_start(p,a2)
+ 
+ #endif
+ 
*** /dev/null	Thu Dec 17 15:58:13 1992
--- config/coherent.h	Thu Nov 26 14:14:16 1992
***************
*** 0 ****
--- 1,58 ----
+ 
+ /********************************************
+ coherent.h
+ copyright 1992.  Michael D. Brennan
+ 
+ This is a source file for mawk, an implementation of
+ the AWK programming language.
+ 
+ Mawk is distributed without warranty under the terms of
+ the GNU General Public License, version 2, 1991.
+ ********************************************/
+ 
+ /* This is for COHERENT 4.0 */
+ 
+ /*
+ $Log: coherent.h,v $
+  * Revision 1.1  1992/11/22  18:35:43  mike
+  * Initial revision
+  *
+ */
+ 
+ #ifndef  CONFIG_H
+ #define  CONFIG_H       1
+ 
+ #define HAVE_VOID_PTR   0
+ #define HAVE_MATHERR    0
+ #define HAVE_FMOD       0
+ #define HAVE_STDLIB_H   1
+ #define HAVE_STRERROR	1
+ 
+ #define USE_SIMPLE_VFPRINTF  /* no vfprintf() */
+ 
+ #define HAVE_STDARG_H   1
+ 
+    /* but it not standard ! 
+       so add  */
+ 
+ #define  VA_ALIST(type, arg) (arg) type arg; {
+ #define  VA_ALIST2(t1,a1,t2,a2)  (a1,a2) t1 a1; t2 a2; {
+ 
+ 
+ /* Until MWC improves floating point (December 1992, they tell me),
+    or fixes the math library (log(-8) gives 0, for example), we'll
+    have to put up with inconsistent handling. 
+    
+    Coherent 4.0 cannot be set up to pass fpe_test
+ */
+ 
+ #define FPE_TRAPS_ON    1
+ #define NOINFO_SIGFPE   1
+ 
+ 
+ int printf();
+ int sprintf();
+ 
+ #include "config/Idefault.h"
+ 
+ #endif
Index: UCONFIG
*** 1.7	1992/08/27 11:45:48
--- 1.8	1992/12/02 03:20:16
***************
*** 35,38 ****
--- 35,39 ----
X  aix
X  convex
+ coherent
X  
X  atarist				cross compile with gcc
Index: config/generic.h
*** 4.4	1992/03/03 16:40:54
--- 4.5	1992/11/22 18:30:29
***************
*** 13,16 ****
--- 13,19 ----
X  
X  /* $Log: generic.h,v $
+  * Revision 4.5  1992/11/22  18:30:29  mike
+  * strerror()
+  *
X   * Revision 4.4  1992/03/03  16:40:54  brennan
X   * remove HAVE_PRINTF_HD
***************
*** 54,57 ****
--- 57,61 ----
X     have strtod()
X     have fmod()
+    do not have strerror()
X  
X  
***************
*** 70,82 ****
X  /*
X  
- /* tested and works on:
- 
- SunOS4.1  (sun 4.0.3 has a bug in strtod(), use sun_os40.h)
- 
- Ultrix4.1  on a MIPS
- Ultrix4.2  on a MIPS
- SysV3.02beta on a Stardent 3000
- 
- */
X  
X  #ifndef  CONFIG_H
--- 74,77 ----
Index: patchlev.h
*** 1.7	1992/08/27 11:50:38
--- 1.8	1992/11/26 15:38:08
***************
*** 1,3 ****
X  /* mawk 1.1 */
X  #define  PATCHLEVEL	2
! #define  PATCH_STRING	".2"
--- 1,3 ----
X  /* mawk 1.1 */
X  #define  PATCHLEVEL	2
! #define  PATCH_STRING	".2c"  /* Coherent patches */
Index: config/Idefault.h
*** 3.15	1992/07/08 16:16:08
--- 3.17	1992/11/26 15:35:52
***************
*** 13,68 ****
X  
X  /* $Log: Idefault.h,v $
!  * Revision 3.15  1992/07/08  16:16:08  brennan
!  * don't attempt any #def or #undef with __STDC__
X   *
!  * Revision 3.14  1992/03/31  13:39:00  brennan
!  * TURN_ON_FPE_TRAPS() macro
X   *
!  * Revision 3.13  92/03/03  16:40:56  brennan
!  * remove HAVE_PRINTF_HD
!  * 
!  * Revision 3.12  91/11/16  15:37:29  brennan
!  * add NO_BINMODE
!  * 
!  * Revision 3.11  91/10/29  10:48:40  brennan
!  * version 1.09
!  * 
!  * Revision 3.10  91/10/23  10:46:34  brennan
!  * MSDOS LM and SM
!  * 
!  * Revision 3.9  91/10/14  09:52:48  brennan
!  * added HAVE_PRINTF_HD
!  * 
!  * Revision 3.8  91/09/30  08:11:22  brennan
!  * added MAX__INT
!  * 
!  * Revision 3.7  91/08/16  08:49:51  brennan
!  * Carl's addition of SW_FP_CHECK for XNX23A
!  * 
!  * Revision 3.6  91/08/13  09:04:05  brennan
!  * VERSION .9994
!  * 
!  * Revision 3.5  91/08/03  06:10:46  brennan
!  * changed CHECK_DIVZERO macro
!  * 
!  * Revision 3.4  91/08/03  05:35:59  brennan
!  * changed name to Idefault.h 
!  * 
!  * Revision 3.3  91/06/28  04:36:28  brennan
!  * adjustments with __STDC__
!  * 
!  * Revision 3.3  91/06/19  10:21:37  brennan
!  * changes for xenix_r2.h and gcc
!  * 
!  * Revision 3.2  91/06/15  09:24:34  brennan
!  * Carl's diffs for V7
!  * 
!  * 06/11/91  C. Mascott		add default D2BOOL
X   *
-  * Revision 3.1  91/06/07  10:38:46  brennan
-  * VERSION 0.995
-  * 
X  */
X  
X  /* The most common configuration is defined here:
X   
--- 13,55 ----
X  
X  /* $Log: Idefault.h,v $
!  * Revision 3.17  1992/11/26  15:35:52  mike
!  * don't assume __STDC__ implies HAVE_STRERROR
X   *
!  * Revision 3.16  1992/11/22  19:00:43  mike
!  * allow STDC assumptions to be overridden
X   *
!  * Revision 3.15  1992/07/08  16:16:08  brennan
!  * don't attempt any #def or #undef with __STDC__
X   *
X  */
X  
+ 
+ #ifdef __STDC__
+ #if   __STDC__  
+ 
+ #undef  HAVE_PROTOS
+ #define HAVE_PROTOS		1
+ #undef  HAVE_VOID_PTR
+ #define HAVE_VOID_PTR		1
+ 
+ /* these can be overidden */
+ 
+ #ifndef  HAVE_STDARG_H
+ #define HAVE_STDARG_H		1
+ #endif
+ 
+ #ifndef  HAVE_STRING_H
+ #define HAVE_STRING_H		1
+ #endif
+ 
+ #ifndef  HAVE_STDLIB_H
+ #define HAVE_STDLIB_H		1
+ #endif
+ 
+ #endif  
+ #endif
+ 
+ 
+ 
X  /* The most common configuration is defined here:
X   
***************
*** 121,124 ****
--- 108,115 ----
X  #endif
X  
+ #ifndef  HAVE_STRERROR
+ #define  HAVE_STRERROR		0
+ #endif
+ 
X  /* uses <varargs.h> instead of <stdarg.h> */
X  #ifndef  HAVE_STDARG_H	
***************
*** 152,155 ****
--- 143,151 ----
X  #endif
X  
+ /* don't have strerror() */
+ #ifndef  HAVE_STRERROR
+ #define  HAVE_STRERROR		0
+ #endif
+ 
X  /*------------- machine ------------------------*/
X  
***************
*** 157,160 ****
--- 153,162 ----
X  #ifndef  MAX__INT     
X  #define  MAX__INT	0x7fffffff
+ #define  INT_FMT	"%d"
+ #endif
+ 
+ #if  MAX__INT <= 0x7fff
+ #define  SHORT_INTS
+ #define  INT_FMT	"%ld"
X  #endif
X  
***************
*** 203,221 ****
X  /*------------------------------------------------*/
X  
- 
- #ifdef __STDC__
- #if   __STDC__  
- #undef  HAVE_PROTOS
- #define HAVE_PROTOS		1
- #undef  HAVE_VOID_PTR
- #define HAVE_VOID_PTR		1
- #undef  HAVE_STDARG_H
- #define HAVE_STDARG_H		1
- #undef  HAVE_STRING_H
- #define HAVE_STRING_H		1
- #undef  HAVE_STDLIB_H
- #define HAVE_STDLIB_H		1
- #endif  
- #endif
X  
X  
--- 205,208 ----
Index: packing.list
*** 1.27	1992/08/27 04:06:08
--- 1.29	1992/11/26 20:13:58
***************
*** 1,5 ****
X  
X  ################################################
! # These files form the mawk distribution 1.1.2
X  #
X  # Mawk is an implementation of the AWK Programming Language as
--- 1,7 ----
X  
+ #$Id: packing.list,v 1.29 1992/11/26 20:13:58 mike Exp $
+ 
X  ################################################
! # These files form the mawk distribution 1.1.2c
X  #
X  # Mawk is an implementation of the AWK Programming Language as
***************
*** 69,72 ****
--- 71,75 ----
X  symtype.h
X  types.h
+ vargs.h
X  version.c
X  zmalloc.c
***************
*** 114,117 ****
--- 117,121 ----
X  config/convex.h
X  config/aix.h
+ config/coherent.h
X  #######################
X  # directory:  test      testing and benchmarking directory
Index: ACKNOWLEDGMENT
*** 1.6	1992/08/27 03:47:37
--- 1.7	1992/11/26 20:35:18
***************
*** 15,22 ****
X  	Jwahar R. Bammi		Atari ST
X  	Berry Kercheval		SGI IRIX 4.0.1
! 	Andy Mason		Next 2.1
X  	Mike Carlton		Next 2.1
X  	Elliot Jaffe		AIX 3.1
X  	Jeremy Martin		Convex 9.1
X  
X  The DOS version is a lot better thanks to suggestions and testing
--- 15,23 ----
X  	Jwahar R. Bammi		Atari ST
X  	Berry Kercheval		SGI IRIX 4.0.1
! 	Andy Newman		Next 2.1
X  	Mike Carlton		Next 2.1
X  	Elliot Jaffe		AIX 3.1
X  	Jeremy Martin		Convex 9.1
+ 	Scott Hunziker		Coherent 4.0
X  
X  The DOS version is a lot better thanks to suggestions and testing
Index: error.c
*** 5.1	1991/12/05 07:55:48
--- 5.2	1992/10/02 23:26:04
***************
*** 2,6 ****
X  /********************************************
X  error.c
! copyright 1991, Michael D. Brennan
X  
X  This is a source file for mawk, an implementation of
--- 2,6 ----
X  /********************************************
X  error.c
! copyright 1991, 1992 Michael D. Brennan
X  
X  This is a source file for mawk, an implementation of
***************
*** 13,16 ****
--- 13,19 ----
X  
X  /* $Log: error.c,v $
+  * Revision 5.2  1992/10/02  23:26:04  mike
+  * using vargs.h
+  *
X   * Revision 5.1  1991/12/05  07:55:48  brennan
X   * 1.1 pre-release
***************
*** 22,25 ****
--- 25,30 ----
X  #include  "scan.h"
X  #include  "bi_vars.h"
+ #include  "vargs.h"
+ 
X  
X  #ifndef  EOF
***************
*** 27,31 ****
X  #endif
X  
- /* statics */
X  static void  PROTO( rt_where, (void) ) ;
X  static void  PROTO( unexpected_char, (void) ) ;
--- 32,35 ----
***************
*** 33,36 ****
--- 37,52 ----
X  static char *PROTO( type_to_str, (int) ) ;
X  
+ #if HAVE_STRERROR == 0
+ #define strerror(n) ((n)>0&&(n)<sys_nerr?sys_errlist[n]:(char*)0)
+ extern int sys_nerr ;
+ extern char *sys_errlist[];
+ #endif
+ 
+ 
+ #ifdef  USE_SIMPLE_VFPRINTF
+ #define  vfprintf  simple_vfprintf
+ #endif
+ 
+ 
X  extern int NR_flag ; /* on if tracking NR */
X  
***************
*** 176,189 ****
X  }
X  
- /* system provided errnos and messages */
- #ifndef MSDOS_MSC       /* don't need the declarations */
- #ifndef THINK_C         /* don't WANT the declarations */
- extern int sys_nerr ;
- extern char *sys_errlist[] ;
- #endif
- #endif
- 
- #if  HAVE_STDARG_H
- #include <stdarg.h>
X  
X  /* generic error message with a hook into the system error 
--- 192,195 ----
***************
*** 190,212 ****
X     messages if errnum > 0 */
X  
! void  errmsg(int errnum, char *format, ...)
! { va_list args ;
X  
X    fprintf(stderr, "%s: " , progname) ;
!   va_start(args, format) ;
X    (void) vfprintf(stderr, format, args) ;
X    va_end(args) ;
! #ifdef THINK_C
!   if ( errnum > 0 )
!     fprintf(stderr, " (%s)" , strerror(errnum) ) ;
! #else
!   if ( errnum > 0 && errnum < sys_nerr )
!     fprintf(stderr, " (%s)" , sys_errlist[errnum]) ;
! #endif
X    fprintf( stderr, "\n") ;
X  }
X  
! void  compile_error(char *format, ...)
! { va_list args ;
X    char *s0, *s1 ;
X  
--- 196,215 ----
X     messages if errnum > 0 */
X  
! void  errmsg VA_ALIST2(int , errnum, char *, format)
!   va_list args ;
X  
X    fprintf(stderr, "%s: " , progname) ;
! 
!   VA_START2(args, int, errnum, char *, format) ;
X    (void) vfprintf(stderr, format, args) ;
X    va_end(args) ;
! 
!   if ( errnum > 0 ) fprintf(stderr, " (%s)" , strerror(errnum) ) ;
! 
X    fprintf( stderr, "\n") ;
X  }
X  
! void  compile_error  VA_ALIST(char *, format)
!   va_list args ;
X    char *s0, *s1 ;
X  
***************
*** 219,281 ****
X  
X    fprintf(stderr, "%s: %s%sline %u: " , progname, s0, s1,token_lineno) ;
!   va_start(args, format) ;
!   vfprintf(stderr, format, args) ;
!   va_end(args) ;
!   fprintf(stderr, "\n") ;
!   if ( ++compile_error_count == MAX_COMPILE_ERRORS ) mawk_exit(1) ;
! }
! 
! void  rt_error( char *format, ...)
! { va_list args ;
! 
!   fprintf(stderr, "%s: run time error: " , progname ) ;
!   va_start(args, format) ;
!   vfprintf(stderr, format, args) ;
!   va_end(args) ;
!   putc('\n',stderr) ;
!   rt_where() ;
!   mawk_exit(1) ;
! }
! 
! #else
! 
! #include <varargs.h>
! 
! /*  void errmsg(errnum, format, ...) */
! 
! void  errmsg( va_alist)
!   va_dcl
! { va_list ap ;
!   int errnum ;
!   char *format ;
! 
!   fprintf(stderr, "%s: " , progname) ;
!   va_start(ap) ;
!   errnum = va_arg(ap, int) ;
!   format = va_arg(ap, char *) ;
!   (void) vfprintf(stderr, format, ap) ;
! #ifdef THINK_C
!   if ( errnum > 0 )
!     fprintf(stderr, " (%s)" , strerror(errnum) ) ;
! #else
!   if ( errnum > 0 && errnum < sys_nerr )
!     fprintf(stderr, " (%s)" , sys_errlist[errnum]) ;
! #endif
!   fprintf( stderr, "\n") ;
! }
! 
! void compile_error( va_alist )
!   va_dcl
! { va_list args ;
!   char *format ;
!   char *s0, *s1 ;
! 
!   if ( pfile_name ) /* print program filename too */
!   { s0 = pfile_name ; s1 = ": " ; }
!   else s0 = s1 = "" ;
! 
!   fprintf(stderr, "%s: %s%sline %u: " , progname, s0, s1,token_lineno) ;
!   va_start(args) ;
!   format = va_arg(args, char *) ;
X    vfprintf(stderr, format, args) ;
X    va_end(args) ;
--- 222,226 ----
X  
X    fprintf(stderr, "%s: %s%sline %u: " , progname, s0, s1,token_lineno) ;
!   VA_START(args, char *, format) ;
X    vfprintf(stderr, format, args) ;
X    va_end(args) ;
***************
*** 284,295 ****
X  }
X  
! void  rt_error( va_alist )
!   va_dcl
! { va_list args ;
!   char *format ;
X  
X    fprintf(stderr, "%s: run time error: " , progname ) ;
!   va_start(args) ;
!   format = va_arg(args, char *) ;
X    vfprintf(stderr, format, args) ;
X    va_end(args) ;
--- 229,237 ----
X  }
X  
! void  rt_error VA_ALIST( char *, format)
!   va_list args ;
X  
X    fprintf(stderr, "%s: run time error: " , progname ) ;
!   VA_START(args, char *, format) ;
X    vfprintf(stderr, format, args) ;
X    va_end(args) ;
***************
*** 299,312 ****
X  }
X  
- #endif
X  
X  void bozo(s)
X    char *s ;
! { errmsg(0, "bozo: %s" , s) ; mawk_exit(1) ; }
X  
X  void overflow(s, size)
X    char *s ; unsigned size ;
! { errmsg(0 , "program limit exceeded: %s size=%u", s, size) ;
!   mawk_exit(1) ; }
X  
X  
--- 241,258 ----
X  }
X  
X  
X  void bozo(s)
X    char *s ;
! { 
!   errmsg(0, "bozo: %s" , s) ; 
!   mawk_exit(1) ;
! }
X  
X  void overflow(s, size)
X    char *s ; unsigned size ;
! { 
!   errmsg(0 , "program limit exceeded: %s size=%u", s, size) ;
!   mawk_exit(1) ; 
! }
X  
X  
***************
*** 366,369 ****
--- 312,387 ----
X      type_to_str(p->type) , p->name) ;
X  }
+ 
+ 
+ 
+ 
+ #ifdef  USE_SIMPLE_VFPRINTF
+ 
+ /* a minimal vfprintf  */
+ int simple_vfprintf( fp, format, argp)
+   FILE *fp ;
+   char *format ; 
+   va_list  argp ;
+ { 
+   char *q , *p, *t ;
+   int l_flag ;
+   char xbuff[64] ;
+ 
+   q = format ;
+   xbuff[0] = '%' ;
+ 
+   while ( *q != 0 )
+   { 
+     if ( *q != '%' )
+     {
+       putc(*q, fp) ; q++ ; continue ;
+     }
+ 
+     /* mark the start with p */
+     p = ++q ;  t = xbuff + 1 ;
+ 
+     if ( *q == '-' )  *t++ = *q++ ;
+     while ( scan_code[*(unsigned char*)q] == SC_DIGIT ) *t++ = *q++ ;
+     if ( *q == '.' )
+     { *t++ = *q++ ;
+       while ( scan_code[*(unsigned char*)q] == SC_DIGIT ) *t++ = *q++ ;
+     }
+ 
+     if ( *q == 'l' )  { l_flag = 1 ; *t++ = *q++ ; }
+     else l_flag = 0 ;
+ 
+     
+     *t = *q++ ; t[1] = 0 ;
+ 
+     switch( *t )
+     {
+       case 'c' :  
+       case 'd' :
+       case 'o' :
+       case 'x' :
+       case 'u' :
+            if ( l_flag )  fprintf(fp, xbuff, va_arg(argp,long) ) ;
+            else  fprintf(fp, xbuff, va_arg(argp, int)) ;
+            break ;
+ 
+       case  's' :
+            fprintf(fp, xbuff, va_arg(argp, char*)) ;
+            break ;
+ 
+       case  'g' :
+       case  'f' :
+            fprintf(fp, xbuff, va_arg(argp, double)) ;
+            break ;
+ 
+       default:
+            putc('%', fp) ; 
+            q = p ;
+            break ;
+     }
+   }
+   return 0 ; /* shut up */
+ }
+ 
+ #endif  /* USE_SIMPLE_VFPRINTF */
X  
X  
Index: build_mawk
*** 1.13	1992/07/08 16:41:06
--- 1.15	1992/12/17 00:34:00
***************
*** 11,14 ****
--- 11,15 ----
X  #
X  
+ #$Id: build_mawk,v 1.15 1992/12/17 00:34:00 mike Exp $
X  
X  progname=`basename $0`
***************
*** 125,128 ****
--- 126,132 ----
X  	cflags='-O2 -std' ;;
X  
+ coherent)
+         config=coherent.h
+         cflags='-O -f' ;;
X  
X  MF)  ;;
***************
*** 165,169 ****
X     echo touching parse.c  ; touch parse.c
X  fi
- rm -f  config.h
X  
X  
--- 169,172 ----
***************
*** 171,174 ****
--- 174,182 ----
X  
X  
+ if [ -f config.h ]
+   then
+      echo moving config.h to config.h.old
+      mv  config.h  config.h.old
+ fi
X  echo linking config/$config to config.h
X  ln   config/$config  config.h
Index: version.c
*** 5.4	1992/08/27 11:50:38
--- 5.5	1992/12/02 03:18:12
***************
*** 12,15 ****
--- 12,18 ----
X  
X  /*$Log: version.c,v $
+  * Revision 5.5  1992/12/02  03:18:12  mike
+  * coherent patch
+  *
X   * Revision 5.4  1992/08/27  11:50:38  mike
X   * patch2
***************
*** 30,34 ****
X  
X  #define  VERSION_STRING  \
!   "mawk 1.1%s%s Aug 1992, Copyright (C) Michael D. Brennan\n\n"
X  
X  #define  DOS_STRING     ""
--- 33,37 ----
X  
X  #define  VERSION_STRING  \
!   "mawk 1.1%s%s Nov 1992, Copyright (C) Michael D. Brennan\n\n"
X  
X  #define  DOS_STRING     ""
DIFFGEN_EOF
SHAR_EOF
chmod 0644 apply112c ||
echo 'restore of apply112c failed'
Wc_c="`wc -c < 'apply112c'`"
test 17697 -eq "$Wc_c" ||
	echo 'apply112c: original size 17697, current size' "$Wc_c"
fi
exit 0
Newsgroups: comp.os.coherent