Re: style(9) question on typedef and struct tag

2011-04-22 Thread Michael Small
Remco writes: > Mike Williams wrote: > >> [asbestos suit donned? check!] >> >> The style(9) man page contains the statement >> >>Don't use the same name for a struct tag and a typedef, as this makes >>the code unusable from C++. >> >> My question is how does this make the code unusable

Re: State of multiprocessing and multithreading in OpenBSD

2010-05-07 Thread Michael Small
"J.C. Roberts" writes: > On Thu, 6 May 2010 20:28:31 -0500 Ed Ahlsen-Girard > wrote: ... >> > > Do you seriously expect programmers to learn to program? >> > > >> > Finite Sex Machine? >> >> James Brown would never tolerate a *Finite* sex machine. >> > > > "Bit Up. Bit On Up" Oh sure, give a

Re: How to work around this compiler bug

2010-05-01 Thread Michael Small
Christopher Zimmermann writes: > Hi, > > the following piece of code compiles fine using g++ 4.2.4, but > fails using g++ 3.3.5 in the base system: > > error: operands to ?: have different types How about something like this... #include // #define WarnIfNULL(x) ((x) ? (x) : (warn("blub"),(x))

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Michael Small
Philip Guenther writes: ... >>> file a.c contains "char foo" on the code. >>> and b.c contains "int foo" on the code. ... > > It violates a constraint of the C standard for two translation units > of a program to have different tentative definitions for a single > (necessarily external) ide

perldoc -r and paths under /usr/local

2008-07-03 Thread Michael Small
Hi, If I run 'perldoc -r Long' I get an error like the ones below because certain directories under /usr/local that were compiled into @INC don't exist. Is this a bug in base or would creating those directories just be one of those things a user or administrator would be expected to do him or he

Re: OT: Dissertation ideas for my degree

2008-06-20 Thread Michael Small
On Fri, Jun 20, 2008 at 03:28:30PM +0100, Edd Barrett wrote: > My ideas so far: > - A parser generator written in a modern scripting language. > - A scripting language to teach good programming practices to first year > java students. > - A linter of some kind > - A good TeX to html convertor (e

Re: Firefox 2.0.0.12

2008-04-07 Thread Michael Small
On Mon, Apr 07, 2008 at 12:00:44PM -0700, Unix Fan wrote: ... > I'll stop posting, the developers have already made it clear to us > end-users... > > "We'll provide you with a secure system, but.. hell, once you get it.. it > won't be secure anymore, wait another 6 months, it'll be secure again.

Re: floppy.fs

2008-03-05 Thread Michael Small
On Tue, Mar 04, 2008 at 11:22:11PM -0700, Paul Greidanus wrote: > Hi All > > I'm just wondering how many people out there are using the floppy.fs > installer still? I'm wondering if it would be a worthwhile thought to > expand past the 1.44Mb limit for the CD and .rd install options if there >

Re: yt: youtube download issue

2007-12-18 Thread Michael Small
On Tue, Dec 18, 2007 at 06:33:07PM +1100, Chris wrote: > yt is giving me the following error while trying to download - > > $ yt http://youtube.com/watch?v=huF2mrhTtCw&feature=dir > > $ Getting http://youtube.com/watch?v=huF2mrhTtCw ... > /usr/local/bin/lua: /usr/local/bin/yt:42: assertion failed

Re: cwm: alt-tabbing behavior

2007-11-24 Thread Michael Small
On Sat, Nov 24, 2007 at 05:56:15PM +, Edd Barrett wrote: > Hi there, > > I have noticed some odd behavior of the alt-tab feature of cwm. > Occasionally alt-tab will get "stuck" at a specific window and refuse > to go and futher. Moving the window, will "unstuck" it. > > Has anyone else notice

Re: OpenBSD kernel janitors

2007-10-31 Thread Michael Small
On Wed, Oct 31, 2007 at 03:28:03PM +, n0g0013 wrote: > On 31.10-11:12, Nick Guenther wrote: > [ ... ] > > > and i would suggest that the severe and prevelant attitude toward the > > > possibilty of poor patches or under-educated actions is the most > > > significant barrier to encouraging new/y

Re: compiling dnscap

2007-05-10 Thread Michael Small
On Thu, May 10, 2007 at 12:15:24PM -0700, Bryan Irvine wrote: > Paul Vixie is working on a tcpdump-like dns packet capture tool. > http://public.oarci.net/tools/dnscap/ > > > I can't seem to get it to compile on OBSD. I get the following errors. > > GTX-440:/tmp/dnscap#make > (compile dnscap.c w

ulpt and usb->parallel adapters

2006-11-23 Thread Michael Small
Do usb to parallel port adapters work with OpenBSD? There seems to be some code commented out in ulpt.c with names including 1284 in them, but I haven't been able to figure out for sure whether that really means these devices aren't supported. I'm debating whether to buy one of them to connect an

Re: gcc and variable length arrays

2006-10-10 Thread Michael Small
Joe <[EMAIL PROTECTED]> writes: ... > Thanks. I'm a student and just getting started and my instructor was > telling the class how the schools version copies of MS Visual C 6.0 is > not C99 compliant and that some of the examples in the book[0] fail to > compile. I read up on GCC 3.3.5 and it appea