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
d85a0a6b
Commit
d85a0a6b
authored
May 09, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cleanups now that we have crypt().
parent
384bbdd0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
src/include/c.h
src/include/c.h
+5
-1
src/include/port/qnx4.h
src/include/port/qnx4.h
+0
-2
src/interfaces/libpq/win32.h
src/interfaces/libpq/win32.h
+0
-5
No files found.
src/include/c.h
View file @
d85a0a6b
...
...
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: c.h,v 1.14
3 2003/05/09 16:26:29
momjian Exp $
* $Id: c.h,v 1.14
4 2003/05/09 16:59:43
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -798,6 +798,10 @@ extern int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
* Default "extern" declarations or macro substitutes for library routines.
* When necessary, these routines are provided by files in src/port/.
*/
#ifndef HAVE_CRYPT
char
*
crypt
(
const
char
*
key
,
const
char
*
setting
);
#endif
#ifndef HAVE_FSEEKO
#define fseeko(a, b, c) fseek((a), (b), (c))
#define ftello(a) ftell((a))
...
...
src/include/port/qnx4.h
View file @
d85a0a6b
...
...
@@ -26,7 +26,5 @@ typedef unsigned char slock_t;
extern
int
isnan
(
double
dsrc
);
extern
char
*
crypt
(
const
char
*
,
const
char
*
);
extern
long
random
(
void
);
extern
void
srandom
(
unsigned
int
seed
);
src/interfaces/libpq/win32.h
View file @
d85a0a6b
...
...
@@ -27,11 +27,6 @@
#define vsnprintf(a,b,c,d) _vsnprintf(a,b,c,d)
#define snprintf _snprintf
/*
* crypt not available (yet)
*/
#define crypt(a,b) ((char *) a)
#undef EAGAIN
/* doesn't apply on sockets */
#undef EINTR
#define EINTR WSAEINTR
...
...
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