Page MenuHomeFreeBSD

gad (Garance A Drosehn)
User

Projects

User Details

User Since
Jun 17 2015, 1:02 AM (461 w, 3 d)

Recent Activity

Sep 23 2023

gad committed rGca927128bf6a: When parsing a rule to rotate log files on a specific week day, (authored by gad).
When parsing a rule to rotate log files on a specific week day,
Sep 23 2023, 9:09 PM

Apr 14 2022

gad added a comment to D34901: lpr: remove a.out binary detection.

And just as a historical note, this *used* to be very helpful, because we'd have students working on some c-based homework assignment, and they'd cd into the directory holding all the source code and then type lpr * to print the source code .... and the executables produced by that source code.

Apr 14 2022, 5:19 AM
gad accepted D34901: lpr: remove a.out binary detection.

The basic goal of refusing to print files which will be a problem on the printer is still a valuable one, but this specific and ancient check is serving no purpose. It's fine with me to remove it.

Apr 14 2022, 5:16 AM

Dec 30 2021

gad committed rGb7b447fd4ca3: When parsing a rule to rotate log files on a specific week day, (authored by gad).
When parsing a rule to rotate log files on a specific week day,
Dec 30 2021, 9:04 PM

Dec 29 2021

gad accepted D33687: newsyslog: Wrap months when parsing 'W' rules, diff #2.

I've already done detailed testing of this, both before and after applying the update. The problem reported did definitely exist before this change, and it's definitely fixed after applying this update. I only tested it on amd64, but it'd be pretty bizarre if this worked on amd64 and didn't work on some other HW.

Dec 29 2021, 2:30 AM
gad abandoned D9637: Fix a memory leak with the variable logfname.

The problem is fixed by this revision was already fixed back in Jul 28 16:02:30 2016.

Dec 29 2021, 2:27 AM
gad commandeered D9637: Fix a memory leak with the variable logfname.

Let's see if I can finally figure out how to close this review-request (after almost 3 years...)

Dec 29 2021, 2:26 AM
gad added a comment to D33666: newsyslog: Wrap months when parsing 'W' rules..

Well, I created a new review-entry, D33687

Dec 29 2021, 2:23 AM
gad requested review of D33687: newsyslog: Wrap months when parsing 'W' rules, diff #2.
Dec 29 2021, 2:21 AM
gad added a comment to D33666: newsyslog: Wrap months when parsing 'W' rules..
In D33666#761239, @imp wrote:

Isn't there a routine to normalize the tm so that all the edge cases are neatly taken care of?

Dec 29 2021, 1:45 AM
gad added a comment to D33666: newsyslog: Wrap months when parsing 'W' rules..

Hmm. Looks like that wasn't quite right. Let me try another tactic.

Dec 29 2021, 1:35 AM
gad added a comment to D33666: newsyslog: Wrap months when parsing 'W' rules..

And after checking, it is true that the value for tm_year must also be fixed. Also, it's the default entry for /var/log/weekly.log where this issue comes up, not /var/log/weekly.conf . Now let's see if I can remember how to upload a new patch file to review {F34421954}for this. This is a patch based on branch 13-stable, which I assume will work fine for freebsd-current.

Dec 29 2021, 1:31 AM

Dec 28 2021

gad added a comment to D33666: newsyslog: Wrap months when parsing 'W' rules..

In an amazing coincidence, on Nov 30th I fixed a bug in a program of my own (totally unrelated to this) which had a similar bug. But in that case the bug happened only when the program was run during the last hour of a month. That program was eight years old, and it wasn't until Nov 30th 2021 that the bug stung me.

Dec 28 2021, 10:09 PM

Apr 11 2021

gad accepted D29566: lpd: Add -F flag to prevent daemonizing.

This looks fine to me. Let me know if there's anything else I need to do for it.

Apr 11 2021, 10:23 PM

Dec 13 2020

gad committed R9:939db41d9506: Add a newsflash for my arrival as a committer, so people know to start (authored by gad).
Add a newsflash for my arrival as a committer, so people know to start
Dec 13 2020, 7:41 PM
gad committed R9:b76dc2d73d7c: Initial commit of another new committer. Update the handbook to add (authored by gad).
Initial commit of another new committer. Update the handbook to add
Dec 13 2020, 7:41 PM

Jun 16 2020

gad committed rD54257: - Update my PGP key with a newer expiry date. Hopefully I did it right!.
- Update my PGP key with a newer expiry date. Hopefully I did it right!
Jun 16 2020, 4:09 AM

Jan 12 2020

gad committed rS356666: Fix the way 'factor' behaves when using OpenSSL to match the description.
Fix the way 'factor' behaves when using OpenSSL to match the description
Jan 12 2020, 8:25 PM

Aug 7 2018

gad accepted D16518: newsyslog: simplify compression code.
In D16518#352929, @gad wrote:

[...] I'll submit this anyway, if only to prove that I do read my email. 🙂

Does this qualify for a "Reviewed by: gad" in the commit message?

Aug 7 2018, 6:18 PM

Aug 6 2018

gad added a comment to D16518: newsyslog: simplify compression code.

I haven't looked at newsyslog in awhile, but I'm happy to see someone attempting this cleanup.

Aug 6 2018, 10:53 PM

Mar 12 2018

gad committed rS330787: Fix the resource leak of a 'FILE *' which could happen in routine.
Fix the resource leak of a 'FILE *' which could happen in routine
Mar 12 2018, 1:41 AM

Feb 21 2018

gad added a comment to D9637: Fix a memory leak with the variable logfname.

So, I'm finally getting around to looking at this. The delay was that I didn't have a freebsd-12.current system running. And now that I have a current system to test changes on, it looks like this issue was solved back in revision 303449 by ed, Thu Jul 28 16:02:30 2016 UTC. See revision 303449

Feb 21 2018, 9:39 PM

Jan 29 2018

gad accepted D14051: Remove K&R stuff: never use it in new code..

(sorry for the late noise. For some odd reason, today is the first day I've been able to connect to this page, although I've tried since last Thursday. I suspect there was a problem in the browser on my machine).

Jan 29 2018, 9:28 PM

Dec 19 2017

gad added a comment to D9637: Fix a memory leak with the variable logfname.

Ping @gad

Dec 19 2017, 7:43 PM

Aug 4 2017

gad committed rD50626: - Assuming some minor miracles have occured, I believe this will update.
- Assuming some minor miracles have occured, I believe this will update
Aug 4 2017, 1:11 AM

Mar 23 2017

gad closed D9954: Fix a memory leak in lpr.

This was handled by the commit which was referenced earlier.

Mar 23 2017, 3:08 AM
gad accepted D9954: Fix a memory leak in lpr.

Accepting this, so I can later close it.

Mar 23 2017, 3:07 AM

Mar 21 2017

gad closed D9982: Fix a memory leak in lpr, alternate checks....
Mar 21 2017, 6:10 PM

Mar 20 2017

gad added a reviewer for D9637: Fix a memory leak with the variable logfname: gad.

Many years ago I did some work on newsyslog. I could handle the review and commit of this update if that's okay with other reviewers.

Mar 20 2017, 10:57 PM
gad committed rS315655: Fixes to chkprintcap:.
Fixes to chkprintcap:
Mar 20 2017, 10:36 PM

Mar 14 2017

gad added a comment to D9954: Fix a memory leak in lpr.

I'm in the path of the big snowstorm which is supposed to hit tomorrow, so I might not respond to this for a few days. But once we've recovered from that, I'd be willing to commit my other patch for this along with the fix to skimprintcap.c. If nothing else, it shows that I'm still alive and paying (some) attention to lpr & friends.

Mar 14 2017, 1:14 AM

Mar 12 2017

gad added a comment to D9982: Fix a memory leak in lpr, alternate checks....

Hmm. Odd that it didn't build. It did compile on my system, although I didn't do much more than compile it.

Mar 12 2017, 10:15 PM
gad added a reviewer for D9982: Fix a memory leak in lpr, alternate checks...: gad.
Mar 12 2017, 10:12 PM
gad added a comment to D9954: Fix a memory leak in lpr.

Well, I tried to upload my diff as an "update", and that showed up as D9982 .

Mar 12 2017, 9:36 PM
gad added reviewers for D9982: Fix a memory leak in lpr, alternate checks...: pfg, ngie.
Mar 12 2017, 9:34 PM
gad created D9982: Fix a memory leak in lpr, alternate checks....
Mar 12 2017, 9:31 PM
gad added a comment to D9954: Fix a memory leak in lpr.

Hmm. I guess that wasn't the best way to upload an example diff...

Mar 12 2017, 9:19 PM
gad added a comment to D9954: Fix a memory leak in lpr.

[ thanks for contacting me ]

Mar 12 2017, 9:18 PM

Apr 25 2016

gad committed rS298592: Remove a variable and three lines of code which I should have removed as.
Remove a variable and three lines of code which I should have removed as
Apr 25 2016, 8:59 PM

Nov 16 2015

gad committed rS290951: I'm still interested in reviewing any code changes to lpr & friends.
I'm still interested in reviewing any code changes to lpr & friends
Nov 16 2015, 10:09 PM

Jun 17 2015

gad added inline comments to D2842: Update style.9 to reflect consensus on developer's mailing list..
Jun 17 2015, 5:23 PM
gad added inline comments to D2842: Update style.9 to reflect consensus on developer's mailing list..
Jun 17 2015, 4:46 PM
gad accepted D2842: Update style.9 to reflect consensus on developer's mailing list..
Jun 17 2015, 1:40 AM