Skip to content

Commit 658f229

Browse files
committed
Comment on fix added.
1 parent 148f720 commit 658f229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/psql.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/bin/psql/Attic/psql.c,v 1.62 1997/05/22 23:57:27 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.63 1997/05/23 00:20:20 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -848,7 +848,7 @@ do_connect(const char *new_dbname,
848848
free(userenv);
849849
userenv = malloc(strlen("PGUSER=") + strlen(new_user) + 1);
850850
sprintf(userenv,"PGUSER=%s",new_user);
851-
putenv(userenv); /* putenv() continues to use memory in env. */
851+
putenv(userenv); /*Solaris putenv() continues to use memory in env*/
852852
}
853853
settings->db = PQsetdb(PQhost(olddb), PQport(olddb),
854854
NULL, NULL, new_dbname);

0 commit comments

Comments
 (0)