Comment on fix added.
authorBruce Momjian
Fri, 23 May 1997 00:20:20 +0000 (00:20 +0000)
committerBruce Momjian
Fri, 23 May 1997 00:20:20 +0000 (00:20 +0000)
src/bin/psql/psql.c

index 1597c5561b4e718ad5aec19c76bcfa77b4526713..486e07f331e40c9b85b79ca49dae21a2d1d57291 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.62 1997/05/22 23:57:27 momjian Exp $
+ *    $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.63 1997/05/23 00:20:20 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -848,7 +848,7 @@ do_connect(const char *new_dbname,
            free(userenv);
        userenv = malloc(strlen("PGUSER=") + strlen(new_user) + 1);
        sprintf(userenv,"PGUSER=%s",new_user);
-       putenv(userenv); /* putenv() continues to use memory in env. */
+       putenv(userenv); /*Solaris putenv() continues to use memory in env*/
    }
    settings->db = PQsetdb(PQhost(olddb), PQport(olddb),
                   NULL, NULL, new_dbname);