[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Tir 0.8, With OSX Support
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 10 Dec 2010 10:28:43 -0200
> On Fri, Dec 10, 2010 at 00:43, Zed Shaw <zed.shaw@gmail.com> wrote:
> >
> > * Ditch libuuid and just rolled my own psuedo uuid for sessions (which
> > probably ain't secure but oh well).
>
>
> I'm not in web dev at the moment, but I'm still keeping an eye on this...
> Why did you remove libuuid? Because of OS X? If it is the case, this could
> be helpful:
>
> http://www.mail-archive.com/programming@jsoftware.com/msg05886.html
Nice tip. I can confirm that my luuid does not build out-of-the-box in
Mac OS X 10.6.5 but it does when the patch below is applied. Apparently,
the uuid functions are in libc and uuid_time does not exist.
diff uuid/Makefile uuid,new/Makefile
39c39
< $(MAKESO) -o $@ $(OBJS) -luuid
---
> $(MAKESO) -o $@ $(OBJS) #-luuid
diff uuid/luuid.c uuid,new/luuid.c
18d17
< #define uuid_time(c,p) (-1)
19a19
> #define uuid_time(c,p) (-1)