Page MenuHomeFreeBSD
Feed Advanced Search

Oct 30 2022

pstef closed D36407: ls: `-v` flag.
Oct 30 2022, 11:14 PM
pstef committed rGe2662256cdbc: ls(1): add a -v flag to sort naturally (authored by obiwac_gmail.com).
ls(1): add a -v flag to sort naturally
Oct 30 2022, 11:14 PM
pstef added inline comments to D34747: ls(1): Change -g and make -n imply -l to implement POSIX.
Oct 30 2022, 4:49 PM
pstef added a comment to D35761: libc: expose a primitive version of b64_pton().

@kib, sorry about not providing some aspects of the context of this change, I thought this was a good enough draft to get the first few reviews, but in hindsight it looks just lazy of me.

Oct 30 2022, 12:13 PM

Oct 23 2022

pstef added reviewers for D35761: libc: expose a primitive version of b64_pton(): kib, imp.
Oct 23 2022, 7:32 AM

Oct 21 2022

pstef accepted D37083: top: improve sort field storage/lookup.

But the summary contains the same phrase twice, seems unintentional.

Oct 21 2022, 10:20 PM

Oct 18 2022

pstef added a comment to D37035: mailwrapper: use dma(8) over sendmail(8).

Please remember to tag the commit as Relnotes: yes.

Oct 18 2022, 2:30 PM

Aug 25 2022

pstef accepted D36314: bintrans: replace the quoted printable encoder/decoder.
Aug 25 2022, 6:29 AM

Aug 24 2022

pstef committed rG6480563d0678: sh: accept fc options grouped behind one '-' (authored by pstef).
sh: accept fc options grouped behind one '-'
Aug 24 2022, 6:23 PM
pstef committed rGead0fe475c5e: sh: nullify ENV in tests (authored by pstef).
sh: nullify ENV in tests
Aug 24 2022, 6:22 PM
pstef added inline comments to D36314: bintrans: replace the quoted printable encoder/decoder.
Aug 24 2022, 3:38 PM

Aug 23 2022

pstef added inline comments to D36314: bintrans: replace the quoted printable encoder/decoder.
Aug 23 2022, 4:02 PM

Aug 22 2022

pstef requested review of D36293: base64: implement -i/-n to ignore non-alphabet characters.
Aug 22 2022, 4:12 PM

Aug 21 2022

pstef added a comment to D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.

Where can I find the rules for vertical spacing? I can't find it explicitly in style(9)

Aug 21 2022, 12:19 PM

Aug 20 2022

pstef committed rGa1423456415a: sh: nullify ENV in tests (authored by pstef).
sh: nullify ENV in tests
Aug 20 2022, 11:31 AM
pstef closed D35876: sh: nullify ENV in tests.
Aug 20 2022, 11:31 AM
pstef closed D35836: sh: accept fc options grouped behind one '-'.
Aug 20 2022, 11:31 AM
pstef committed rG755a1be6d015: sh: accept fc options grouped behind one '-' (authored by pstef).
sh: accept fc options grouped behind one '-'
Aug 20 2022, 11:31 AM

Aug 19 2022

pstef added a comment to D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.

I can do it myself this evening, if that doesn't slow you down for anything else. (Aswell as making that post on -hackers that @lwhsu mentioned, if that's still necessary.)

Aug 19 2022, 11:07 AM
pstef added a comment to D35836: sh: accept fc options grouped behind one '-'.

@jilles is this patch in a good shape now?

Aug 19 2022, 10:49 AM
pstef added a comment to D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.

Hey guys, is there anything here that I still need to do?

Aug 19 2022, 10:42 AM

Aug 16 2022

pstef added a comment to D29577: acpi(4): mention NONE as possible setting for hw.acpi.power_button_state.

I already started looking into adding it to prevent my cat from powering off my system

Aug 16 2022, 8:51 PM
pstef committed rGe45f7e92439d: acpi(4): mention NONE as possible setting for hw.acpi.power_button_state (authored by yuripv).
acpi(4): mention NONE as possible setting for hw.acpi.power_button_state
Aug 16 2022, 8:46 PM
pstef added a comment to D36195: The simplest OSS MIDI example.

To be honest I don't know how the process works. Can you advise, please?

Aug 16 2022, 6:22 PM

Aug 7 2022

pstef updated the diff for D35761: libc: expose a primitive version of b64_pton().

Rename base64.h to b64.h.

Aug 7 2022, 8:51 AM

Aug 6 2022

pstef updated the diff for D35836: sh: accept fc options grouped behind one '-'.
Aug 6 2022, 5:43 PM

Jul 31 2022

pstef updated the diff for D35761: libc: expose a primitive version of b64_pton().

Add the missing semicolon in Symbol.map.
Add base64.h to INCS.

Jul 31 2022, 7:33 PM

Jul 30 2022

pstef updated the diff for D35836: sh: accept fc options grouped behind one '-'.

Slightly change the approach: each not_fcnumber() check, keep consuming options until we need to jump to the next argptr.
Add a couple of test cases.

Jul 30 2022, 6:57 PM

Jul 28 2022

pstef added a comment to D35960: style: Allow C++ comments.
Jul 28 2022, 2:47 PM

Jul 26 2022

pstef added inline comments to D35960: style: Allow C++ comments.
Jul 26 2022, 9:30 PM
pstef added a comment to D35960: style: Allow C++ comments.

I've seen patches where BCPL-style comments are abused to form what we're used to see as block comments. So if we start allowing them, maybe say that they're allowed under some conditions (not sure what to specify here or how).

Jul 26 2022, 9:05 PM
pstef accepted D35959: style: Tighten up one use of 'may'.
Jul 26 2022, 8:39 PM
pstef accepted D35959: style: Tighten up one use of 'may'.
Jul 26 2022, 8:23 PM
pstef added a comment to D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.

Hey guys, is there anything here that I still need to do?

Jul 26 2022, 7:41 PM

Jul 22 2022

pstef added a comment to D35836: sh: accept fc options grouped behind one '-'.

@jilles what do you think about this one?

Jul 22 2022, 7:17 PM

Jul 21 2022

pstef requested review of D35876: sh: nullify ENV in tests.
Jul 21 2022, 6:45 PM

Jul 19 2022

pstef added inline comments to D35840: sh: implement PS1 \D to print current time.
Jul 19 2022, 8:54 PM
pstef added inline comments to D35840: sh: implement PS1 \D to print current time.
Jul 19 2022, 8:29 PM
pstef added a comment to D35840: sh: implement PS1 \D to print current time.

A little unfortunate to have these strange backslash sequences spread out further, but it's nothing that bash doesn't do.

Jul 19 2022, 4:04 PM

Jul 18 2022

pstef updated the diff for D35840: sh: implement PS1 \D to print current time.

Simplify and add comments.

Jul 18 2022, 7:42 PM
pstef updated the diff for D35840: sh: implement PS1 \D to print current time.

Handle rare cases the way bash does it.

Jul 18 2022, 4:27 PM
pstef updated the diff for D35840: sh: implement PS1 \D to print current time.

Remove debugging changes not meant for review.

Jul 18 2022, 9:49 AM
pstef edited reviewers for D35840: sh: implement PS1 \D to print current time, added: manpages; removed: docs.
Jul 18 2022, 9:41 AM
pstef set the repository for D35761: libc: expose a primitive version of b64_pton() to rG FreeBSD src repository.
Jul 18 2022, 9:41 AM
pstef set the repository for D35836: sh: accept fc options grouped behind one '-' to rG FreeBSD src repository.
Jul 18 2022, 9:41 AM
pstef added a reviewer for D35840: sh: implement PS1 \D to print current time: docs.
Jul 18 2022, 9:40 AM
pstef retitled D35761: libc: expose a primitive version of b64_pton() from Expose a primitive version of b64_pton() to libc: expose a primitive version of b64_pton().
Jul 18 2022, 9:25 AM
pstef updated the diff for D35840: sh: implement PS1 \D to print current time.

Place the result of strftime() in the right place instead of always at the beginning of the buffer.
Simplify conditional early exit.

Jul 18 2022, 8:58 AM
pstef requested review of D35840: sh: implement PS1 \D to print current time.
Jul 18 2022, 8:38 AM

Jul 17 2022

pstef updated the diff for D35836: sh: accept fc options grouped behind one '-'.

I've made the mistake of assuming that the first token has to be an option, but of course fc -1 must work.

Jul 17 2022, 11:43 AM
pstef retitled D35836: sh: accept fc options grouped behind one '-' from sh: accept options grouped behind one '-' to sh: accept fc options grouped behind one '-'.
Jul 17 2022, 10:20 AM
pstef requested review of D35836: sh: accept fc options grouped behind one '-'.
Jul 17 2022, 8:23 AM

Jul 16 2022

pstef accepted D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.

I accept this revision. I don't mind declarations after statements, but others might.

Jul 16 2022, 5:06 PM
pstef accepted D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.
Jul 16 2022, 7:30 AM
pstef added inline comments to D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.
Jul 16 2022, 7:30 AM

Jul 15 2022

pstef added inline comments to D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.
Jul 15 2022, 4:21 PM

Jul 14 2022

pstef added inline comments to D35807: libc: Add `strverscmp(3)` & `versionsort(3)`.
Jul 14 2022, 6:03 PM

Jul 12 2022

pstef updated the diff for D35761: libc: expose a primitive version of b64_pton().

Fix the Symbols.map part of this diff.

Jul 12 2022, 5:32 PM
pstef added a comment to D35783: ls: `-v` flag (and `strverscmp(3)` & `versionsort(3)`).
Jul 12 2022, 3:34 PM
pstef added a comment to D35783: ls: `-v` flag (and `strverscmp(3)` & `versionsort(3)`).

Looks interesting. However, personally I would like to see these two ideas (the new libc function and the new ls(1) option) have their separate reviews and ultimately commits. See also my inline comments.

Jul 12 2022, 3:06 PM

Jul 11 2022

pstef added inline comments to D35776: vtspeakd(1): Initial version of console speaker daemon..
Jul 11 2022, 6:51 PM
pstef added inline comments to D35776: vtspeakd(1): Initial version of console speaker daemon..
Jul 11 2022, 6:50 PM
pstef added inline comments to D35776: vtspeakd(1): Initial version of console speaker daemon..
Jul 11 2022, 5:57 PM

Jul 10 2022

pstef updated the diff for D35761: libc: expose a primitive version of b64_pton().

Less buggy and visibly less invasive.

Jul 10 2022, 9:24 PM

Jul 9 2022

pstef requested review of D35761: libc: expose a primitive version of b64_pton().
Jul 9 2022, 6:10 PM

May 22 2022

pstef abandoned D35282: lang/python310: Add OPTIONS for: editline, ports editline, ports readline or none.
May 22 2022, 6:11 AM

May 21 2022

pstef added a comment to D35282: lang/python310: Add OPTIONS for: editline, ports editline, ports readline or none.

What the port does is:
$ file /usr/local/lib/libedit.so.0
/usr/local/lib/libedit.so.0: symbolic link to libedit.so.0.0.68
The port turns out to be a Debian-made repackaging of the NetBSD library.

May 21 2022, 11:49 PM
pstef added a comment to D35282: lang/python310: Add OPTIONS for: editline, ports editline, ports readline or none.

Huh, as it is, it cannot pick up the base editline at all. It's looking for /lib/libedit.so.0 and ours (well, mine) is /lib/libedit.so.8.

May 21 2022, 11:16 PM
pstef added a comment to D35282: lang/python310: Add OPTIONS for: editline, ports editline, ports readline or none.

I think I'll need to drop the "editline (ports)" option, there's no way to choose one or the other when both are installed.

May 21 2022, 11:02 PM
pstef requested review of D35282: lang/python310: Add OPTIONS for: editline, ports editline, ports readline or none.
May 21 2022, 10:52 PM

Apr 30 2022

pstef committed rGd9d0812bc6e9: sh: implement persistent history storage (authored by bapt).
sh: implement persistent history storage
Apr 30 2022, 8:05 AM
pstef committed rG963fdecd1a26: uudecode: correct error message (authored by pstef).
uudecode: correct error message
Apr 30 2022, 8:05 AM
pstef committed rG2eef2f0f8f60: uu{encode,decode}: improve style (authored by pstef).
uu{encode,decode}: improve style
Apr 30 2022, 8:05 AM
pstef committed rG6e1f0f800689: libfetch: remove a set-but-not-used variable (authored by se).
libfetch: remove a set-but-not-used variable
Apr 30 2022, 8:05 AM

Apr 24 2022

pstef committed rGed016aa43541: base64: ignore -i as promised (authored by pstef).
base64: ignore -i as promised
Apr 24 2022, 6:25 AM
pstef committed rGaad4fd549589: Add a quoted-printable encoder/decoder (authored by pstef).
Add a quoted-printable encoder/decoder
Apr 24 2022, 6:25 AM
pstef committed rG9d68da4ee855: bintrans: make mmencode.c compilable (authored by pstef).
bintrans: make mmencode.c compilable
Apr 24 2022, 6:25 AM
pstef committed rGff2b1ffbb045: bintrans: adjust mmencode.c to style(9) (authored by pstef).
bintrans: adjust mmencode.c to style(9)
Apr 24 2022, 6:25 AM
pstef committed rG8a65b02daca6: bintrans: import mmencode.c for quoted-printable en/de-coding (authored by pstef).
bintrans: import mmencode.c for quoted-printable en/de-coding
Apr 24 2022, 6:25 AM
pstef closed D34933: Import a quoted-printable bidirectional converter.
Apr 24 2022, 6:24 AM

Apr 23 2022

pstef added a comment to D35033: bsdinstall/partedit: fix UFS auto partitioning.

Minor nit.

Apr 23 2022, 8:40 AM

Apr 22 2022

pstef added inline comments to D34762: ctld: Fix coverity raised issues.
Apr 22 2022, 1:34 PM

Apr 19 2022

pstef accepted D34941: diff3: Clean up printing of ranges for edscript output.

Maybe if the file was mmapped and the r->fromth line found via memchr() or similar, that would be faster.

Apr 19 2022, 8:32 AM

Apr 18 2022

pstef accepted D34950: diff: tests: loosen up requirements for report_identical.

I think I'm the one to blame for this, but I've never understood ATF and from other usage across our repo it wasn't clear to me how to properly do this.

Apr 18 2022, 9:41 PM
pstef committed rGd399eb3ef7f8: ping: split the visual part of -f into a new option -. (authored by pstef).
ping: split the visual part of -f into a new option -.
Apr 18 2022, 5:15 PM
pstef closed D34882: ping: split the visual part of -f into a new option -..
Apr 18 2022, 5:15 PM
pstef added inline comments to D34941: diff3: Clean up printing of ranges for edscript output.
Apr 18 2022, 2:02 PM
pstef committed rG2ad786c63ae2: b64encode: implement -w to wrap lines (authored by pstef).
b64encode: implement -w to wrap lines
Apr 18 2022, 11:57 AM
pstef committed rG540a99289bb1: Add the base64 command using b64encode and b64decode (authored by pstef).
Add the base64 command using b64encode and b64decode
Apr 18 2022, 11:57 AM
pstef committed rGf331cf9b043a: bintrans: reinstate a test case that I lost (authored by pstef).
bintrans: reinstate a test case that I lost
Apr 18 2022, 11:57 AM
pstef closed D32945: Implement base64(1).
Apr 18 2022, 11:56 AM
pstef closed D32944: b64encode: implement -w to wrap lines.
Apr 18 2022, 11:56 AM
pstef committed rG4cd4841a2773: Modularize uuencode and uudecode by wrapping them in bintrans.c (authored by pstef).
Modularize uuencode and uudecode by wrapping them in bintrans.c
Apr 18 2022, 8:55 AM
pstef committed rG47bcbde91dea: bintrans: move files to a new directory (authored by pstef).
bintrans: move files to a new directory
Apr 18 2022, 8:55 AM
pstef closed D32943: Modularize uuencode and uudecode by wrapping them in bintrans.c.
Apr 18 2022, 8:55 AM
pstef added a comment to D34896: strcpy(3): Explicitly mention the recommended usage of strlcpy().

To be honest, if I need to quote someone to make my argument stronger, it would be Chris: https://ramblings.implicit.net/c/2014/05/02/c-functions-that-should-be-avoided-part-2.html

Apr 18 2022, 5:18 AM

Apr 17 2022

pstef added a comment to D34896: strcpy(3): Explicitly mention the recommended usage of strlcpy().

Playing devil's advocate, I can't help but not include (one of many) famous Ulrich's quotes:

Dammit, it is not safe. It hides bugs in programs. If a string is too long for an allocated memory block the copying must not simply silently stop. Instead the program must reallocate or signal an error. I can construct you cases where the use of these stupid functions is creating new security problem.

Admittedly, his canonical way to handle these situations uses unportable mempcpy() function, a GNU extension which returns adjusted destination, but still, all-caps scary warning might be a bit too much for the manpage, despite the almost modifier. IMHO it should be either toned down, or better elaborated.

Apr 17 2022, 6:44 PM

Apr 16 2022

pstef added a comment to D32943: Modularize uuencode and uudecode by wrapping them in bintrans.c.

Thanks again for reviewing this!

Apr 16 2022, 7:14 PM
pstef updated the diff for D32943: Modularize uuencode and uudecode by wrapping them in bintrans.c.

Address some of the comments made by delphij.

Apr 16 2022, 7:03 PM

Apr 15 2022

pstef updated the diff for D34882: ping: split the visual part of -f into a new option -..

Address comments by rpokala.
I decided to choose the word "period" over "dot" because the former was already here.

Apr 15 2022, 8:37 PM