From 53972b460c6bc56178244ac53cf71e11bba6c37a Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 17 May 2008 01:28:26 +0000 Subject: 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 */' --- src/include/commands/comment.h | 5 ++++- src/include/commands/proclang.h | 5 ++++- src/include/port/aix.h | 3 +++ src/include/port/bsdi.h | 3 +++ src/include/port/sco.h | 5 ++++- src/include/port/sunos4.h | 5 ++++- src/include/port/ultrix4.h | 3 +++ src/include/port/univel.h | 5 ++++- src/include/port/unixware.h | 5 ++++- src/include/port/win32/pwd.h | 3 +++ src/include/port/win32/sys/wait.h | 3 +++ src/include/utils/cash.h | 3 +++ 12 files changed, 42 insertions(+), 6 deletions(-) (limited to 'src/include') diff --git a/src/include/commands/comment.h b/src/include/commands/comment.h index 9c97f2b33e4..4e352a4e81b 100644 --- a/src/include/commands/comment.h +++ b/src/include/commands/comment.h @@ -1,4 +1,7 @@ -/*------------------------------------------------------------------------- +/* + * $PostgreSQL: pgsql/src/include/commands/comment.h,v 1.22 2008/05/17 01:28:24 adunstan Exp $ + * + *------------------------------------------------------------------------- * * comment.h * diff --git a/src/include/commands/proclang.h b/src/include/commands/proclang.h index 07551dd8d56..fd975166891 100644 --- a/src/include/commands/proclang.h +++ b/src/include/commands/proclang.h @@ -1,4 +1,7 @@ -/*------------------------------------------------------------------------- +/* + * $PostgreSQL: pgsql/src/include/commands/proclang.h,v 1.14 2008/05/17 01:28:24 adunstan Exp $ + * + *------------------------------------------------------------------------- * * proclang.h * prototypes for proclang.c. diff --git a/src/include/port/aix.h b/src/include/port/aix.h index 5ce3d29a113..8ee5c22b374 100644 --- a/src/include/port/aix.h +++ b/src/include/port/aix.h @@ -1,2 +1,5 @@ +/* + * $PostgreSQL: pgsql/src/include/port/aix.h,v 1.12 2008/05/17 01:28:24 adunstan Exp $ + */ #define CLASS_CONFLICT #define DISABLE_XOPEN_NLS diff --git a/src/include/port/bsdi.h b/src/include/port/bsdi.h index 8b137891791..03a269ae13f 100644 --- a/src/include/port/bsdi.h +++ b/src/include/port/bsdi.h @@ -1 +1,4 @@ +/* + * $PostgreSQL: pgsql/src/include/port/bsdi.h,v 1.14 2008/05/17 01:28:24 adunstan Exp $ + */ diff --git a/src/include/port/sco.h b/src/include/port/sco.h index 2f05116d3e1..0b237e0822a 100644 --- a/src/include/port/sco.h +++ b/src/include/port/sco.h @@ -1,4 +1,7 @@ -/* see src/backend/libpq/pqcomm.c */ +/* + * $PostgreSQL: pgsql/src/include/port/sco.h,v 1.18 2008/05/17 01:28:24 adunstan Exp $ + * + * see src/backend/libpq/pqcomm.c */ #define SCO_ACCEPT_BUG #define USE_UNIVEL_CC diff --git a/src/include/port/sunos4.h b/src/include/port/sunos4.h index 48fdbffb91c..9d34f9f9e64 100644 --- a/src/include/port/sunos4.h +++ b/src/include/port/sunos4.h @@ -1,2 +1,5 @@ -/* sprintf() returns char *, not int, on SunOS 4.1.x */ +/* + * $PostgreSQL: pgsql/src/include/port/sunos4.h,v 1.10 2008/05/17 01:28:24 adunstan Exp $ + * + * sprintf() returns char *, not int, on SunOS 4.1.x */ #define SPRINTF_CHAR diff --git a/src/include/port/ultrix4.h b/src/include/port/ultrix4.h index 7df0abc34dc..2da383fcb11 100644 --- a/src/include/port/ultrix4.h +++ b/src/include/port/ultrix4.h @@ -1,3 +1,6 @@ +/* + * $PostgreSQL: pgsql/src/include/port/ultrix4.h,v 1.12 2008/05/17 01:28:24 adunstan Exp $ + */ #define NOFIXADE #define NEED_STRDUP diff --git a/src/include/port/univel.h b/src/include/port/univel.h index ca054166d19..10309bba46f 100644 --- a/src/include/port/univel.h +++ b/src/include/port/univel.h @@ -1,4 +1,7 @@ -/*************************************** +/* + * $PostgreSQL: pgsql/src/include/port/univel.h,v 1.24 2008/05/17 01:28:24 adunstan Exp $ + * + *************************************** * Define this if you are compiling with * the native UNIXWARE C compiler. ***************************************/ diff --git a/src/include/port/unixware.h b/src/include/port/unixware.h index 6cddddac2e0..a8002a0dcbb 100644 --- a/src/include/port/unixware.h +++ b/src/include/port/unixware.h @@ -1,4 +1,7 @@ -/* see src/backend/libpq/pqcomm.c */ +/* + * $PostgreSQL: pgsql/src/include/port/unixware.h,v 1.18 2008/05/17 01:28:24 adunstan Exp $ + * + * see src/backend/libpq/pqcomm.c */ #define SCO_ACCEPT_BUG /*************************************** diff --git a/src/include/port/win32/pwd.h b/src/include/port/win32/pwd.h index 8b137891791..8af52ef4900 100644 --- a/src/include/port/win32/pwd.h +++ b/src/include/port/win32/pwd.h @@ -1 +1,4 @@ +/* + * $PostgreSQL: pgsql/src/include/port/win32/pwd.h,v 1.3 2008/05/17 01:28:25 adunstan Exp $ + */ diff --git a/src/include/port/win32/sys/wait.h b/src/include/port/win32/sys/wait.h index 8b137891791..20835d89ca7 100644 --- a/src/include/port/win32/sys/wait.h +++ b/src/include/port/win32/sys/wait.h @@ -1 +1,4 @@ +/* + * $PostgreSQL: pgsql/src/include/port/win32/sys/wait.h,v 1.3 2008/05/17 01:28:25 adunstan Exp $ + */ diff --git a/src/include/utils/cash.h b/src/include/utils/cash.h index 808a08643f7..a195d998d5d 100644 --- a/src/include/utils/cash.h +++ b/src/include/utils/cash.h @@ -1,4 +1,7 @@ /* + * $PostgreSQL: pgsql/src/include/utils/cash.h,v 1.26 2008/05/17 01:28:25 adunstan Exp $ + * + * * cash.h * Written by D'Arcy J.M. Cain * -- cgit v1.2.3