[hashcash] Re: 0.29 rc portability test
- From: Adam Back <adam@xxxxxxxxxxxxxxx>
- To: hashcash@xxxxxxxxxxxxx
- Date: Sat, 6 Mar 2004 01:30:12 -0500
On Fri, Mar 05, 2004 at 06:33:33PM -0500, Eric S. Johansson wrote:
> I also encountered a problem compiling under MacOS X. For some reason
> the gnu tool chain did not generate the unix symbol for conditional
> compilation. I needed to add it in manually.
The change made was to add || defined( __APPLE__ ) in hashcash.c
(If someone has better solutions let me know -- this is for inclusion
of <unistd.h> to get getopt(3) and probably some other stuff I'm
forgetting about right now).
> Another problem is that you do not lock your double spending
> database files! [...] I have some patches from one of the camram
> contributors with traditional locking. I will test them out and
> send them on.
This is a limitation with current implementation, I agree we need to
fix. Please send along patches (or others recommend portable locking
strategy).
Adam
- References:
- [hashcash] 0.29 rc portability test
- From: Adam Back
- [hashcash] Re: 0.29 rc portability test
- From: Eric S. Johansson
Other related posts:
- » [hashcash] 0.29 rc portability test
- » [hashcash] Re: 0.29 rc portability test
- » [hashcash] Re: 0.29 rc portability test
- » [hashcash] Re: 0.29 rc portability test
- [hashcash] 0.29 rc portability test
- From: Adam Back
- [hashcash] Re: 0.29 rc portability test
- From: Eric S. Johansson