bc(1), cooked mode and ^Z

2011-08-01 Thread Otto Moerbeek
Hi, if you are using a shell in cooked mode (e.g. csh) ^Z did not reset the terminal to the proper state. This should fix that. It's a pity libedit only has a all or nothing function for signal handling... Please test (with all shells!) and review, I want this to make release, -Otto

duid validation in disk_map()

2011-08-01 Thread Tobias Ulmer
Curiously, if DM_OPENPART is specified, disk_map() accepts the format "duid" as well as "duid.anypart". This may be a feature but I suspect it's actually a small oversight in the validation part. I'm proposing this stricter (and maybe more readable) version: Index: kern/subr_disk.c ==

Re: rdr-to ::1

2011-08-01 Thread Alexander Bluhm
On Wed, Jul 27, 2011 at 12:44:21AM +0200, Alexander Bluhm wrote: > On Fri, May 20, 2011 at 11:54:09AM +0200, Camiel Dobbelaar wrote: > > I'll spend some more time on this, but maybe there's an IPv6 guru that > > can lend a hand? :-) > > Just removing the check seems wrong to me. This would allow

Wholesale T-shirts

2011-08-01 Thread Ronnie
Hello, I don't want to take up too much of your time, just a moment to tell you about what I can offer you. I'm Ron Wrye with Wrye's Apparel in Hahira, GA. I'm just a good ole' Southern guy in South Georgia who knows how to print tee shirts. I don't hunt, I don't fish, I don't mud bog, I just print

Re: [Patch] ffclose() in mg

2011-08-01 Thread Todd C. Miller
On Sun, 31 Jul 2011 11:51:19 EDT, Loganaden Velvindron wrote: > Shouldn't we account for errors when fclose() is called? Yes, since fclose() calls fflush() first which may do the equivalent of fwrite(). You need to check the return value of fclose() to make sure everything actually got written.

rksh annoyance

2011-08-01 Thread Alf Schlichting
Hello, Here at work we have some special users that have a shell script as login shell so they can perform some tasks. Now, if this script is named /usr/local/bin/youcandothis.sh it will work, same script but named /usr/local/bin/youarenotallowed.sh does not because ksh determines if it is calle

Re: ospf fib reload and rtm_desync

2011-08-01 Thread Stuart Henderson
On 2011/07/29 14:33, Stuart Henderson wrote: > Here's a diff. Rather than reloading directly on receipt of > RTM_DESYNC it arms an evtimer so that it defers reloading until > 1sec after the last desync message. (Randomly chosen value and > might want to be larger, but it serves well as a demonstrat