Update /port C header descriptions.
authorBruce Momjian <bruce@momjian.us>
Tue, 11 Nov 2003 23:52:45 +0000 (23:52 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 11 Nov 2003 23:52:45 +0000 (23:52 +0000)
12 files changed:
src/port/copydir.c
src/port/dirmod.c
src/port/gethostname.c
src/port/getrusage.c
src/port/isinf.c
src/port/path.c
src/port/random.c
src/port/sprompt.c
src/port/srandom.c
src/port/strcasecmp.c
src/port/strdup.c
src/port/strtol.c

index 29fbad8e259efcae930fd27ca84edfd784ca086c..4c667e8bcc9e3a2edf3ede112177f9c85b6ac262 100644 (file)
@@ -1,9 +1,19 @@
-/*
+/*-------------------------------------------------------------------------
+ *
+ * copydir.c
+ *       copies a directory
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
  *     While "xcopy /e /i /q" works fine for copying directories, on Windows XP
  *     it requires a Window handle which prevents it from working when invoked
  *     as a service.
  *
- * $Header: /cvsroot/pgsql/src/port/Attic/copydir.c,v 1.5 2003/09/10 20:12:01 tgl Exp $
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/Attic/copydir.c,v 1.6 2003/11/11 23:52:45 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
  */
 
 #include "postgres.h"
index 66c98a59fcfcf16f660fc3b2e5f5ffea8dde0aa9..76ca5cde1dee665b0210b8a89ca717a195a216d6 100644 (file)
@@ -1,6 +1,18 @@
-/*
+/*-------------------------------------------------------------------------
+ *
+ * dirmod.c
+ *       rename/unlink()
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
  *     These are replacement versions of unlink and rename that work on
  *     Win32 (NT, Win2k, XP).  replace() doesn't work on Win95/98/Me.
+ *
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/dirmod.c,v 1.7 2003/11/11 23:52:45 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
  */
 
 #ifndef TEST_VERSION
index 305f5571068fc3975cc5597363921216a392016f..da729bd54cd8ccaefb08955c4c20038cae7e42f1 100644 (file)
@@ -1,4 +1,16 @@
-/* $Id: gethostname.c,v 1.2 2002/09/02 02:47:07 momjian Exp $ */
+/*-------------------------------------------------------------------------
+ *
+ * gethostname.c
+ *       gethostname using uname
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/gethostname.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
 
 #include "c.h"
 
index 386b1acf656076c49961b0dfbf36173a21984faf..0455fe857f3f003a7e13023b3704e0d31613764e 100644 (file)
@@ -1,4 +1,17 @@
-/* $Id: getrusage.c,v 1.2 2003/05/15 16:35:30 momjian Exp $ */
+/*-------------------------------------------------------------------------
+ *
+ * getusage.c
+ *       64-bit versions of fseeko/ftello()
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ *
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/getrusage.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
 
 #include <stdio.h>
 #include <errno.h>
index 3156591999e94db0d834b8485ac88bab769ae315..92684ed32b6e03bff61989d8d45cffbe514785d0 100644 (file)
@@ -1,4 +1,16 @@
-/* $Id: isinf.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
+/*-------------------------------------------------------------------------
+ *
+ * isinf.c
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ *
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/isinf.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
 
 #include "c.h"
 
index 4bbe7960ec135d4d60ec7dc53a761156062dd558..515ba047a6fc0977d2c037318899cf0fa50f2b4f 100644 (file)
@@ -1,4 +1,17 @@
-/* $Id: path.c,v 1.2 2003/08/04 00:43:33 momjian Exp $ */
+/*-------------------------------------------------------------------------
+ *
+ * path.c
+ *       portable path handling routines
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ *
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/path.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
 
 #include "c.h"
 #include <ctype.h>
index 8bb53e8914f119d69d0c46434e903a3b7457c354..428c65909a36b8b9c8e9522839b5848044a2f149 100644 (file)
@@ -1,4 +1,17 @@
-/* $Id: random.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
+/*-------------------------------------------------------------------------
+ *
+ * random.c
+ *       random() wrapper
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ *
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/random.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
 
 #include "c.h"
 
index 185d9972d8a71b62b09e96bbd2dff29a7dbaf429..57df748e1584c2ac0c8ead77265a77ef8e505589 100644 (file)
@@ -1,9 +1,16 @@
-/*
- * psql - the PostgreSQL interactive terminal
+/*-------------------------------------------------------------------------
+ *
+ * sprompt.c
+ *       simple_prompt() routine
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
  *
- * Copyright 2000 by PostgreSQL Global Development Group
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/sprompt.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
  *
- * $Header: /cvsroot/pgsql/src/port/sprompt.c,v 1.2 2003/10/26 04:29:15 momjian Exp $
+ *-------------------------------------------------------------------------
  */
 
 
index cf74ce5f86c6a475921c453fc6f37bcd4c83d819..9bb2874e6a69e72604507620e809670abd21a22f 100644 (file)
@@ -1,4 +1,17 @@
-/* $Id: srandom.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
+/*-------------------------------------------------------------------------
+ *
+ * srandom.c
+ *       srandom() wrapper
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ *
+ * IDENTIFICATION
+ *       $Header: /cvsroot/pgsql/src/port/srandom.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
 
 #include "c.h"
 
index c0b4409d734a25392c1813d30aad5c1a231b2448..e40dc915a9d39757f7f5d3f7e3ad5747c6e669ae 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: strcasecmp.c,v 1.2 2003/08/04 02:40:20 momjian Exp $ */
+/* $Id: strcasecmp.c,v 1.3 2003/11/11 23:52:45 momjian Exp $ */
 
 /*
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  * is provided ``as is'' without express or implied warranty.
  */
 
-#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strcasecmp.c       5.5 (Berkeley) 11/24/87";
-#endif   /* LIBC_SCCS and not lint */
-
 #include <sys/types.h>
 #include <string.h>
 
 /*
  * This array is designed for mapping upper and lower case letter
  * together for a case independent comparison. The mappings are
-p * based upon ascii character sequences.
+ * based upon ascii character sequences.
  */
 static unsigned char charmap[] = {
        '\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007',
index 69a7a88d46d10e2a7d595c99335e283745ef477a..7526c3f8aa7d376a9f03abb2036321bd70c5b426 100644 (file)
@@ -8,10 +8,11 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/port/strdup.c,v 1.2 2003/08/04 02:40:20 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/port/strdup.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
+
 #include <string.h>
 #include <stdlib.h>
 #include "strdup.h"
index fd1bc5f3c67ba6ae6a992d2fb65ca31aa13d5803..b64d28fe0db57b3929cf07d07eb7c43ace1fe2f7 100644 (file)
@@ -1,4 +1,4 @@
-/*-
+/*
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  * Portions Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.