Subject: Re: PR/31942 CVS commit: src/sys/arch/mac68k/dev
To: None <port-mac68k-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 10/29/2005 15:00:06
The following reply was made to PR port-mac68k/31942; it has been noted by GNATS.

From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
To: gnats-bugs@NetBSD.org
Cc: port-mac68k-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: PR/31942 CVS commit: src/sys/arch/mac68k/dev
Date: Sat, 29 Oct 2005 16:38:35 +0200

 At 21:55 Uhr +0000 28.10.2005, Christos Zoulas wrote:
 >The following reply was made to PR port-mac68k/31942; it has been noted by
 >GNATS.
 
 Thanks, Christos, but you were too fast for my little Quadra 700.  ;)
 
 Here is some more DEBUG fallout:
 
 <snip>
 Index: trap.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/mac68k/mac68k/trap.c,v
 retrieving revision 1.114
 diff -u -u -r1.114 trap.c
 --- trap.c	3 Jun 2005 11:15:44 -0000	1.114
 +++ trap.c	29 Oct 2005 13:51:09 -0000
 @@ -703,9 +703,9 @@
  	int wbsize[4];
  } wbstats;
 
 -char *f7sz[] = { "longword", "byte", "word", "line" };
 -char *f7tt[] = { "normal", "MOVE16", "AFC", "ACK" };
 -char *f7tm[] = { "d-push", "u-data", "u-code", "M-data",
 +const char *f7sz[] = { "longword", "byte", "word", "line" };
 +const char *f7tt[] = { "normal", "MOVE16", "AFC", "ACK" };
 +const char *f7tm[] = { "d-push", "u-data", "u-code", "M-data",
  		 "M-code", "k-data", "k-code", "RES" };
  char wberrstr[] =
      "WARNING: pid %d(%s) writeback [%s] failed, pc=%x fa=%x wba=%x wbd=%x\n";
 Index: pram.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/mac68k/mac68k/pram.c,v
 retrieving revision 1.19
 diff -u -u -r1.19 pram.c
 --- pram.c	15 Jul 2003 02:43:22 -0000	1.19
 +++ pram.c	29 Oct 2005 13:51:10 -0000
 @@ -52,11 +52,11 @@
  #endif
 
  #if DEBUG
 -static char *convtime(unsigned long t)
 +static const char *convtime(unsigned long t)
  {
    static long daypmon[] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
 -  static char *monstr[] = {"January","February","March","April","May","June",
 -    "July","August","September","October","November","December" };
 +  static const char *monstr[] = {"January","February","March","April","May",
 +    "June","July","August","September","October","November","December" };
    static char s[200];
    long year,month,day,hour,minute,seconds,i,dayperyear;
 
 </snip>
 
 	hauke
 
 --
 "It's never straight up and down"     (DEVO)