diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-11-11 23:52:45 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-11-11 23:52:45 +0000 |
commit | 018cf0f76e80cf61df9e84d02edd94037361d9b7 (patch) | |
tree | 89dd7d50471ff4ec65e07b5004f40ba3241b4511 /src/port | |
parent | 0a2c82b5f73cc2d7f1a5963b6d320cbe57dd10d1 (diff) | |
download | postgresql-018cf0f76e80cf61df9e84d02edd94037361d9b7.tar.gz |
Update /port C header descriptions.
Diffstat (limited to 'src/port')
-rw-r--r-- | src/port/copydir.c | 14 | ||||
-rw-r--r-- | src/port/dirmod.c | 14 | ||||
-rw-r--r-- | src/port/gethostname.c | 14 | ||||
-rw-r--r-- | src/port/getrusage.c | 15 | ||||
-rw-r--r-- | src/port/isinf.c | 14 | ||||
-rw-r--r-- | src/port/path.c | 15 | ||||
-rw-r--r-- | src/port/random.c | 15 | ||||
-rw-r--r-- | src/port/sprompt.c | 15 | ||||
-rw-r--r-- | src/port/srandom.c | 15 | ||||
-rw-r--r-- | src/port/strcasecmp.c | 8 | ||||
-rw-r--r-- | src/port/strdup.c | 3 | ||||
-rw-r--r-- | src/port/strtol.c | 2 |
12 files changed, 123 insertions, 21 deletions
diff --git a/src/port/copydir.c b/src/port/copydir.c index 29fbad8e25..4c667e8bcc 100644 --- a/src/port/copydir.c +++ b/src/port/copydir.c @@ -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" diff --git a/src/port/dirmod.c b/src/port/dirmod.c index 66c98a59fc..76ca5cde1d 100644 --- a/src/port/dirmod.c +++ b/src/port/dirmod.c @@ -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 diff --git a/src/port/gethostname.c b/src/port/gethostname.c index 305f557106..da729bd54c 100644 --- a/src/port/gethostname.c +++ b/src/port/gethostname.c @@ -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" diff --git a/src/port/getrusage.c b/src/port/getrusage.c index 386b1acf65..0455fe857f 100644 --- a/src/port/getrusage.c +++ b/src/port/getrusage.c @@ -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> diff --git a/src/port/isinf.c b/src/port/isinf.c index 3156591999..92684ed32b 100644 --- a/src/port/isinf.c +++ b/src/port/isinf.c @@ -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" diff --git a/src/port/path.c b/src/port/path.c index 4bbe7960ec..515ba047a6 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -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> diff --git a/src/port/random.c b/src/port/random.c index 8bb53e8914..428c65909a 100644 --- a/src/port/random.c +++ b/src/port/random.c @@ -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" diff --git a/src/port/sprompt.c b/src/port/sprompt.c index 185d9972d8..57df748e15 100644 --- a/src/port/sprompt.c +++ b/src/port/sprompt.c @@ -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 $ + *------------------------------------------------------------------------- */ diff --git a/src/port/srandom.c b/src/port/srandom.c index cf74ce5f86..9bb2874e6a 100644 --- a/src/port/srandom.c +++ b/src/port/srandom.c @@ -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" diff --git a/src/port/strcasecmp.c b/src/port/strcasecmp.c index c0b4409d73..e40dc915a9 100644 --- a/src/port/strcasecmp.c +++ b/src/port/strcasecmp.c @@ -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 @@ -13,17 +13,13 @@ * 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', diff --git a/src/port/strdup.c b/src/port/strdup.c index 69a7a88d46..7526c3f8aa 100644 --- a/src/port/strdup.c +++ b/src/port/strdup.c @@ -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" diff --git a/src/port/strtol.c b/src/port/strtol.c index fd1bc5f3c6..b64d28fe0d 100644 --- a/src/port/strtol.c +++ b/src/port/strtol.c @@ -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. |