1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

Add $PostgreSQL$ markers to a lot of files that were missing them.

This particular batch was just for *.c and *.h file.

The changes were made with the following 2 commands:

find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o  \( -name '*.[ch]'  \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'

find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o  \( -name '*.[ch]'  \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
This commit is contained in:
Andrew Dunstan
2008-05-17 01:28:26 +00:00
parent caede71b44
commit 53972b460c
99 changed files with 321 additions and 24 deletions

View File

@ -1,4 +1,7 @@
/* only needed in OS X 10.1 and possibly early 10.2 releases */
/*
* $PostgreSQL: pgsql/src/backend/port/darwin/system.c,v 1.7 2008/05/17 01:28:22 adunstan Exp $
*
* only needed in OS X 10.1 and possibly early 10.2 releases */
#include <AvailabilityMacros.h>
#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2 || !defined(MAC_OS_X_VERSION_10_2)

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/aix.c,v 1.20 2008/05/17 01:28:23 adunstan Exp $
*
*
* @(#)dlfcn.c 1.7 revision of 95/08/14 19:08:38
* This is an unpublished work copyright (c) 1992 HELIOS Software GmbH
* 30159 Hannover, Germany

View File

@ -1,4 +1,7 @@
/* Dummy file used for nothing at this point
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/sco.c,v 1.2 2008/05/17 01:28:23 adunstan Exp $
*
* Dummy file used for nothing at this point
*
* see sco.h
*/

View File

@ -1,4 +1,7 @@
/* Dummy file used for nothing at this point
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/solaris.c,v 1.2 2008/05/17 01:28:23 adunstan Exp $
*
* Dummy file used for nothing at this point
*
* see solaris.h
*/

View File

@ -1,4 +1,7 @@
/* Dummy file used for nothing at this point
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/sunos4.c,v 1.2 2008/05/17 01:28:23 adunstan Exp $
*
* Dummy file used for nothing at this point
*
* see sunos4.h
*/

View File

@ -1,4 +1,7 @@
/* Dummy file used for nothing at this point
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/svr4.c,v 1.2 2008/05/17 01:28:23 adunstan Exp $
*
* Dummy file used for nothing at this point
*
* see svr4.h
*/

View File

@ -1,4 +1,7 @@
/* Dummy file used for nothing at this point
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/univel.c,v 1.4 2008/05/17 01:28:23 adunstan Exp $
*
* Dummy file used for nothing at this point
*
* see univel.h
*/

View File

@ -1,4 +1,7 @@
/*-------------------------------------------------------------------------
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/univel.h,v 1.22 2008/05/17 01:28:23 adunstan Exp $
*
*-------------------------------------------------------------------------
*
* univel.h
* port-specific prototypes for Intel x86/UNIXWARE

View File

@ -1,4 +1,7 @@
/* Dummy file used for nothing at this point
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/unixware.c,v 1.2 2008/05/17 01:28:23 adunstan Exp $
*
* Dummy file used for nothing at this point
*
* see unixware.h
*/

View File

@ -1,4 +1,7 @@
/*-------------------------------------------------------------------------
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/unixware.h,v 1.20 2008/05/17 01:28:23 adunstan Exp $
*
*-------------------------------------------------------------------------
*
* unixware.h
* port-specific prototypes for Intel x86/UNIXWARE 7

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/src/backend/port/dynloader/win32.h,v 1.4 2008/05/17 01:28:23 adunstan Exp $
*/
#ifndef PORT_PROTOS_H
#define PORT_PROTOS_H

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/src/backend/port/nextstep/port.c,v 1.11 2008/05/17 01:28:23 adunstan Exp $
*/
#include "postgres.h"
#ifndef _POSIX_SOURCE