Re: libmb 1.6
[email protected] (Matthew Allum) Mon, 28 Mar 2005 16:42:03 -0600
| Newsgroups | gmane.comp.handhelds.matchbox |
|---|---|
| Message-ID | <[email protected]> |
Hi; on Tue, Mar 29, 2005 at 12:38:24AM +0200, Andreas Gunnarsson wrote: > > I'm looking for a window manager for a Zaurus SL-C3000 running OpenBSD, > and matchbox seems interesting so I'll try to make a port when I find > the time. Has anyone else already done that? > Im pretty sure matchbox is packaged for NetBSD at least. Never heard of anyone running it on OpenBSD though. > When trying to compile libmb for OpenBSD I have noticed two problems: > > mbutil.c includes alloca.h which isn't present; stdlib.h is all that's > needed. It seems like configure should check for this, but the result > is never used. > > On line 64 in mbdotdesktop.c the sscanf can overflow new_key and locale > since the terminating NUL character can cause the result to be 65 and 17 > characters while key are defined as 64 and 16. > Thanks will fix. I work mainly with Linux so usually miss any wrinkles with *BSD's. If you discover anything else - pointers to problems ( or even better fixes :) ) welcomed. Many thanks; -- Matthew