Re: utimensat: Work around a GNU/Hurd bug.

2025-03-17 Thread Collin Funk
Forgot that m4 serial numbers exist. Incrementing it just in case it matters to anyone. >From 4f98832331353fc1a599d1b7fdc89a817da23760 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Mon, 17 Mar 2025 22:13:04 -0700 Subject: [PATCH] utimensat: Increment serial number for previous commit. * m4/u

utimensat: Work around a GNU/Hurd bug.

2025-03-17 Thread Collin Funk
The following test fails on GNU/Hurd: test-utimens.h:80: assertion 'func (BASE "file", ts) == -1' failed FAIL test-utimensat (exit status: 134) This is because utimensat does not validate the tv_nsec fields of it's arguments. I have reported this bug to the hurd component of glibc [1]. A

Re: m4/mountlist.m4: remove AC_MSG_ERROR from gl_MOUNTLIST?

2025-03-17 Thread Collin Funk
Bruno Haible writes: > The questions is: which ones are useful in this context? I've attached a basic patch, but I have not pushed it since I am unsure how useful it actually is or if I am missing important information. >From a test run (on Wine, which isn't perfect): $ find ~/.wine/dosdev

Re: m4/mountlist.m4: remove AC_MSG_ERROR from gl_MOUNTLIST?

2025-03-17 Thread Bruno Haible via Gnulib discussion list
Collin Funk wrote: > I can have a look at it. It seems it will have to be implemented using > the functions documented here [1]. Yes, there are several candidate functions: https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getdrivetypea https://learn.microsoft.com/en-us/window

Re: m4/mountlist.m4: remove AC_MSG_ERROR from gl_MOUNTLIST?

2025-03-17 Thread Collin Funk
Hi Bruno, Bruno Haible via Gnulib discussion list writes: > But it is equally unusual for a Gnulib module to provide just a dummy stub > on some platforms. > > Therefore, ideally, someone would port this module to native Windows > (considering drive letters, JOINs, SUBSTs, and \\...\ shares). Th

Re: m4/mountlist.m4: remove AC_MSG_ERROR from gl_MOUNTLIST?

2025-03-17 Thread Bruno Haible via Gnulib discussion list
Yury V. Zaytsev wrote: > I would like to ask why `AC_MSG_ERROR` hasn't been removed from > `gl_MOUNTLIST` yet? There is a "FIXME" in there and I think the callers > should check `gl_cv_list_mounted_fs` and `AC_MSG_ERROR` themselves if this is > a required feature. It is indeed unusual for a Gnu

m4/mountlist.m4: remove AC_MSG_ERROR from gl_MOUNTLIST?

2025-03-17 Thread Yury V. Zaytsev
Hello, I would like to ask why `AC_MSG_ERROR` hasn't been removed from `gl_MOUNTLIST` yet? There is a "FIXME" in there and I think the callers should check `gl_cv_list_mounted_fs` and `AC_MSG_ERROR` themselves if this is a required feature. Thanks a lot! P.S. Please keep me on CC, I'm not sub