[PATCH] Add source code link to sidebar.

2025-01-26 Thread Yuqian Yang
Make it easier to get source code directly. --- sidebar.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/sidebar.mdwn b/sidebar.mdwn index b2c7c223..87b0633b 100644 --- a/sidebar.mdwn +++ b/sidebar.mdwn @@ -18,6 +18,7 @@ License|/fdl]]."]]"""]] * [[Contact_Us]] * **[[Donate]]**

[PATCH hurd v2] Add partial /proc/cpuinfo implementation

2025-01-26 Thread dnietoc
From: Diego Nieto Cid Hello, On Sun, Jan 26, 2025 at 10:18:03PM +0100, Samuel Thibault wrote: > > dnie...@gmail.com, le ven. 10 janv. 2025 23:52:28 +, a ecrit: > > --- a/procfs/rootdir.c > > + > > + m = open_memstream(contents, (size_t *) contents_len); > > Please mind the GNU coding style

Re: [PATCH hurd v1] Add partial /proc/cpuinfo implementation

2025-01-26 Thread Samuel Thibault
Sergey Bugaev, le lun. 27 janv. 2025 00:25:15 +0300, a ecrit: > > > +out: > > > + flcose(m); > > > > You didn't try to compile it ;) > > I suppose that's not easy for Diego to do, given the state of aarch64-gnu :) Sure, but he can comment the very few really-arm64-specific lines and try to build

Re: [PATCH hurd v1] Add partial /proc/cpuinfo implementation

2025-01-26 Thread Sergey Bugaev
On Mon, Jan 27, 2025 at 12:18 AM Samuel Thibault wrote: > > + err = aarch64_get_hwcaps(mach_host_self(), &caps, &mdir, &revdir); > > + if (err) > > +goto out; > > + > > + implementer = (mdir & 0xff00) >> 24; > > + variant = (mdir & 0x00f0) >> 20; > > + architecture = (mdir &

Re: [PATCH hurd v1] Add partial /proc/cpuinfo implementation

2025-01-26 Thread Samuel Thibault
Hello, Thanks for working on it :) Sorry for the delay, dnie...@gmail.com, le ven. 10 janv. 2025 23:52:28 +, a ecrit: > --- a/procfs/rootdir.c > +++ b/procfs/rootdir.c > @@ -38,6 +38,12 @@ > #include "procfs_dir.h" > #include "main.h" > #include > +#if defined (__x86_64__) || defined (_

Re: [PATCH] Add doc of topgit installation to make it easier.

2025-01-26 Thread Samuel Thibault
Yuqian Yang, le lun. 27 janv. 2025 00:23:31 +0800, a ecrit: > On 2025-01-26 23:52, Samuel Thibault wrote: > > I applied it but that came with trouble: the lines were split, and > > with spurious heading spaces. Did you really use git format-patch / > > send-email to send it? > > Sorry for troublin

Re: [PATCH] Add doc of topgit installation to make it easier.

2025-01-26 Thread Yuqian Yang
On 2025-01-26 23:52, Samuel Thibault wrote: I applied it but that came with trouble: the lines were split, and with spurious heading spaces. Did you really use git format-patch / send-email to send it? Sorry for troubling you. To be honest, I copy/paste the patch and sent it via my email clien

Re: [PATCH] Add doc of topgit installation to make it easier.

2025-01-26 Thread Samuel Thibault
Hello, Yuqian Yang, le dim. 26 janv. 2025 23:12:59 +0800, a ecrit: > One notable problem is that topgit is default to install to prefix `~` > rather than `~/.local`, which might surprise some people. I applied it but that came with trouble: the lines were split, and with spurious heading spaces.

[PATCH] Add doc of topgit installation to make it easier.

2025-01-26 Thread Yuqian Yang
One notable problem is that topgit is default to install to prefix `~` rather than `~/.local`, which might surprise some people. --- topgit.mdwn | 29 + 1 file changed, 29 insertions(+) diff --git a/topgit.mdwn b/topgit.mdwn index b27aa09c..14d3c53e 100644 --- a/topgi