SCM

[#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 Added168: make.txt2007-02-02 19:26m_haussner
Powered By FusionForge