Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#266 closed defect (fixed)

[Mac OS X] tests fail to compile

Reported by: espes Owned by:
Priority: Should Have Milestone: Pre-Alpha 1
Component: Core engine Keywords:
Cc: Patch:

Description

"lib.tests/test_secure_crt.h" fails to compile on Mac OS X, as Mac OS X does not have a included "strnlen".

A crappy fix is attached, because I fail at C.

Attachments (2)

patch-test_secure_crt.h.diff (616 bytes ) - added by espes 15 years ago.
patch-secure_crt.h.diff (536 bytes ) - added by Tony Goold 15 years ago.
Here is an alternate way of patching it that I think would be preferable.

Download all attachments as: .zip

Change History (6)

by espes, 15 years ago

by Tony Goold, 15 years ago

Attachment: patch-secure_crt.h.diff added

Here is an alternate way of patching it that I think would be preferable.

comment:1 by espes, 15 years ago

Heh, I didn't notice that a work-around was already in place for non-unix. Scrap my patch.

comment:2 by espes, 15 years ago

Resolution: fixed
Status: newclosed

Disregard, I see this was fixed in r7015

comment:3 by (none), 14 years ago

Milestone: Open Source Release

Milestone Open Source Release deleted

comment:4 by historic_bruno, 12 years ago

Milestone: Pre-Alpha 1
Note: See TracTickets for help on using tickets.