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

Commitd6e33c8

Browse files
committed
Rename MAP_FILE to USERMAP_FILE for Digital Unix.
1 parentd489fdf commitd6e33c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/backend/libpq/hba.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* wherein you authenticate a user by seeing what IP address the system
66
* says he comes from and possibly using ident).
77
*
8-
* $Id: hba.c,v 1.41 1999/05/09 00:54:30 tgl Exp $
8+
* $Id: hba.c,v 1.42 1999/05/10 15:17:16 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -785,9 +785,9 @@ verify_against_usermap(const char *pguser,
785785
intbufsize;
786786

787787
/* put together the full pathname to the map file */
788-
bufsize= (strlen(DataDir)+strlen(MAP_FILE)+2)*sizeof(char);
788+
bufsize= (strlen(DataDir)+strlen(USERMAP_FILE)+2)*sizeof(char);
789789
map_file= (char*)palloc(bufsize);
790-
snprintf(map_file,bufsize,"%s/%s",DataDir,MAP_FILE);
790+
snprintf(map_file,bufsize,"%s/%s",DataDir,USERMAP_FILE);
791791

792792
#ifndef__CYGWIN32__
793793
file=AllocateFile(map_file,"r");

‎src/include/libpq/hba.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Interface to hba.c
55
*
66
*
7-
* $Id: hba.h,v 1.12 1999/02/13 23:21:35 momjian Exp $
7+
* $Id: hba.h,v 1.13 1999/05/10 15:17:17 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -19,7 +19,7 @@
1919
#defineCONF_FILE "pg_hba.conf"
2020
/* Name of the config file */
2121

22-
#defineMAP_FILE "pg_ident.conf"
22+
#defineUSERMAP_FILE "pg_ident.conf"
2323
/* Name of the usermap file */
2424

2525
#defineOLD_CONF_FILE "pg_hba"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp