From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | riches(at)ms(dot)washington(dot)edu (Carl Riches) |
Cc: | pgsql-admin(at)postgreSQL(dot)org |
Subject: | Re: [ADMIN] Problems compiling PostgreSQL 6.4 on Digital Unix 4.0d |
Date: | 1998-12-12 21:31:29 |
Message-ID: | 199812122131.QAA05430@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
>
>
> I am having some trouble compiling version 6.4 on Digital Unix 4.0d. The
> first problem I ran into was a function prototyping error in snprintf.c.
> Here is the SCCS diff of the fix that I had to do to make it compile:
>
> ------- snprintf.c -------
> 123a124,126
> > #ifdef HAVE_LONG_INT_64
> > static void fmtnum __P((long_long value, int base, int dosign, int ljust, int len, int zpad));
> > #else
> 124a128
> > #endif
>
Fix applied:
---------------------------------------------------------------------------
*** ./snprintf.c.orig Sat Dec 12 16:28:15 1998
--- ./snprintf.c Sat Dec 12 16:30:00 1998
***************
*** 121,127 ****
--- 121,133 ----
*/
static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth));
+
+ #ifndef HAVE_LONG_INT_64
static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad));
+ #else
+ static void fmtnum __P((long_long value, int base, int dosign, int ljust, int len, int zpad));
+ #endif
+
static void dostr __P((char *, int));
static char *output;
static void dopr_outch __P((int c));
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Stratton | 1998-12-14 09:05:00 | failed install 11 dec 1998 |
Previous Message | Ramiro Arenas | 1998-12-11 22:44:55 | (no subject) |