Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6304e2c

Browse files
committed
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, theyare necessary.The second fixes an "ln -s" invocation that assumes the current directory isimplicitly the target if not specified. Not true in all cases, and again, itshould not make a difference except to those implementation that it does.From: "Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com>
1 parentea2fa32 commit6304e2c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/interfaces/libpq/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.31 1997/03/17 22:05:05 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.32 1997/03/25 09:08:05 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -58,10 +58,10 @@ fe-lobj.o: ../backend/fmgr.h
5858
# We need to compile this with special options for shared libs,
5959
# so we can't use the object in ../backend
6060
dllist.c:../backend/lib/dllist.c
61-
-ln -s ../backend/lib/dllist.c
61+
-ln -s ../backend/lib/dllist.c.
6262

6363
pqcomprim.c: ../backend/libpq/pqcomprim.c
64-
-ln -s ../backend/libpq/pqcomprim.c
64+
-ln -s ../backend/libpq/pqcomprim.c.
6565

6666
# The following rules cause dependencies in the backend directory to
6767
# get made if they don't exist, but don't cause them to get remade if they

‎src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.26 1997/03/2502:37:21 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.27 1997/03/2509:08:06 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -536,7 +536,7 @@ connectDB(PGconn *conn)
536536
{
537537
constchar*val;
538538

539-
if(val=getenv(eo->envName))
539+
if((val=getenv(eo->envName)))
540540
{
541541
PGresult*res;
542542

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp