~yaboyfred

Oslo, Norway

~yaboyfred/public-inbox

Last active a month ago
View more

Recent activity

[PATCH powerctl] Makefile: cleanup and make posix a month ago

From Fredrik Foss-Indrehus to ~sircmpwn/public-inbox

Signed-off-by: Fredrik Foss-Indrehus <fred@ffoss.net>
---

Just some misc changes, take what you want. Neither the $(RM)[1] macro
nor the install[1] command is part of POSIX 2024 as far as I can tell.

[1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/contents.html
[2] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/make.html

 Makefile | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/Makefile b/Makefile
index a3f458e..9c886bb 100644
[message trimmed]

Re: [PATCH powerctl] main.c: remove variadic arguments from getopt::printhelp calls a month ago

From Fredrik Foss-Indrehus to ~sircmpwn/public-inbox

I should specify that this was built against hare dev+10e1b3c (master
branch).

Let me know what you think!

[PATCH powerctl] main.c: remove variadic arguments from getopt::printhelp calls a month ago

From Fredrik Foss-Indrehus to ~sircmpwn/public-inbox

getopt::printhelp no longer accept variadic arguments, so remove spread
operator (...).

Signed-off-by: Fredrik Foss-Indrehus <fred@ffoss.net>
---
I'm all too new to hare (and this email workflow too, forgive me), but
this at least make it compile and function again.

Build error before fix:

  main.ha:47:42: error: Function type does not permit variadic argument list

  47 |                            getopt::printhelp(os::stderr, "powerctl", help...)!;
     |                                             ^
[message trimmed]

[PATCH] Demo I can use git send-email a month ago

From Fredrik Foss-Indrehus to ~sircmpwn/email-test-drive

---
 yaboyfred | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 yaboyfred

diff --git a/yaboyfred b/yaboyfred
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/yaboyfred
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.47.1
[message trimmed]