Rename MAP_FILE to USERMAP_FILE for Digital Unix.
authorBruce Momjian <bruce@momjian.us>
Mon, 10 May 1999 15:17:17 +0000 (15:17 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 10 May 1999 15:17:17 +0000 (15:17 +0000)
src/backend/libpq/hba.c
src/include/libpq/hba.h

index 49b858bfcc7e3fa26d446dcd6cf0d87780d3a504..de5b72cfd62ae5bd29a108b0c03f92452cf6290f 100644 (file)
@@ -785,9 +785,9 @@ verify_against_usermap(const char *pguser,
                int             bufsize;
 
                /* put together the full pathname to the map file */
-               bufsize = (strlen(DataDir) + strlen(MAP_FILE) + 2) * sizeof(char);
+               bufsize = (strlen(DataDir) + strlen(USERMAP_FILE) + 2) * sizeof(char);
                map_file = (char *) palloc(bufsize);
-               snprintf(map_file, bufsize, "%s/%s", DataDir, MAP_FILE);
+               snprintf(map_file, bufsize, "%s/%s", DataDir, USERMAP_FILE);
 
 #ifndef __CYGWIN32__
                file = AllocateFile(map_file, "r");
index 0aba2aefed2a5c65627581d00e2f3f7143d5109e..f344d071a778ade315875e2b7b1ef8d31ab1b2ea 100644 (file)
@@ -19,7 +19,7 @@
 #define CONF_FILE "pg_hba.conf"
  /* Name of the config file  */
 
-#define MAP_FILE "pg_ident.conf"
+#define USERMAP_FILE "pg_ident.conf"
  /* Name of the usermap file */
 
 #define OLD_CONF_FILE "pg_hba"