Re: Rant: how stupid does java look

2005-05-06 Thread Andrew Pinski
On May 6, 2005, at 8:55 PM, Henry Lenzi wrote: IMHO, the open source community should avoid this Java fixation and switch to Mono. Mono is free sotware and a superior technology than Java, from what I've read. Sure, there's lots of investment already made in Java (Tomcat, etc). But for the BSDs,

Re: xargs PF or BPF

2006-02-13 Thread Andrew Pinski
On Feb 13, 2006, at 9:24 PM, Damien Miller wrote: Because that will fail when there are too many arguments, and will probably break on filenames with spaces (use xargs -0 for these). Why not use -exec in find? find . -type f -name ttt -exec rm {}\; -- Pinski

Re: xargs PF or BPF

2006-02-13 Thread Andrew Pinski
On Feb 13, 2006, at 9:53 PM, Jason Crawford wrote: On 2/13/06, Andrew Pinski [EMAIL PROTECTED] wrote: On Feb 13, 2006, at 9:24 PM, Damien Miller wrote: Because that will fail when there are too many arguments, and will probably break on filenames with spaces (use xargs -0 for these). Why

Re: xargs PF or BPF

2006-02-13 Thread Andrew Pinski
On Feb 13, 2006, at 10:00 PM, Jason Crawford wrote: Time to write your own program in C instead if the time to invoke rm is taking too much time. No point, xargs does what I need it to do, and is much more efficient than having find execute rm itself. The fewer times you call execve(2) the

Re: gcc miscompiles ntohs16() inline assembly in OpenBSD 3.8

2006-04-04 Thread Andrew Pinski
On Wed, 5 Apr 2006, chefren wrote: [snip] How do you think that irritating recommendation will ever get away without debugging? By getting rid of gcc. ; Sorry could not resist that one ;-) Actually I bet ntohs16 is violating C aliasing rules. So getting rid of GCC actually is

Re: A joke

2006-06-01 Thread Andrew Pinski
On Jun 1, 2006, at 1:44 AM, Rico wrote: Manager: George, I need a program to output the string Hello World! You forgot one: a lazy person #!/bin/sh echo Hello World! Thanks, Andrew Pinski

Re: No Java in OpenBSD

2006-07-11 Thread Andrew Pinski
there is no official port in OpenBSD itself. Thanks, Andrew Pinski A GCC developer

Re: GCC 4.1 stack smashing protection

2006-07-11 Thread Andrew Pinski
On Jul 11, 2006, at 11:32 AM, Matthew R. Dempsky wrote: I notice GCC 4.1 includes a reimplementation of the stack smashing protection already included in OpenBSD. Have there been any comments on this new functionality from the OpenBSD community? Anyone know of differences between IBM's old

Re: cd subdir; cd .. doesn't preserve working directory

2006-08-09 Thread Andrew Pinski
Bug in OpenBSD 3.9? [EMAIL PROTECTED]:/usr/local/lib/qt3/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib$ cd lib; cd .. [EMAIL PROTECTED]:/usr/local/lib$ Shouldn't the correct answer be [EMAIL

Re: gcc and variable length arrays

2006-10-09 Thread Andrew Pinski
On Mon, 2006-10-09 at 22:07 -0700, Joe wrote: I'm trying to find a compiler that supports variable length arrays. I'm currently taking a computer science class and noticed that gcc's support for variable lenght arrays is broken [0]. The reason why it is broken is not the reason why you think.