aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-11-13 22:06:58 +0000
committerBruce Momjian <bruce@momjian.us>2001-11-13 22:06:58 +0000
commit2ca65f716aee9ec441dda91d91b88dd7a00bffa1 (patch)
treefe91f92db75ed18fdb69476eadbcb22e40353c96 /src
parent1c2d2dbb67720e7e037aa517844397f07b90aaab (diff)
downloadpostgresql-2ca65f716aee9ec441dda91d91b88dd7a00bffa1.tar.gz
postgresql-2ca65f716aee9ec441dda91d91b88dd7a00bffa1.zip
Remove md5.c check, add CVS log stamp. Update comments.
Diffstat (limited to 'src')
-rw-r--r--src/backend/libpq/Makefile9
-rw-r--r--src/backend/libpq/md5.c18
-rw-r--r--src/interfaces/odbc/md5.c18
3 files changed, 32 insertions, 13 deletions
diff --git a/src/backend/libpq/Makefile b/src/backend/libpq/Makefile
index 45ec3e9d557..f45feaed1f7 100644
--- a/src/backend/libpq/Makefile
+++ b/src/backend/libpq/Makefile
@@ -4,7 +4,7 @@
# Makefile for libpq subsystem (backend half of libpq interface)
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.27 2001/11/12 04:19:15 tgl Exp $
+# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.28 2001/11/13 22:06:58 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -19,12 +19,7 @@ OBJS = be-fsstubs.o \
pqcomm.o pqformat.o pqsignal.o util.o
-all: check_md5 SUBSYS.o
-
-check_md5:
- @cmp -s md5.c ../../interfaces/odbc/md5.c || \
- (echo "src/interfaces/odbc/md5.c doesn't match src/backend/libpq/md5.c" && \
- exit 1)
+all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
diff --git a/src/backend/libpq/md5.c b/src/backend/libpq/md5.c
index 9c1f1e041d5..8ad2ba1c6c0 100644
--- a/src/backend/libpq/md5.c
+++ b/src/backend/libpq/md5.c
@@ -10,12 +10,24 @@
*
* Sverre H. Huseby <sverrehu@online.no>
*
- * There are two copies of this file, one in backend/libpq and another
- * in interfaces/odbc. These two files must be identical or they will not
- * compile. There is no CVS tag in this file so they can remain identical.
+ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * IDENTIFICATION
+ * $Log: md5.c,v $
+ * Revision 1.13 2001/11/13 22:06:58 momjian
+ * Remove md5.c check, add CVS log stamp. Update comments.
+ *
*/
+/*
+ * NOTE:
+ *
+ * There are two copies of this file, one in backend/libpq and another
+ * in interfaces/odbc. They should be identical.
+ */
+
#ifndef MD5_ODBC
#include "postgres.h"
#include "libpq/crypt.h"
diff --git a/src/interfaces/odbc/md5.c b/src/interfaces/odbc/md5.c
index 9c1f1e041d5..ff3a14e1729 100644
--- a/src/interfaces/odbc/md5.c
+++ b/src/interfaces/odbc/md5.c
@@ -10,12 +10,24 @@
*
* Sverre H. Huseby <sverrehu@online.no>
*
- * There are two copies of this file, one in backend/libpq and another
- * in interfaces/odbc. These two files must be identical or they will not
- * compile. There is no CVS tag in this file so they can remain identical.
+ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * IDENTIFICATION
+ * $Log: md5.c,v $
+ * Revision 1.5 2001/11/13 22:06:58 momjian
+ * Remove md5.c check, add CVS log stamp. Update comments.
+ *
*/
+/*
+ * NOTE:
+ *
+ * There are two copies of this file, one in backend/libpq and another
+ * in interfaces/odbc. They should be identical.
+ */
+
#ifndef MD5_ODBC
#include "postgres.h"
#include "libpq/crypt.h"