Replacing "err(1, (char *)NULL);" with "err(1, NULL);" in style(9) manpage

2012-10-31 Thread Rafael
Hi tech@, The diff below replaces "err(1, (char *)NULL);" with "err(1, NULL);" on usage example of error functions in style(9) manpage. The casting seems to be a leftover from the changes from revision 1.38 to 1.39. Before 1.39 the text stated that "Use NULL instead of (type\ *)0 or (type\ *)NULL

Re: [PATCH] cwmrc.5: rename autogroup parameter

2012-10-31 Thread Okan Demirmen
On Tue 2012.10.30 at 00:21 -0500, Kent R. Spillner wrote: > Hey, dude- > > On Sun, Oct 28, 2012 at 04:14:07PM -0400, Okan Demirmen wrote: > > A slightly altered version of your diff was applied -thanks! > > Cool, thanks! > > I noticed you and jmc@ removed the .Xr XClassHint 3 pointer. > What do

Re: cwm reload support

2012-10-31 Thread Kent R. Spillner
Hey, dude- > This looks really ugly to me. Save argv[] approach below. That's much nicer. I'm running with your diff here; no regressions. Thanks again! Best, Kent

Re: cwm reload support

2012-10-31 Thread Okan Demirmen
On Wed 2012.10.31 at 20:40 +0400, Alexander Polakov wrote: > * Kent R. Spillner [121031 01:20]: > > Howdy- > > > > > > > It seems people do really use that. How about this diff? > > > > > In short: do u_exec("cwm") in conf_reload(). This should probably be > > > > > u_exec(somewhere-argv0-is-save

Re: cwm reload support

2012-10-31 Thread Alexander Polakov
* Kent R. Spillner [121031 01:20]: > Howdy- > > > > > It seems people do really use that. How about this diff? > > > > In short: do u_exec("cwm") in conf_reload(). This should probably be > > > > u_exec(somewhere-argv0-is-saved). > > > > > > or use __progname ; also rename from 'reload' to 'rest

Re: cwm reload support

2012-10-31 Thread Todd T. Fries
I for one will not. Re-exec is simple enough, why maintain two codepaths when only one is regularly used? ok todd@ Thanks, Penned by Okan Demirmen on 20121029 18:32.16, we have: | will anyone miss reload support? one can always re-exec cwm, or any | other wm for a matter of fact. | | Index: c