1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Here's the final set of patches to 6.0 (sup'd on 27/12/96) that allow a full

gmake of the code without interruption.

There's also some tidy-up of the MAXPATHLEN stuff based on the assumption that
all supported platforms have MAXPATHLEN defined in <sys/param.h>.

(The only unknowns for the above are AIX and IRIX5.)
This commit is contained in:
Bruce Momjian
1996-12-28 02:13:05 +00:00
parent a2b7f62976
commit cb6cb7745d
8 changed files with 31 additions and 29 deletions

View File

@@ -6,16 +6,18 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: port-protos.h,v 1.2 1996/11/27 08:15:23 bryanh Exp $
* $Id: port-protos.h,v 1.3 1996/12/28 02:11:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H
#include <netinet/in.h> /* For struct in_addr */
#include <arpa/inet.h>
#include <dlfcn.h>
#include "config.h" /* For MAXPATHLEN */
#include "fmgr.h" /* for func_ptr */
#include "utils/dynamic_loader.h"

View File

@@ -4,7 +4,7 @@
# Makefile for postmaster
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/postmaster/Makefile,v 1.3 1996/11/09 06:20:48 momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/postmaster/Makefile,v 1.4 1996/12/28 02:12:04 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -17,6 +17,17 @@ INCLUDE_OPT = -I.. \
CFLAGS+=$(INCLUDE_OPT)
ifeq ($(PORTNAME), sparc_solaris)
ifeq ($(CC), gcc)
# Until we figure out how to get rid of the warnings in this directory,
# we must turn off any -Werror that is in CFLAGS now. These options only
# exist for the gcc compiler.
CFLAGS+= -Wno-error
endif
endif
OBJS = postmaster.o
all: SUBSYS.o

View File

@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.7 1996/11/27 08:15:54 bryanh Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.8 1996/12/28 02:12:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -156,9 +156,9 @@ ftoa(double value, char *ascii, int width, int prec1, char format)
#else
auto int expon;
auto int sign;
register int avail;
register char *a;
register char *p;
register int avail = 0;
register char *a = NULL;
register char *p = NULL;
char mode;
int lowercase;
int prec;