Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
018cf0f7
Commit
018cf0f7
authored
Nov 11, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update /port C header descriptions.
parent
0a2c82b5
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
123 additions
and
21 deletions
+123
-21
src/port/copydir.c
src/port/copydir.c
+12
-2
src/port/dirmod.c
src/port/dirmod.c
+13
-1
src/port/gethostname.c
src/port/gethostname.c
+13
-1
src/port/getrusage.c
src/port/getrusage.c
+14
-1
src/port/isinf.c
src/port/isinf.c
+13
-1
src/port/path.c
src/port/path.c
+14
-1
src/port/random.c
src/port/random.c
+14
-1
src/port/sprompt.c
src/port/sprompt.c
+11
-4
src/port/srandom.c
src/port/srandom.c
+14
-1
src/port/strcasecmp.c
src/port/strcasecmp.c
+2
-6
src/port/strdup.c
src/port/strdup.c
+2
-1
src/port/strtol.c
src/port/strtol.c
+1
-1
No files found.
src/port/copydir.c
View file @
018cf0f7
/*
/*-------------------------------------------------------------------------
*
* 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"
...
...
src/port/dirmod.c
View file @
018cf0f7
/*
/*-------------------------------------------------------------------------
*
* 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
...
...
src/port/gethostname.c
View file @
018cf0f7
/* $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"
...
...
src/port/getrusage.c
View file @
018cf0f7
/* $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>
...
...
src/port/isinf.c
View file @
018cf0f7
/* $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"
...
...
src/port/path.c
View file @
018cf0f7
/* $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>
...
...
src/port/random.c
View file @
018cf0f7
/* $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"
...
...
src/port/sprompt.c
View file @
018cf0f7
/*
* 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 $
*
-------------------------------------------------------------------------
*/
...
...
src/port/srandom.c
View file @
018cf0f7
/* $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"
...
...
src/port/strcasecmp.c
View file @
018cf0f7
/* $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'
,
...
...
src/port/strdup.c
View file @
018cf0f7
...
...
@@ -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"
...
...
src/port/strtol.c
View file @
018cf0f7
/*
-
/*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment