Re: cwm - handle the PAspect flag

2009-06-26 Thread Paul Stoeber
Prevent overflow in (w + n * wi) and (h + n * hi). This diff supersedes the previous one. I grant this diff to the public domain. Index: mousefunc.c === RCS file: /cvs/xenocara/app/cwm/mousefunc.c,v retrieving revision 1.12 diff -u

cwm - handle the PAspect flag

2009-06-23 Thread Paul Stoeber
This diff supersedes http://marc.info/?l=openbsd-bugs&m=124471413424140 and attempts to handle the PAspect flag. The output of egrep '__int(32|64)_t;' /usr/src/sys/arch/*/include/_types.h seems to indicate that 'long long' is twice as big as 'int' on all supported platforms. The