From: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | SunOS4 port |
Date: | 2001-12-05 02:49:16 |
Message-ID: | 20011205114916Z.t-ishii@sra.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
So far I think I have done the SunOS4 port except the parallel
regression test. Unfortunately the machine is in production and I
could not increase the shmem parameters. Instead I have done the
serial test and got 4 errors (see attached regression.diffs). Also I
noticed that the test script uses diff -C3 which is not available on
all platforms.
BTW, this effort might be the last one since my company would give up
to maintain SunOS4 machines in the near future.
Karel, Could you check my modifications to formatting.c?
RCS file: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v
retrieving revision 1.45
diff -c -r1.45 formatting.c
*** formatting.c 2001/11/19 09:05:01 1.45
--- formatting.c 2001/12/05 02:04:25
***************
*** 4140,4146 ****
Np->inout_p += strlen(Np->inout_p) - 1;
}
else
! Np->inout_p += sprintf(Np->inout_p, "%15s", Np->number_p) - 1;
break;
case NUM_rn:
--- 4140,4149 ----
Np->inout_p += strlen(Np->inout_p) - 1;
}
else
! {
! sprintf(Np->inout_p, "%15s", Np->number_p);
! Np->inout_p += strlen(Np->inout_p) - 1;
! }
break;
case NUM_rn:
***************
*** 4150,4156 ****
Np->inout_p += strlen(Np->inout_p) - 1;
}
else
! Np->inout_p += sprintf(Np->inout_p, "%15s", str_tolower(Np->number_p)) - 1;
break;
case NUM_th:
--- 4153,4162 ----
Np->inout_p += strlen(Np->inout_p) - 1;
}
else
! {
! sprintf(Np->inout_p, "%15s", str_tolower(Np->number_p));
! Np->inout_p += strlen(Np->inout_p) - 1;
! }
break;
case NUM_th:
***************
*** 4664,4670 ****
}
orgnum = (char *) palloc(MAXFLOATWIDTH + 1);
! len = sprintf(orgnum, "%.0f", fabs(val));
if (Num.pre > len)
plen = Num.pre - len;
if (len >= FLT_DIG)
--- 4670,4677 ----
}
orgnum = (char *) palloc(MAXFLOATWIDTH + 1);
! sprintf(orgnum, "%.0f", fabs(val));
! len = strlen(orgnum);
if (Num.pre > len)
plen = Num.pre - len;
if (len >= FLT_DIG)
Attachment | Content-Type | Size |
---|---|---|
regression.diffs.gz | application/octet-stream | 4.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-12-05 05:01:00 | Re: SunOS4 port |
Previous Message | Barry Lind | 2001-12-05 01:34:21 | Re: java stored procedures |