]> granicus.if.org Git - postgresql/blobdiff - src/port/unsetenv.c
Centralize single quote escaping in src/port/quotes.c
[postgresql] / src / port / unsetenv.c
index 9e9b23591d8a3c9e62e2af286d511e930d18a3ea..291a4891edce8f3ecfbc6f6b76c228de0b69b3d4 100644 (file)
@@ -3,12 +3,12 @@
  * unsetenv.c
  *       unsetenv() emulation for machines without it
  *
- * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/port/unsetenv.c,v 1.10 2009/01/01 17:24:04 momjian Exp $
+ *       src/port/unsetenv.c
  *
  *-------------------------------------------------------------------------
  */
@@ -31,7 +31,8 @@ unsetenv(const char *name)
         * that we zap the actual environ member.  However, there are some libc
         * implementations (notably recent BSDs) that do not obey SUS but copy the
         * presented string.  This method fails on such platforms.      Hopefully all
-        * such platforms have unsetenv() and thus won't be using this hack.
+        * such platforms have unsetenv() and thus won't be using this hack. See:
+        * http://www.greenend.org.uk/rjk/2008/putenv.html
         *
         * Note that repeatedly setting and unsetting a var using this code will
         * leak memory.