[[patch]] /usr/src/regress/sys/ffs/ffs/Makefile

2021-11-26 Thread Edgar Pettijohn
Allow running as non-root via ${SUDO}. Thanks, Edgar Index: Makefile === RCS file: /cvs/src/regress/sys/ffs/ffs/Makefile,v retrieving revision 1.5 diff -u -p -u -r1.5 Makefile --- Makefile 16 Dec 2020 21:49:20 - 1.5

recv.2 patch

2021-05-01 Thread Edgar Pettijohn
slight wording change. it doesn't return these values it sets errno to these values... Index: recv.2 === RCS file: /cvs/src/lib/libc/sys/recv.2,v retrieving revision 1.47 diff -u -p -u -r1.47 recv.2 --- recv.2 11 Jan 2019 06:10:13

date.1 patch

2021-04-28 Thread Edgar Pettijohn
Slightly more consistent. Index: date.1 === RCS file: /cvs/src/bin/date/date.1,v retrieving revision 1.71 diff -u -p -u -r1.71 date.1 --- date.1 8 Aug 2019 02:17:51 - 1.71 +++ date.1 29 Apr 2021 00:19:36 - @@ -1

typo in 69.html

2021-04-10 Thread Edgar Pettijohn
numberous should be numerous Edgar --- 69.html.origSat Apr 10 18:53:49 2021 +++ 69.html Sat Apr 10 18:54:44 2021 @@ -855,7 +855,7 @@ interop problem with strongswan if make-before-break is enabled. -The https://man.openbsd.org/httpd.8";>httpd(8) w

Re: getopt.3 bugs section

2021-01-09 Thread edgar
On Jan 9, 2021 7:07 AM, Christian Weisgerber wrote: Edgar Pettijohn: > In the BUGS section for the getopt(3) manual it mentions not using > single digits for options. I know spamd uses -4 and -6 there are > probably others. Should they be changed? Or is the manual mistake

getopt.3 bugs section

2021-01-08 Thread Edgar Pettijohn
In the BUGS section for the getopt(3) manual it mentions not using single digits for options. I know spamd uses -4 and -6 there are probably others. Should they be changed? Or is the manual mistaken? Edgar

[patch] correct return type in pcap_open_live.3

2020-05-26 Thread Edgar Pettijohn
Please see attached diff. Index: pcap_open_live.3 === RCS file: /cvs/src/lib/libpcap/pcap_open_live.3,v retrieving revision 1.3 diff -u -p -u -r1.3 pcap_open_live.3 --- pcap_open_live.325 Sep 2019 17:02:00 - 1.3 +++ pcap_o

[patch] httpd remove unused struct

2020-05-23 Thread Edgar Pettijohn
Remove an unused struct from parse.y. Index: parse.y === RCS file: /cvs/src/usr.sbin/httpd/parse.y,v retrieving revision 1.114 diff -u -p -u -r1.114 parse.y --- parse.y 9 Feb 2020 09:44:04 - 1.114 +++ parse.y 24 May 2

[patch] smtpd add timeout to filter registration

2020-05-23 Thread Edgar Pettijohn
Following patch adds a timeout to filter registration. Its easy to have a filter fail to register due to buffering or just experimenting. With the timeout smtpd will die and let the user know why instead of remaining in an unresponsive state. Index: lka_filter.c

[patch] fuse_main.3 - fix example to compile without warnings and apply style changes

2020-05-23 Thread Edgar Pettijohn
Index: fuse_main.3 === RCS file: /cvs/src/lib/libfuse/fuse_main.3,v retrieving revision 1.6 diff -u -p -u -r1.6 fuse_main.3 --- fuse_main.3 28 Nov 2018 21:19:11 - 1.6 +++ fuse_main.3 23 May 2020 18:11:16 - @@ -56,39 +56,4

[patch] pkg_info -C doesn't show usage without pkg-name

2020-05-09 Thread Edgar Pettijohn
display usage() if pkg_info -C issued without package name provided Index: PkgInfo.pm === RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm,v retrieving revision 1.50 diff -u -p -u -r1.50 PkgInfo.pm --- PkgInfo.pm 19 Feb 2020 14:

[m...@umaxx.net: Re: [patch] add a timeout to filter registration]

2020-05-04 Thread Edgar Pettijohn
- Forwarded message from Joerg Jung - Date: Mon, 4 May 2020 13:39:09 +0200 From: Joerg Jung To: Edgar Pettijohn Cc: m...@opensmtpd.org Subject: Re: [patch] add a timeout to filter registration X-Mailer: Apple Mail (2.3608.60.0.2.5) > On 2. May 2020, at 17:41, Edgar Pettijohn wr

httpd parse.y patch

2019-09-13 Thread Edgar Pettijohn
Remove unused struct. Index: parse.y === RCS file: /cvs/src/usr.sbin/httpd/parse.y,v retrieving revision 1.113 diff -u -p -u -p -r1.113 parse.y --- parse.y 28 Jun 2019 13:32:47 - 1.113 +++ parse.y 13 Sep 2019 20:41:2

OpenBSD::Pledge documentation bug

2019-07-21 Thread Edgar Pettijohn
Please see attached diff. Thanks, Edgar Index: Pledge.pm === RCS file: /cvs/src/gnu/usr.bin/perl/cpan/OpenBSD-Pledge/lib/OpenBSD/Pledge.pm,v retrieving revision 1.3 diff -u -p -u -p -r1.3 Pledge.pm --- Pledge.pm 9 Sep 2017 14:53

Re: fuse_opt.3 patch

2018-11-30 Thread Edgar Pettijohn
Here is a diff to remove the dubious example and fix one gramatical issue. Index: fuse_opt.3 === RCS file: /cvs/src/lib/libfuse/fuse_opt.3,v retrieving revision 1.2 diff -u -p -u -r1.2 fuse_opt.3 --- fuse_opt.3 8 Jul 2018 06:17:10 -

fuse_opt.3 patch

2018-11-29 Thread Edgar Pettijohn
ng -o fuse fuse.c -lfuse /* I know creative */ $ mkdir /tmp/test $ doas ./fuse -d --n --s string /tmp/test config.string = string config.num = 1 fuse: bad mount point string : No such file or directory Thanks, Edgar

fuse_parse_cmd_line.3 patch

2018-11-27 Thread Edgar Pettijohn III
remove a bunch of `_' where there shouldn't be `_'s Index: fuse_parse_cmd_line.3 === RCS file: /cvs/src/lib/libfuse/fuse_parse_cmd_line.3,v retrieving revision 1.2 diff -u -p -u -r1.2 fuse_parse_cmd_line.3 --- fuse_parse_cmd_line.3  

Re: makemap.8 patch

2018-11-20 Thread Edgar Pettijohn
On Nov 20, 2018 9:15 AM, Gilles Chehade wrote: > > On Sun, Nov 18, 2018 at 08:32:47AM -0600, Edgar Pettijohn III wrote: > > Use new syntax. > > > > Sorry was on the road. > > Comment inl

makemap.8 patch

2018-11-18 Thread Edgar Pettijohn III
Use new syntax. Index: makemap.8 === RCS file: /cvs/src/usr.sbin/smtpd/makemap.8,v retrieving revision 1.29 diff -u -p -u -r1.29 makemap.8 --- makemap.8    13 Feb 2016 08:53:18 -    1.29 +++ makemap.8    18 Nov 2018 14:29:33 -0

s_client.c typo

2018-11-13 Thread Edgar Pettijohn III
Index: s_client.c === RCS file: /cvs/src/usr.bin/openssl/s_client.c,v retrieving revision 1.36 diff -u -p -u -r1.36 s_client.c --- s_client.c    11 Feb 2018 20:03:10 -    1.36 +++ s_client.c    14 Nov 2018 03:51:08 - @@ -891,7

Re: cron.c patch

2018-10-20 Thread Edgar Pettijohn III
On 10/20/18 6:40 PM, Philip Guenther wrote: On Sat, Oct 20, 2018 at 2:34 PM Edgar Pettijohn III mailto:ed...@pettijohn-web.com>> wrote: I'm guessing the if block will never hit since listen returns either 0 or -1. Uh, but -1 is true. Philip my bad. -1 just feels so untrue.

cron.c patch

2018-10-20 Thread Edgar Pettijohn III
I'm guessing the if block will never hit since listen returns either 0 or -1. Index: cron.c === RCS file: /cvs/src/usr.sbin/cron/cron.c,v retrieving revision 1.77 diff -u -p -u -r1.77 cron.c --- cron.c  23 Oct 2017 15:15:22 -0

libnv

2018-09-23 Thread Edgar Pettijohn III
Does OpenBSD have anything similar to FreeBSD's libnv? It looks interesting. Thanks, Edgar (please cc me)

Re: Fwd: [patch] ifconfig.c

2018-08-10 Thread Edgar Pettijohn III
On 08/10/18 03:09, Sebastian Benoit wrote: i know about the tab in ieee80211_listnodes() but your diffs are unreadable, please fix that. sorry about that. I blame thunderbird. Index: ifconfig.c === RCS file: /cvs/src/sbin/ifco

Fwd: [patch] ifconfig.c

2018-08-09 Thread Edgar Pettijohn III
('\n'); if (shownet80211chans)     ieee80211_listchans(); Forwarded Message Subject: [patch] ifconfig.c Date: Thu, 9 Aug 2018 18:20:47 -0500 From: Edgar Pettijohn III To: tech@openbsd.org I hate to assume, but I'm going to assume that

[patch] ifconfig.c

2018-08-09 Thread Edgar Pettijohn III
I hate to assume, but I'm going to assume that if one wants to scan for ap's for their wifi interface to connect to they don't care about anything else. I also removed what to me is one too many tabs. Index: ifconfig.c === RCS fil

[patch] RSA_new.3

2018-04-03 Thread Edgar Pettijohn
typo Index: RSA_new.3 === RCS file: /cvs/src/lib/libcrypto/man/RSA_new.3,v retrieving revision 1.4 diff -u -p -u -r1.4 RSA_new.3 --- RSA_new.3    11 Dec 2016 12:52:28 -    1.4 +++ RSA_new.3    3 Apr 2018 21:12:13 - @@ -93,7 +

Re: arc4random unexpected results

2018-03-24 Thread Edgar Pettijohn
On 03/24/18 21:27, Mike Burns wrote: On 2018-03-24 21.05.56 -0500, Edgar Pettijohn wrote: #include #include #include int main(void) { uint32_t n = arc4random(); printf("arc4random %d\n", n); printf("abs %d\n", abs(n)); return 0; } Which is well

arc4random unexpected results

2018-03-24 Thread Edgar Pettijohn
if not I need to know that my random number is positive. I also tried if (n < 0) etc.. and got similar warnings. Thanks in advance, Edgar

[patch] INSTALL.octeon

2018-03-11 Thread Edgar Pettijohn
typo fix --- INSTALL.octeon.origSun Mar 11 12:31:45 2018 +++ INSTALL.octeonSun Mar 11 12:31:55 2018 @@ -252,7 +252,7 @@ --- By default octeon systems are shipped with a Linux (or proprietary) system -installated on the CompactFlash card or U

Re: [patch] spamd-setup.c

2018-03-07 Thread Edgar Pettijohn
On 03/07/18 18:55, William Ahern wrote: On Wed, Mar 07, 2018 at 05:17:59PM -0600, Edgar Pettijohn wrote: This looks like a good place for reallocarray. Yes? Index: spamd-setup.c === RCS file: /cvs/src/libexec/spamd-setup/spamd

[patch] spamd-setup.c

2018-03-07 Thread Edgar Pettijohn
This looks like a good place for reallocarray. Yes? Index: spamd-setup.c === RCS file: /cvs/src/libexec/spamd-setup/spamd-setup.c,v retrieving revision 1.50 diff -u -p -u -r1.50 spamd-setup.c --- spamd-setup.c7 Jul 2017 00:10:15

[patch] sigaction.2 fix spacing

2018-02-26 Thread Edgar Pettijohn
Index: sigaction.2 === RCS file: /cvs/src/lib/libc/sys/sigaction.2,v retrieving revision 1.74 diff -u -p -u -r1.74 sigaction.2 --- sigaction.229 May 2017 11:13:09 -1.74 +++ sigaction.227 Feb 2018 02:15:43 - @@ -49,

Libressl question

2018-02-12 Thread edgar
well it is written as far as the code involved, but also the quality of the manuals. I only had one hickup and if I can think of a way to word it better I'll send a patch for that manual. Thanks, Edgar

typo s_client.c

2018-02-11 Thread Edgar Pettijohn
Index: s_client.c === RCS file: /cvs/src/usr.bin/openssl/s_client.c,v retrieving revision 1.33 diff -u -p -u -r1.33 s_client.c --- s_client.c12 Aug 2017 21:04:33 -1.33 +++ s_client.c11 Feb 2018 16:30:47 - @@ -859,7

[patch] starttls.8

2018-02-10 Thread Edgar Pettijohn
Remove `sendmail' ism's from starttls.8 --- /usr/share/man/man8/starttls.8Tue Oct 3 22:13:42 2017 +++ starttls.8Sat Feb 10 15:57:06 2018 @@ -102,17 +102,6 @@ .Pp .Dl # openssl x509 -in /etc/ssl/mail.example.com.crt -text .Pp -If you don't intend to use TLS for authentication (and if

Re: patterns.c question or possible bug

2018-01-30 Thread edgar
On Jan 30, 2018 12:05 AM, Ori Bernstein wrote: > > On Mon, 29 Jan 2018 23:23:18 -0600, Edgar Pettijohn > wrote: > > > I'm trying to use patterns.c for some pattern matching. The manual > > mentions captures using "()" around what you want to capture. 

patterns.c question or possible bug

2018-01-29 Thread Edgar Pettijohn
(errstr != NULL) printf("%s\n", errstr); else printf("number of matches %d\n", match.sm_nmatch); return 0; } It prints 2 which I was expecting 3. I've tried multiple other patterns and it seems the answer is always 2. Which leads me to believe I'm doing something wrong. Any assistance appreciated. Thanks, Edgar

typo hcreate.3

2018-01-29 Thread Edgar Pettijohn
Index: hcreate.3 == RCS file: /cvs/src/lib/libc/stdlib/hcreate.3,v retrieving revision 1.7 diff -u -p -u -r1.7 hcreate.3 --- hcreate.3 12 Mar 2016 21:31:22 - 1.7 +++ hcreate.3 29 Jan 2018 23:45:08 - @@ -78,7 +78,7 @@ the

update sendbug

2017-12-27 Thread Edgar Pettijohn
update hardware for sendbug or it could just be removed I think since the Environment: section will show what your using. So here are two patches for each. Index: sendbug.c === RCS file: /cvs/src/usr.bin/sendbug/sendbug.c,v retrieving

fc-list.1 bug

2017-12-22 Thread Edgar Pettijohn
$ diff -u fc-list.1.orig fc-list.1 --- fc-list.1.orig Fri Dec 22 18:47:19 2017 +++ fc-list.1 Fri Dec 22 18:54:24 2017 @@ -69,7 +69,7 @@ \fBfc-scan\fR(1) .PP The fontconfig user's guide, in HTML format: -\fI/usr/share/doc/fontconfi

ocspcheck.c patch

2017-12-20 Thread Edgar Pettijohn
poll.h doesn't appear to be needed Index: ocspcheck.c === RCS file: /cvs/src/usr.sbin/ocspcheck/ocspcheck.c,v retrieving revision 1.21 diff -u -p -u -r1.21 ocspcheck.c --- ocspcheck.c 8 May 2017 20:15:34 - 1.21 +++ ocspcheck

faq14.html minor patch

2017-12-12 Thread Edgar Pettijohn
$ diff -u faq14.html faq14.html.orig --- faq14.html Tue Dec 12 21:50:14 2017 +++ faq14.html.orig Tue Dec 12 21:50:03 2017 @@ -391,7 +391,7 @@ Here is an example /etc/fstab

sshd_config.5.patch

2017-11-30 Thread Edgar Pettijohn
While playing with sftp-server I noticed that sshd_config.5 claims there are no Subsystems enabled by default. I could be wrong, but my sshd_config had sftp-server enabled by default. --- sshd_config.5.orig Thu Nov 30 20:50:17 2017 +++ sshd_config.5 Thu Nov 30 20:53:25 2017 @@ -1416,8 +1416

perlreftut.1.patch

2017-11-29 Thread Edgar Pettijohn
--- perlreftut.1.orig Wed Nov 29 18:45:45 2017 +++ perlreftut.1Wed Nov 29 18:51:52 2017 @@ -140,11 +140,11 @@ reference that you're already familiar with. Think of the President of the United States: a messy, inconvenient bag of blood and bones. But to talk about him, or to represent

README patch

2017-11-08 Thread Edgar Pettijohn
EADME.orig 2017-11-08 20:11:47.091955000 -0600 +++ README 2017-11-08 20:12:19.787639000 -0600 @@ -49,8 +49,8 @@ No major funding or cost-sharing of the project comes from any company or educational institution. Theo works full-time on improving OpenBSD -and paying bills, many other develop

Re: dig(1) doesn't play well with rebound(8)

2017-06-29 Thread Edgar Pettijohn
gst wrote: >> Edgar Pettijohn wrote: >> > This may not be the best way to handle this, but it was the first >fix to >> > come to mind. Not sure where to put this in the manual or if its >even >> > worth documenting. Thoughts? >> >> I think this is a b

dhcp-options(5) conflict with dhcpd.conf(5)

2017-06-26 Thread Edgar Pettijohn
must resolve to a single IP address. Does anyone know which is correct? Must it resolve to a single IP address or not? Thanks, Edgar

Re: [patch] dhcpd.h

2017-06-26 Thread Edgar Pettijohn
#define OPTION_SPACE(x)((x) + 2 * ((x) / 255 + 1)) - + * length) for every 255 bytes that must be stored. */ #define _PATH_DHCPD_CONF"/etc/dhcpd.conf" #define _PATH_DHCPD_DB"/var/db/dhcpd.leases" #define _PATH_DEV_PF"/dev/pf" On 06/25/17 1

[patch] dispatch.c

2017-06-25 Thread Edgar Pettijohn
Move initialization out of if/else block, unruly space, and memset struct beforehand. Index: dispatch.c === RCS file: /cvs/src/usr.sbin/dhcpd/dispatch.c,v retrieving revision 1.43 diff -u -p -u -r1.43 dispatch.c --- dispatch.c1

[patch] dhcpd.h

2017-06-25 Thread Edgar Pettijohn
Remove unused structs and line up some comments. Index: dhcpd.h === RCS file: /cvs/src/usr.sbin/dhcpd/dhcpd.h,v retrieving revision 1.64 diff -u -p -u -r1.64 dhcpd.h --- dhcpd.h24 Apr 2017 14:58:36 -1.64 +++ dhcpd.h2

Re: [patch] typo smtpd/dns.c

2017-05-31 Thread Edgar Pettijohn
Will do. I just don't trust Thunderbird not to mess them up. ⁣Sent from BlueMail ​ On May 31, 2017, 3:01 AM, at 3:01 AM, Gilles Chehade wrote: >On Tue, May 30, 2017 at 05:26:08PM -0500, Edgar Pettijohn wrote: >> fix typo > >thanks, will commit > >when sending diffs,

Re: [patch] rebound.c

2017-05-31 Thread Edgar Pettijohn
Will do. Seems like Thunderbird messes then up sometimes. ⁣Sent from BlueMail ​ On May 31, 2017, 2:14 AM, at 2:14 AM, Ted Unangst wrote: >Edgar Pettijohn wrote: >> Be more consistent with logerr usage. >> > >sure, thanks. can you send future diffs inline please? easier than >attachments.

[patch] rebound.c

2017-05-30 Thread Edgar Pettijohn
Be more consistent with logerr usage. Index: rebound.c === RCS file: /cvs/src/usr.sbin/rebound/rebound.c,v retrieving revision 1.83 diff -u -p -u -r1.83 rebound.c --- rebound.c 27 Apr 2017 16:09:32 - 1.83 +++ rebound.c 31 May 201

[patch] typo smtpd/dns.c

2017-05-30 Thread Edgar Pettijohn
fix typo Index: dns.c === RCS file: /cvs/src/usr.sbin/smtpd/dns.c,v retrieving revision 1.83 diff -u -p -u -r1.83 dns.c --- dns.c 28 Oct 2015 07:28:13 - 1.83 +++ dns.c 30 May 2017 22:09:15 - @@ -246,7 +246,7 @@ dns_imsg(struct

Re: dig(1) doesn't play well with rebound(8)

2017-05-26 Thread Edgar Pettijohn
Sounds good to me. Just started using rebound and thought it would be good to use dig to prepopulate the cache. Also noticed host(1) has the same problem but was waiting for a response to dig first. Edgar ⁣Sent from BlueMail ​ On May 26, 2017, 7:34 AM, at 7:34 AM, Ted Unangst wrote: >Ed

Re: dig(1) doesn't play well with rebound(8)

2017-05-21 Thread Edgar Pettijohn
On 05/21/17 15:12, Edgar Pettijohn wrote: On 05/21/17 14:53, Edgar Pettijohn wrote: This may not be the best way to handle this, but it was the first fix to come to mind. Not sure where to put this in the manual or if its even worth documenting. Thoughts? Thanks, Edgar Well it worked

Re: dig(1) doesn't play well with rebound(8)

2017-05-21 Thread Edgar Pettijohn
On 05/21/17 14:53, Edgar Pettijohn wrote: This may not be the best way to handle this, but it was the first fix to come to mind. Not sure where to put this in the manual or if its even worth documenting. Thoughts? Thanks, Edgar Well it worked when invoked as /usr/src/usr.sbin/bind/bin

dig(1) doesn't play well with rebound(8)

2017-05-21 Thread Edgar Pettijohn
This may not be the best way to handle this, but it was the first fix to come to mind. Not sure where to put this in the manual or if its even worth documenting. Thoughts? Thanks, Edgar Index: dig.c === RCS file: /cvs/src

mail.file.c patch

2017-04-24 Thread Edgar Pettijohn
Not sure if this was intentional or not, but here is a patch to remove a "damned if you do, damned if you don't" situation. Thanks, Edgar Index: mail.file.c === RCS file: /cvs/src/usr.sbin/smtpd/mail.file

hotplugd feature request

2017-04-23 Thread Edgar Pettijohn
hical programs. Thanks, Edgar

spamd.c patch

2017-04-06 Thread Edgar Pettijohn
Use errx() instead of fprintf() like the rest of the options. Originally noticed because of the missing '\' for the newline. Index: spamd.c === RCS file: /cvs/src/libexec/spamd/spamd.c,v retrieving revision 1.150 diff -u -p -u -r1.

identd.c patch

2017-04-05 Thread Edgar Pettijohn
Remove unused function getport() Index: identd.c === RCS file: /cvs/src/usr.sbin/identd/identd.c,v retrieving revision 1.34 diff -u -p -u -r1.34 identd.c --- identd.c4 Sep 2016 14:39:32 - 1.34 +++ identd.c5 Apr 201

Re: usermod.8 patch

2017-03-31 Thread Edgar Pettijohn
Sent from my iPhone > On Mar 31, 2017, at 8:44 AM, Matthew Martin wrote: > >> On Fri, Mar 31, 2017 at 08:03:44AM -0500, Edgar Pettijohn wrote: >> usermod(8) doesn't have an option for setting defaults. Here is a patch to >> correct the manual. > >

usermod.8 patch

2017-03-31 Thread Edgar Pettijohn
usermod(8) doesn't have an option for setting defaults. Here is a patch to correct the manual. Index: usermod.8 === RCS file: /cvs/src/usr.sbin/user/usermod.8,v retrieving revision 1.35 diff -u -p -u -r1.35 usermod.8 --- usermod.8

faq6.html patch

2017-03-29 Thread Edgar Pettijohn
I noticed this a few months ago, but forgot to send it. Index: faq6.html === RCS file: /cvs/www/faq/faq6.html,v retrieving revision 1.435 diff -u -p -u -r1.435 faq6.html --- faq6.html 25 Mar 2017 19:07:05 - 1.435 +++ faq6

Re: util.c patch res_comp.c patch

2016-09-26 Thread Edgar Pettijohn
On 16-09-26 21:42:09, Peter Hessler wrote: > On 2016 Sep 26 (Mon) at 14:31:04 -0500 (-0500), Edgar Pettijohn wrote: > :On 16-09-26 09:26:04, Gilles Chehade wrote: > :> On Sun, Sep 25, 2016 at 11:20:39AM -0500, Edgar Pettijohn wrote: > :> > In my testing it did not,

Re: util.c patch res_comp.c patch

2016-09-26 Thread Edgar Pettijohn
On 16-09-26 09:26:04, Gilles Chehade wrote: > On Sun, Sep 25, 2016 at 11:20:39AM -0500, Edgar Pettijohn wrote: > > In my testing it did not, but I could be wrong. > > > > On 16-09-25 17:56:42, Eric Faurot wrote: > > > On Sat, Sep 24, 2016 at 08:42:25P

Re: confpars.c patch

2016-08-02 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 2, 2016, at 7:00 AM, Jeremie Courreges-Anglas wrote: > > Edgar Pettijohn writes: > >> I'm not sure if this was intentional or not, but here is a small diff >> for usr.sbin/dhcpd/confpars.c. > > K&R vs ANSI function

confpars.c patch

2016-08-01 Thread Edgar Pettijohn
I'm not sure if this was intentional or not, but here is a small diff for usr.sbin/dhcpd/confpars.c. -- Edgar Pettijohn Index: confpars.c === RCS file: /cvs/src/usr.sbin/dhcpd/confpars.c,v retrieving revision 1.26 diff -u

Re: jot(1) changed behavior

2016-07-14 Thread Edgar Pettijohn
r jot's man page is > going to be fixed but I'd advocate for reverting to the previous > behavior to preserve the semantics of scripts that rely on it. > > Cheers, > > Philippe > Try this patch. I don't use jot, but in my simple testing I think this is wha

[patch] daemon.3

2016-05-17 Thread Edgar Pettijohn
The wording made it hard for me to understand at first. The "unless" "non-zero" seem like double negatives. Index: daemon.3 === RCS file: /cvs/src/lib/libc/gen/daemon.3,v retrieving revision 1.12 diff -u -p -u -r1.12 daemon.3 ---

Re: Is loss of read-only /usr permanent?

2016-05-13 Thread Edgar Pettijohn
Sent from my iPhone > On May 13, 2016, at 4:16 PM, RD Thrush wrote: > > On 05/13/16 11:07, Theo de Raadt wrote: >>> Since the anti-ROP mechanism in libc [2] was added in late April, -current >>> with read-only /usr produces something like the following message: >>> re-ordering libraries:insta

Re: xclock patch

2016-05-07 Thread Edgar Pettijohn
Sent from my iPhone > On May 7, 2016, at 8:03 AM, Sebastien Marie wrote: > > On Sat, May 07, 2016 at 06:48:58AM -0500, Edgar Pettijohn wrote: >>> >>> else, if it isn't in xclock code, it could be a open(2) call in some >>> X11R6 library. >>

Re: xclock patch

2016-05-07 Thread Edgar Pettijohn
Sent from my iPhone > On May 6, 2016, at 11:49 PM, Sebastien Marie wrote: > > On Fri, May 06, 2016 at 01:29:11PM -0500, Edgar Pettijohn wrote: >>> On May 6, 2016, at 12:13 PM, Matthieu Herrb wrote: >>> >>>> On Tue, May 03, 2016 at 11:40:31AM -0500, E

Re: xclock patch

2016-05-06 Thread Edgar Pettijohn
Sent from my iPhone > On May 6, 2016, at 12:13 PM, Matthieu Herrb wrote: > >> On Tue, May 03, 2016 at 11:40:31AM -0500, Edgar Pettijohn wrote: >> I'll look at it this evening. > > Ping... > Sorry. I tried to get it to reproduce and couldn't. Looke

Re: xclock patch

2016-05-03 Thread Edgar Pettijohn
I'll look at it this evening. Sent from my iPhone > On May 3, 2016, at 9:40 AM, Sebastien Marie wrote: > >> On Mon, May 02, 2016 at 05:39:36PM -0500, Edgar Pettijohn wrote: >> I saw this in /var/log/messages >> >> May 2 17:19:07 thinkpad /bsd: xclock(81091

xclock patch

2016-05-02 Thread Edgar Pettijohn
I saw this in /var/log/messages May 2 17:19:07 thinkpad /bsd: xclock(81091): syscall 5 "rpath" Does it mean xclock needs rpath? If so here you go. Index: xclock.c === RCS file: /cvs/xenocara/app/xclock/xclock.c,v retrieving revis

Re: dc patch

2016-04-21 Thread Edgar Pettijohn
nevermind just found the elusive "q" On 04/21/16 22:10, Edgar Pettijohn wrote: While playing with dc discovered you can't control-c to get out. Probably not the best way, but here goes. Index: dc.c === RCS file: /

dc patch

2016-04-21 Thread Edgar Pettijohn
While playing with dc discovered you can't control-c to get out. Probably not the best way, but here goes. Index: dc.c === RCS file: /cvs/src/usr.bin/dc/dc.c,v retrieving revision 1.17 diff -u -p -u -r1.17 dc.c --- dc.c3 Nov 201

hoststat & purgestat

2016-04-18 Thread Edgar Pettijohn
I noticed these stragglers today and assumed I missed a step in an upgrade then realized this laptop never had anything older than 5.8. Index: upgrade57.html === RCS file: /cvs/www/faq/upgrade57.html,v retrieving revision 1.15 diff

Re: tcpdump man page

2016-04-09 Thread Edgar Pettijohn
On 04/09/16 21:51, Ted Unangst wrote: Edgar Pettijohn wrote: The -i flag doesn't appear to do what the man page suggests. Correcting the source is above my paygrade, but the man page isn't. hmm? what do you think tcpdump does if -i isn't specified? totally misread. though

tcpdump man page

2016-04-09 Thread Edgar Pettijohn
The -i flag doesn't appear to do what the man page suggests. Correcting the source is above my paygrade, but the man page isn't. Index: tcpdump.8 === RCS file: /cvs/src/usr.sbin/tcpdump/tcpdump.8,v retrieving revision 1.88 diff -u -

stty header cleanup

2016-03-19 Thread Edgar Pettijohn
Index: cchar.c === RCS file: /cvs/src/bin/stty/cchar.c,v retrieving revision 1.11 diff -u -p -u -r1.11 cchar.c --- cchar.c27 Oct 2009 23:59:22 -1.11 +++ cchar.c16 Mar 2016 23:53:58 - @@ -30,6 +30,7 @@ * SUCH DAMA

cron funcs.h patch

2016-03-19 Thread Edgar Pettijohn
I guess I could have organized alphabetically. Still can if preferred. Index: funcs.h === RCS file: /cvs/src/usr.sbin/cron/funcs.h,v retrieving revision 1.28 diff -u -p -u -r1.28 funcs.h --- funcs.h14 Nov 2015 13:09:14 -

csh header cleanup

2016-03-19 Thread Edgar Pettijohn
Index: alloc.c === RCS file: /cvs/src/bin/csh/alloc.c,v retrieving revision 1.17 diff -u -p -u -r1.17 alloc.c --- alloc.c26 Dec 2015 13:48:38 -1.17 +++ alloc.c16 Mar 2016 22:47:56 - @@ -30,12 +30,18 @@ * SUCH DAM

ed header cleanup

2016-03-19 Thread Edgar Pettijohn
Index: buf.c === RCS file: /cvs/src/bin/ed/buf.c,v retrieving revision 1.22 diff -u -p -u -r1.22 buf.c --- buf.c9 Oct 2015 19:47:02 -1.22 +++ buf.c16 Mar 2016 23:23:53 - @@ -30,6 +30,15 @@ */ #include +#includ

battlestar include patch

2016-03-13 Thread Edgar Pettijohn
Index: dayfile.c === RCS file: /cvs/src/games/battlestar/dayfile.c,v retrieving revision 1.12 diff -u -p -u -r1.12 dayfile.c --- dayfile.c22 Nov 2009 09:16:02 -1.12 +++ dayfile.c13 Mar 2016 16:13:48 - @@ -30,6 +30,

backgammon include patch

2016-03-13 Thread Edgar Pettijohn
i'm really surprised that this saved 20s in build time. i guess its worthwhile. Index: backgammon/extra.c === RCS file: /cvs/src/games/backgammon/backgammon/extra.c,v retrieving revision 1.8 diff -u -p -u -r1.8 extra.c --- backgamm

adventure patch

2016-03-12 Thread Edgar Pettijohn
Tried to start this project last week, but kept f'ing it up. Index: src/games/adventure/crc.c === RCS file: /cvs/src/games/adventure/crc.c,v retrieving revision 1.7 diff -u -p -u -r1.7 crc.c --- src/games/adventure/crc.c27 Oct 20

Re: /usr/games/adventure include clean up

2016-03-06 Thread Edgar Pettijohn
hould be first and separate. See style(9). Edgar Pettijohn wrote: --- crc.c.origSun Mar 6 10:31:34 2016 +++ crc.cSun Mar 6 10:31:55 2016 @@ -33,6 +33,7 @@ * SUCH DAMAGE. */ +#include #include "extern.h" unsigned long crctab[] = { --- done.c.origSun Mar 6 10

Re: rdist.c patch

2016-03-06 Thread Edgar Pettijohn
On 03/06/16 00:12, Philip Guenther wrote: On Sun, Feb 28, 2016 at 1:35 PM, Edgar Pettijohn wrote: --- rdist.c.origSun Feb 28 15:29:27 2016 +++ rdist.cSun Feb 28 15:32:06 2016 @@ -57,8 +57,7 @@ char *path_remsh = NULL; static void addhostlist(char *, struct namelist

/usr/games/adventure include clean up

2016-03-06 Thread Edgar Pettijohn
--- crc.c.origSun Mar 6 10:31:34 2016 +++ crc.cSun Mar 6 10:31:55 2016 @@ -33,6 +33,7 @@ * SUCH DAMAGE. */ +#include #include "extern.h" unsigned long crctab[] = { --- done.c.origSun Mar 6 10:40:59 2016 +++ done.cSun Mar 6 10:42:25 2016 @@ -37,8 +37,10 @@ /*Re-co

rdist.c patch

2016-02-28 Thread Edgar Pettijohn
--- rdist.c.origSun Feb 28 15:29:27 2016 +++ rdist.cSun Feb 28 15:32:06 2016 @@ -57,8 +57,7 @@ char *path_remsh = NULL; static void addhostlist(char *, struct namelist **); -static void usage(void); -int main(int, char **, char **); +__dead void usage(void); /* * Add a hos

rdist.1 patch

2016-02-22 Thread Edgar Pettijohn
--- rdist.1.origMon Feb 22 18:48:45 2016 +++ rdist.1Mon Feb 22 18:49:29 2016 @@ -117,7 +117,7 @@ .Pp Otherwise, .Nm -run will run the command: +will run the command: .Bd -literal -offset indent ssh \*(Lthost\*(Gt -l \*(Ltlogin_name\*(Gt rdistd -S .Ed

Re: pkg_add.1

2016-02-08 Thread Edgar Pettijohn
Sent from my iPhone > On Feb 8, 2016, at 12:28 PM, Marc Espie wrote: > >> On Sun, Feb 07, 2016 at 09:42:32AM -0600, joshua stein wrote: >> We don't recommend FTP mirrors anymore, installing a package via a >> pipe doesn't seem to work anymore, and packages have to be signed to >> be installed

dhclient.c patch

2016-02-04 Thread Edgar Pettijohn
--- dhclient.c.origThu Feb 4 17:57:41 2016 +++ dhclient.cThu Feb 4 17:57:55 2016 @@ -57,7 +57,6 @@ #include "privsep.h" #include -#include #include #include is brought in through dhcpd.h

whitespace patch rm.c

2016-01-27 Thread Edgar Pettijohn
Index: rm.c === RCS file: /cvs/src/bin/rm/rm.c,v retrieving revision 1.35 diff -u -p -u -r1.35 rm.c --- rm.c17 Nov 2015 17:17:24 -1.35 +++ rm.c27 Jan 2016 23:20:05 - @@ -399,7 +399,7 @@ checkdot(char **argv) c

Re: httpd: patch to close TLS sockets that,fail before TLS handshake

2015-08-27 Thread Edgar Pettijohn
Good enough for me. Thanks On 08/27/15 08:42, Joel Sing wrote: On Tuesday 25 August 2015 19:19:58 Edgar Pettijohn wrote: I was curious if this issue is fixed in -current or if there is going to be a patch available on the errata page? Yes, this is fixed in -current (and will be in 5.8) - see

Re: httpd: patch to close TLS sockets that,fail before TLS handshake

2015-08-25 Thread Edgar Pettijohn
I was curious if this issue is fixed in -current or if there is going to be a patch available on the errata page? Thanks Edgar

  1   2   >