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

Commitcb7fc63

Browse files
author
Neil Conway
committed
Remove references to the ODBC driver from the main source tree. From Kris
Jurka.
1 parent64a6059 commitcb7fc63

File tree

3 files changed

+5
-22
lines changed

3 files changed

+5
-22
lines changed

‎src/backend/libpq/md5.c

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,38 +14,24 @@
1414
*Portions Copyright (c) 1994, Regents of the University of California
1515
*
1616
* IDENTIFICATION
17-
* $PostgreSQL: pgsql/src/backend/libpq/md5.c,v 1.25 2004/08/29 04:12:32 momjian Exp $
17+
* $PostgreSQL: pgsql/src/backend/libpq/md5.c,v 1.26 2004/09/27 04:18:28 neilc Exp $
1818
*/
1919

2020

21-
/*
22-
*NOTE:
23-
*
24-
*There are two copies of this file, one in backend/libpq and another
25-
*in interfaces/odbc. They should be identical.This is done so ODBC
26-
*can be compiled stand-alone.
27-
*/
28-
29-
#if ! defined(MD5_ODBC)&& ! defined(FRONTEND)
21+
#if ! defined(FRONTEND)
3022
#include"postgres.h"
3123
#include"libpq/crypt.h"
3224
#endif
3325

3426
#ifdefFRONTEND
3527
#include"postgres_fe.h"
3628
#include"libpq/crypt.h"
37-
#endif/* FRONTEND */
3829

39-
#ifdefMD5_ODBC
40-
#include"md5.h"
41-
#endif
42-
43-
#ifdefFRONTEND
4430
#undef palloc
4531
#definepalloc malloc
4632
#undef pfree
4733
#definepfree free
48-
#endif
34+
#endif/* FRONTEND */
4935

5036

5137
/*

‎src/include/c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $PostgreSQL: pgsql/src/include/c.h,v 1.174 2004/09/26 15:13:42 tgl Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.175 2004/09/27 04:18:28 neilc Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -231,7 +231,6 @@ typedef signed int int32;/* == 32 bits */
231231
*used for numerical computations and the
232232
*frontend/backend protocol.
233233
*/
234-
/* Also defined in interfaces/odbc/md5.h */
235234
#ifndefHAVE_UINT8
236235
typedefunsignedcharuint8;/* == 8 bits */
237236
typedefunsigned shortuint16;/* == 16 bits */

‎src/include/libpq/crypt.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/libpq/crypt.h,v 1.28 2004/08/29 04:13:07 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/libpq/crypt.h,v 1.29 2004/09/27 04:18:28 neilc Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -15,7 +15,6 @@
1515

1616
#include"libpq/libpq-be.h"
1717

18-
/* Also defined in interfaces/odbc/md5.h */
1918
#defineMD5_PASSWD_LEN35
2019

2120
#defineisMD5(passwd)(strncmp((passwd),"md5",3) == 0 && \
@@ -27,7 +26,6 @@ extern int md5_crypt_verify(const Port *port, const char *user,
2726
externboolmd5_hash(constvoid*buff,size_tlen,char*hexsum);
2827
externboolCheckMD5Pwd(char*passwd,char*storedpwd,char*seed);
2928

30-
/* Also defined in interfaces/odbc/md5.h */
3129
externboolEncryptMD5(constchar*passwd,constchar*salt,
3230
size_tsalt_len,char*buf);
3331

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp