Remove md5.c check, add CVS log stamp. Update comments.

This commit is contained in:
Bruce Momjian 2001-11-13 22:06:58 +00:00
parent 1c2d2dbb67
commit 2ca65f716a
3 changed files with 32 additions and 13 deletions

View File

@ -4,7 +4,7 @@
# Makefile for libpq subsystem (backend half of libpq interface) # Makefile for libpq subsystem (backend half of libpq interface)
# #
# IDENTIFICATION # 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 pqcomm.o pqformat.o pqsignal.o util.o
all: check_md5 SUBSYS.o all: 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)
SUBSYS.o: $(OBJS) SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS) $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)

View File

@ -10,12 +10,24 @@
* *
* Sverre H. Huseby <sverrehu@online.no> * Sverre H. Huseby <sverrehu@online.no>
* *
* There are two copies of this file, one in backend/libpq and another * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* in interfaces/odbc. These two files must be identical or they will not * Portions Copyright (c) 1994, Regents of the University of California
* compile. There is no CVS tag in this file so they can remain identical. *
* 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 #ifndef MD5_ODBC
#include "postgres.h" #include "postgres.h"
#include "libpq/crypt.h" #include "libpq/crypt.h"

View File

@ -10,12 +10,24 @@
* *
* Sverre H. Huseby <sverrehu@online.no> * Sverre H. Huseby <sverrehu@online.no>
* *
* There are two copies of this file, one in backend/libpq and another * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* in interfaces/odbc. These two files must be identical or they will not * Portions Copyright (c) 1994, Regents of the University of California
* compile. There is no CVS tag in this file so they can remain identical. *
* 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 #ifndef MD5_ODBC
#include "postgres.h" #include "postgres.h"
#include "libpq/crypt.h" #include "libpq/crypt.h"