mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Here's two more diffs...
The first fixes a warning from gcc about the assignment within the condition. The extra set of parens should not make a difference, but with -Werror, they are necessary. The second fixes an "ln -s" invocation that assumes the current directory is implicitly the target if not specified. Not true in all cases, and again, it should not make a difference except to those implementation that it does. From: "Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com>
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# IDENTIFICATION
 | 
					# IDENTIFICATION
 | 
				
			||||||
#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.31 1997/03/17 22:05:05 scrappy Exp $
 | 
					#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.32 1997/03/25 09:08:05 scrappy Exp $
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
#-------------------------------------------------------------------------
 | 
					#-------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -58,10 +58,10 @@ fe-lobj.o: ../backend/fmgr.h
 | 
				
			|||||||
# We need to compile this with special options for shared libs,
 | 
					# We need to compile this with special options for shared libs,
 | 
				
			||||||
# so we can't use the object in ../backend
 | 
					# so we can't use the object in ../backend
 | 
				
			||||||
dllist.c:	../backend/lib/dllist.c
 | 
					dllist.c:	../backend/lib/dllist.c
 | 
				
			||||||
	-ln -s ../backend/lib/dllist.c
 | 
						-ln -s ../backend/lib/dllist.c .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pqcomprim.c:	    ../backend/libpq/pqcomprim.c
 | 
					pqcomprim.c:	    ../backend/libpq/pqcomprim.c
 | 
				
			||||||
	-ln -s ../backend/libpq/pqcomprim.c
 | 
						-ln -s ../backend/libpq/pqcomprim.c .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The following rules cause dependencies in the backend directory to 
 | 
					# The following rules cause dependencies in the backend directory to 
 | 
				
			||||||
# get made if they don't exist, but don't cause them to get remade if they
 | 
					# get made if they don't exist, but don't cause them to get remade if they
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * IDENTIFICATION
 | 
					 * IDENTIFICATION
 | 
				
			||||||
 *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.26 1997/03/25 02:37:21 scrappy Exp $
 | 
					 *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.27 1997/03/25 09:08:06 scrappy Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *-------------------------------------------------------------------------
 | 
					 *-------------------------------------------------------------------------
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@@ -536,7 +536,7 @@ connectDB(PGconn *conn)
 | 
				
			|||||||
			{
 | 
								{
 | 
				
			||||||
			const char *val;
 | 
								const char *val;
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
			if(val = getenv(eo->envName))
 | 
								if((val = getenv(eo->envName)))
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
				PGresult *res;
 | 
									PGresult *res;
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user