Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit018cf0f

Browse files
committed
Update /port C header descriptions.
1 parent0a2c82b commit018cf0f

File tree

12 files changed

+123
-21
lines changed

12 files changed

+123
-21
lines changed

‎src/port/copydir.c

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1-
/*
1+
/*-------------------------------------------------------------------------
2+
*
3+
* copydir.c
4+
* copies a directory
5+
*
6+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
29
*While "xcopy /e /i /q" works fine for copying directories, on Windows XP
310
*it requires a Window handle which prevents it from working when invoked
411
*as a service.
512
*
6-
* $Header: /cvsroot/pgsql/src/port/Attic/copydir.c,v 1.5 2003/09/10 20:12:01 tgl Exp $
13+
* IDENTIFICATION
14+
* $Header: /cvsroot/pgsql/src/port/Attic/copydir.c,v 1.6 2003/11/11 23:52:45 momjian Exp $
15+
*
16+
*-------------------------------------------------------------------------
717
*/
818

919
#include"postgres.h"

‎src/port/dirmod.c

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
/*
1+
/*-------------------------------------------------------------------------
2+
*
3+
* dirmod.c
4+
* rename/unlink()
5+
*
6+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
29
*These are replacement versions of unlink and rename that work on
310
*Win32 (NT, Win2k, XP).replace() doesn't work on Win95/98/Me.
11+
*
12+
* IDENTIFICATION
13+
* $Header: /cvsroot/pgsql/src/port/dirmod.c,v 1.7 2003/11/11 23:52:45 momjian Exp $
14+
*
15+
*-------------------------------------------------------------------------
416
*/
517

618
#ifndefTEST_VERSION

‎src/port/gethostname.c

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
/* $Id: gethostname.c,v 1.2 2002/09/02 02:47:07 momjian Exp $ */
1+
/*-------------------------------------------------------------------------
2+
*
3+
* gethostname.c
4+
* gethostname using uname
5+
*
6+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
9+
* IDENTIFICATION
10+
* $Header: /cvsroot/pgsql/src/port/gethostname.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
11+
*
12+
*-------------------------------------------------------------------------
13+
*/
214

315
#include"c.h"
416

‎src/port/getrusage.c

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
/* $Id: getrusage.c,v 1.2 2003/05/15 16:35:30 momjian Exp $ */
1+
/*-------------------------------------------------------------------------
2+
*
3+
* getusage.c
4+
* 64-bit versions of fseeko/ftello()
5+
*
6+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
9+
*
10+
* IDENTIFICATION
11+
* $Header: /cvsroot/pgsql/src/port/getrusage.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
12+
*
13+
*-------------------------------------------------------------------------
14+
*/
215

316
#include<stdio.h>
417
#include<errno.h>

‎src/port/isinf.c

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
/* $Id: isinf.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
1+
/*-------------------------------------------------------------------------
2+
*
3+
* isinf.c
4+
*
5+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
6+
* Portions Copyright (c) 1994, Regents of the University of California
7+
*
8+
*
9+
* IDENTIFICATION
10+
* $Header: /cvsroot/pgsql/src/port/isinf.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
11+
*
12+
*-------------------------------------------------------------------------
13+
*/
214

315
#include"c.h"
416

‎src/port/path.c

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
/* $Id: path.c,v 1.2 2003/08/04 00:43:33 momjian Exp $ */
1+
/*-------------------------------------------------------------------------
2+
*
3+
* path.c
4+
* portable path handling routines
5+
*
6+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
9+
*
10+
* IDENTIFICATION
11+
* $Header: /cvsroot/pgsql/src/port/path.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
12+
*
13+
*-------------------------------------------------------------------------
14+
*/
215

316
#include"c.h"
417
#include<ctype.h>

‎src/port/random.c

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
/* $Id: random.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
1+
/*-------------------------------------------------------------------------
2+
*
3+
* random.c
4+
* random() wrapper
5+
*
6+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
9+
*
10+
* IDENTIFICATION
11+
* $Header: /cvsroot/pgsql/src/port/random.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
12+
*
13+
*-------------------------------------------------------------------------
14+
*/
215

316
#include"c.h"
417

‎src/port/sprompt.c

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
/*
2-
* psql - the PostgreSQL interactive terminal
1+
/*-------------------------------------------------------------------------
2+
*
3+
* sprompt.c
4+
* simple_prompt() routine
5+
*
6+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
39
*
4-
* Copyright 2000 by PostgreSQL Global Development Group
10+
* IDENTIFICATION
11+
* $Header: /cvsroot/pgsql/src/port/sprompt.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
512
*
6-
* $Header: /cvsroot/pgsql/src/port/sprompt.c,v 1.2 2003/10/26 04:29:15 momjian Exp $
13+
*-------------------------------------------------------------------------
714
*/
815

916

‎src/port/srandom.c

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
/* $Id: srandom.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
1+
/*-------------------------------------------------------------------------
2+
*
3+
* srandom.c
4+
* srandom() wrapper
5+
*
6+
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
9+
*
10+
* IDENTIFICATION
11+
* $Header: /cvsroot/pgsql/src/port/srandom.c,v 1.2 2003/11/11 23:52:45 momjian Exp $
12+
*
13+
*-------------------------------------------------------------------------
14+
*/
215

316
#include"c.h"
417

‎src/port/strcasecmp.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: strcasecmp.c,v 1.2 2003/08/04 02:40:20 momjian Exp $ */
1+
/* $Id: strcasecmp.c,v 1.3 2003/11/11 23:52:45 momjian Exp $ */
22

33
/*
44
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
@@ -13,17 +13,13 @@
1313
* is provided ``as is'' without express or implied warranty.
1414
*/
1515

16-
#if defined(LIBC_SCCS)&& !defined(lint)
17-
staticcharsccsid[]="@(#)strcasecmp.c5.5 (Berkeley) 11/24/87";
18-
#endif/* LIBC_SCCS and not lint */
19-
2016
#include<sys/types.h>
2117
#include<string.h>
2218

2319
/*
2420
* This array is designed for mapping upper and lower case letter
2521
* together for a case independent comparison.The mappings are
26-
p * based upon ascii character sequences.
22+
* based upon ascii character sequences.
2723
*/
2824
staticunsignedcharcharmap[]= {
2925
'\000','\001','\002','\003','\004','\005','\006','\007',

‎src/port/strdup.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/port/strdup.c,v 1.2 2003/08/04 02:40:20 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/port/strdup.c,v 1.3 2003/11/11 23:52:45 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
15+
1516
#include<string.h>
1617
#include<stdlib.h>
1718
#include"strdup.h"

‎src/port/strtol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*-
1+
/*
22
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
33
* Portions Copyright (c) 1990 The Regents of the University of California.
44
* All rights reserved.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp