Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-24 Thread Mark Geisert via Cygwin
On 1/23/2024 4:41 PM, Mark Geisert via Cygwin wrote: On 1/23/2024 3:36 AM, Roland Mainz via Cygwin wrote: Small bug report: Cygwin 3.5. now has support for SEEK_HOLE (thanks! :-) ), but /usr/bin/fallocate is still missing in the "util-linux" package. Can someone please enable that tool ? I'll

Re: [ANNOUNCEMENT] Updated: xterm 380

2024-01-24 Thread Takashi Yano via Cygwin
On Mon, 15 May 2023 21:10:27 +0200 Thomas Wolff wrote: > I have uploaded xterm 380. > Major changes: > > * DEC VT320 status line support > * improved calculation of dim attribute colour xterm 380 has a bug that wide bitmap fonts cannot be displayed correctly. https://invisible-island.net/xter

Re: Possiblly bug of cygwin1.dll

2024-01-24 Thread Kaz Kylheku via Cygwin
On 2024-01-24 05:11, Corinna Vinschen via Cygwin wrote: > Is anybody willing to give this a whirl? We have a good year until > the next major release... As far as the problem of not allocating per-mutex kernel objects, this can be done by implementing futex. Linux has futexes, mainly for solving

Re: Possiblly bug of cygwin1.dll

2024-01-24 Thread Kaz Kylheku via Cygwin
On 2024-01-24 03:55, Takashi Yano via Cygwin wrote: > Are there any code examples that use PTHREAD_MUTEX_INITIALIZER > with pthread_mutex_destroy()? I don't think I've seen one. I think they are rare in the field, precisely because PTHREAD_MUTEX_INITIALIZER is mainly used in C code to "initialize

Re: Setting process command name in forked process

2024-01-24 Thread Brian Inglis via Cygwin
On 2024-01-23 12:32, Steve Beck via Cygwin wrote: Hope this is an appropriate question for this list: Version 3.4.10 (of cygwin1.dll - cygcheck output attached): I am trying to set the process command name of a forked process. Is there a prescribed way to do this in Cygwin? I looked for either

Re: Wrong NTFS permissions

2024-01-24 Thread Andrey Repin via Cygwin
Greetings, Vincent Rivière! > On 24/01/2024 at 04:14, Marco Atzeri via Cygwin wrote: >>> $ cd /cygdrive/h/ >> > what is H ? > It is H:, a local NTFS partition. >> Use csih package for more info on your remote package > $ /usr/lib/csih/getVolInfo /cygdrive/h > Device Type: 0x07 > Charact

Re: Possiblly bug of cygwin1.dll

2024-01-24 Thread Corinna Vinschen via Cygwin
On Jan 24 14:05, Corinna Vinschen via Cygwin wrote: > On Jan 24 20:55, Takashi Yano via Cygwin wrote: > > On Mon, 22 Jan 2024 19:24:52 -0800 > > Kaz Kylheku wrote: > > > In real systems, the static distinction has no meaning. > > > > > > This code can be inside a shared library: > > > > > >st

Re: Possiblly bug of cygwin1.dll

2024-01-24 Thread Corinna Vinschen via Cygwin
On Jan 24 20:55, Takashi Yano via Cygwin wrote: > On Mon, 22 Jan 2024 19:24:52 -0800 > Kaz Kylheku wrote: > > In real systems, the static distinction has no meaning. > > > > This code can be inside a shared library: > > > >static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; > > > > th

Re: Possiblly bug of cygwin1.dll

2024-01-24 Thread Takashi Yano via Cygwin
On Mon, 22 Jan 2024 19:24:52 -0800 Kaz Kylheku wrote: > On 2024-01-19 20:18, Takashi Yano via Cygwin wrote: > > And I tried to observe the pthread_mutex_xxx() call. Then found the > > test case does like: > > > > #include > > int main() > > { > > for (;;) { > > pthread_mutex_t m = PTHREAD_M

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-24 Thread Cedric Blancher via Cygwin
On Wed, 24 Jan 2024 at 07:33, Cedric Blancher wrote: > > On Tue, 23 Jan 2024 at 12:37, Roland Mainz via Cygwin > wrote: > > > > Hi! > > > > - > > > > Small bug report: > > Cygwin 3.5. now has support for SEEK_HOLE (thanks! :-) ), but > > /usr/bin/fallocate is still missing in the "util-linux

Re: Wrong NTFS permissions

2024-01-24 Thread Vincent Rivière via Cygwin
On 24/01/2024 at 04:14, Marco Atzeri via Cygwin wrote: $ cd /cygdrive/h/ what is H ? It is H:, a local NTFS partition. Use csih package for more info on your remote package $ /usr/lib/csih/getVolInfo /cygdrive/h Device Type: 0x07 Characteristics: 0x00020020 FILE_REMOVABLE_ME

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-24 Thread Sam Edge via Cygwin
On 24/01/2024 06:33, Cedric Blancher via Cygwin wrote: > Does /usr/bin/cp in Cygwin copy holes correctly Yesterday, within the 'ware, I saw some bytes that weren't there! They weren't there again today, They'd better not just go away. -- Sam Edge (with apologies to Willian Hughes Mearns) Open