New Title Ideas For Your Next Post-Your Readers Are Gonna Love This

2014-12-24 Thread Cody Watson
Hi, My name is Cody and I manage foxfans.com. My site draws about 100,000 readers/month and I would like to grow it by reaching out to more bloggers. I was impressed by your site and just felt it would be nice if we could connect in some way and help each other out. I can submit quality conte

[PATCH]: smtpd makemap, remove superfluous fparseln delimiters.

2014-12-24 Thread Remco
This program uses fparseln's default delimiters, which can be replaced by NULL. WARNING: I only compiled with this patch applied, I didn't actually run the resulting binary. Index: makemap.c === RCS file: /cvs/src/usr.sbin/smtpd/ma

[PATCH]: fnmatch regress test, remove superfluous lines.

2014-12-24 Thread Remco
This patch depends on the "fparseln, make the '\0' character not-escapable." patch and was tested with that patch applied. With that patch applied the fparseln skips comments and therefore there's no need to do it separately in this program. Index: fnm_test.c ===

[PATCH]: fparseln, make the '\0' character not-escapable.

2014-12-24 Thread Remco
Using the fparseln function I wanted to disable the escape character (delim[0]). In my mind the '\0' character isn't really part of a C-string and could possibly be used for this purpose so I chose to set delim[0] to '\0', like: static const char delim[3] = { '\0', '\\', '#' }; ... line = fpars

[PATCH]: fparseln, remove nl variable.

2014-12-24 Thread Remco
Index: fparseln.c === RCS file: /cvs/src/lib/libutil/fparseln.c,v retrieving revision 1.7 diff -u -p -u -r1.7 fparseln.c --- fparseln.c 5 Dec 2012 23:20:06 - 1.7 +++ fparseln.c 24 Dec 2014 10:14:23 - @@ -71,7 +71,7 @@ f

Re: httpd: redirect to https, or www, or non-www

2014-12-24 Thread Stuart Henderson
On 2014/12/24 05:38, Anthony J. Bentley wrote: > > There's not really any good way to prevent the case of "the first time > user accesses example.com is by typing example.com instead of > https://example.com into the address bar." Firefox and Chrome attempt to > solve this with a preloaded list of

Re: [PATCH] update zlib to 1.2.8

2014-12-24 Thread Timo Myyrä
Marc Espie writes: > Updating zlib correctly is surprisingly difficult. > > It's not just a question of whipping out the new version and doing a diff. > You should make tests. > > Like, you missed the #ifdef SMALL at first. Those tests include making a > full release, and making sure it still wor

Re: [PATCH] update zlib to 1.2.8

2014-12-24 Thread Timo Myyrä
Stuart Henderson writes: > On 2014/12/23 22:54, Timo Myyrä wrote: >> I was trying to port notmuch mail indexer but got little stuck with it as it >> requires newer Zlib version than whats in base. I got little spare time in >> my >> hands and here's a rough patch which updates the base libz 1.2

[patch]sudo: punctuation fixes

2014-12-24 Thread Fritjof Bornebusch
Hi tech@, looks like there are some missing periods regarding the sudo "wrong password" messages. fritjof Index: ins_csops.h === RCS file: /cvs/src/usr.bin/sudo/ins_csops.h,v retrieving revision 1.5 diff -u -p -r1.5 ins_csops.h ---

Re: httpd: redirect to https, or www, or non-www

2014-12-24 Thread Anthony J. Bentley
Stuart Henderson writes: > > My plan was to propose a way to set the HSTS header if this proposal was > > well received, since there isn't much point having a built-in way to set > > the header if you're still having to use FCGI anyway to do the > > redirects. > > I think there is still point in t

Re: httpd: redirect to https, or www, or non-www

2014-12-24 Thread Stuart Henderson
On 2014/12/25 01:10, Carlin Bingham wrote: > On Wed, 24 Dec 2014, at 11:03 PM, Stuart Henderson wrote: > > On 2014/12/24 06:44, Carlin Bingham wrote: > > > ngninx and apache support url rewriting, letting you redirect from > > > arbitrary urls with pattern matching. In my experience the primary > >

Re: httpd: redirect to https, or www, or non-www

2014-12-24 Thread Carlin Bingham
On Wed, 24 Dec 2014, at 11:03 PM, Stuart Henderson wrote: > On 2014/12/24 06:44, Carlin Bingham wrote: > > ngninx and apache support url rewriting, letting you redirect from > > arbitrary urls with pattern matching. In my experience the primary > > uses for this are to redirect from http to https o

Re: [PATCH] update zlib to 1.2.8

2014-12-24 Thread Marc Espie
Updating zlib correctly is surprisingly difficult. It's not just a question of whipping out the new version and doing a diff. You should make tests. Like, you missed the #ifdef SMALL at first. Those tests include making a full release, and making sure it still works. It's also likely some of tho

Re: httpd: redirect to https, or www, or non-www

2014-12-24 Thread Stuart Henderson
On 2014/12/24 06:44, Carlin Bingham wrote: > ngninx and apache support url rewriting, letting you redirect from > arbitrary urls with pattern matching. In my experience the primary > uses for this are to redirect from http to https or to remove/add www > in the hostname, so I thought it might be us

Re: [PATCH] update zlib to 1.2.8

2014-12-24 Thread Stuart Henderson
On 2014/12/23 22:54, Timo Myyrä wrote: > I was trying to port notmuch mail indexer but got little stuck with it as it > requires newer Zlib version than whats in base. I got little spare time in my > hands and here's a rough patch which updates the base libz 1.2.3 to version > 1.2.8. So > far I'