Bugs
Search the entire project
This project's trackers
This project's forums
This project's tasks
This project's releases
This project's documents
This project's news
Project
People
Skill
Advanced search
Log In
|
New Account
Home
My Page
Projects
Code Snippets
Project Openings
PGCluster
Summary
Activity
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
SCM
Files
[#1001775] Another mistake while compiling pgcluster on a IntelMac
View Trackers
|
Bugs
|
Download .csv
|
Monitor
Date:
2007-02-02 19:26
Priority:
3
State:
Open
Submitted by:
Markus Matthias Haußner (
m_haussner
)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
None
Summary:
Another mistake while compiling pgcluster on a IntelMac
Detailed description
In my report I wrote before, I described that "make" aborts while compiling. Then I have copied the following function into "recovery.c":
char * cuserid(char *s)
{
register struct passwd *pwd;
if ((pwd = getpwuid(geteuid())) == NULL) {
if (s)
*s = '\0';
return (s);
}
if (s) {
(void)strncpy(s, pwd->pw_name, L_cuserid);
return (s);
}
return (pwd->pw_name);
}
static int
read_packet(int sock,RecoveryPacket * packet)
I have also included "string.h". Then I tried once again to compile it. Without success. I have created an attachement with the output of "make".
Followup
No Followups Have Been Posted
Attached Files:
Attachments:
make.txt
Changes:
Field
Old Value
Date
By
File Added
168: make.txt
2007-02-02 19:26
m_haussner