Brian Inglis writes:
> On 2019-12-14 11:38, Achim Gratz wrote:
>
> [Sorry, thought I'd sent this, it was backgrounded!]
>
> What are the distinctions between /dev/sd[a-c][a-z], /dev/sdd[a-z], and
> /dev/sd[a-z] appearing in parts of devices.cc?
/dev/sd is the base name for disks, letters denote di
On 2019-12-14 11:38, Achim Gratz wrote:
[Sorry, thought I'd sent this, it was backgrounded!]
What are the distinctions between /dev/sd[a-c][a-z], /dev/sdd[a-z], and
/dev/sd[a-z] appearing in parts of devices.cc?
s[6] == 'd'?
Better:
> if (len > 7 && len < 12 && s[7] == 'd'
- if (len > 7 &&
Brian Inglis writes:
> On 2019-12-14 11:38, Achim Gratz wrote:
>
> s[6] == 'd'?
Indeed.
>> if (len > 7 && len < 12 && s[7] == 'd'
> - if (len > 7 && len < 12 && s[7] == 'd'
> + if (len > 7 && len < 12 && s[DP_LEN - 1] == 'd'
Yes, that's better.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46
On 2019-12-14 11:38, Achim Gratz wrote:
s[6] == 'd'?
> if (len > 7 && len < 12 && s[7] == 'd'
- if (len > 7 && len < 12 && s[7] == 'd'
+ if (len > 7 && len < 12 && s[DP_LEN - 1] == 'd'
> /* Generic check for /dev/sd[a-z] prefix */
> && strncmp (s, DISK_PREFIX, DP_LEN) == 0
>
Achim Gratz writes:
> Corinna Vinschen writes:
> […]
>> ttyS%(0-255) takes another 23K btw. Even that should be ok, if
>> the need arises. Alternatively we could shortcut shilka as for
>> /dev/sd*, but that involved much bigger numbers.
>
> I've searched for some documentation (anywhere the glob
On Nov 3 20:13, Achim Gratz wrote:
> Corinna Vinschen writes:
> […]
> > ttyS%(0-255) takes another 23K btw. Even that should be ok, if
> > the need arises. Alternatively we could shortcut shilka as for
> > /dev/sd*, but that involved much bigger numbers.
>
> I've searched for some documentation
Corinna Vinschen writes:
[…]
> ttyS%(0-255) takes another 23K btw. Even that should be ok, if
> the need arises. Alternatively we could shortcut shilka as for
> /dev/sd*, but that involved much bigger numbers.
I've searched for some documentation (anywhere the glob syntax %(1-128)
would turn up,
On Oct 22 19:52, Achim Gratz wrote:
>
> As requested:
>
> >From 7908d09f547e0a7a707139d0faaccc151b88024c Mon Sep 17 00:00:00 2001
> From: Achim Gratz
> Date: Tue, 22 Oct 2019 19:50:50 +0200
> Subject: [PATCH] Cygwin: provide more COM devices
>
> * winsup/cygwin/devices.in: Provide for 128 COM d
As requested:
>From 7908d09f547e0a7a707139d0faaccc151b88024c Mon Sep 17 00:00:00 2001
From: Achim Gratz
Date: Tue, 22 Oct 2019 19:50:50 +0200
Subject: [PATCH] Cygwin: provide more COM devices
* winsup/cygwin/devices.in: Provide for 128 COM devices since Windows
likes to create lots of these
On Oct 22 19:36, Achim Gratz wrote:
> Corinna Vinschen writes:
> >> So how about we only do this on 64bit as an added bonus for folks who
> >> "get it"?
> >
> > I'm not hot on doing that, and I'm not sure shilka likes ifdef's
> > inside the %% block.
>
> OK, then let's forget about that.
>
> >> O
Corinna Vinschen writes:
>> So how about we only do this on 64bit as an added bonus for folks who
>> "get it"?
>
> I'm not hot on doing that, and I'm not sure shilka likes ifdef's
> inside the %% block.
OK, then let's forget about that.
>> One particular machine I've recently worked on presented
On Oct 21 20:10, Achim Gratz wrote:
> Corinna Vinschen writes:
> > That's not the right way to patch this. devices.cc gets generated from
> > devices.in by the gendevices script which in turn calls shilka from the
> > cocom package.
>
> Now that you mention it I remember… :-(
>
> > Apart from t
Corinna Vinschen writes:
> That's not the right way to patch this. devices.cc gets generated from
> devices.in by the gendevices script which in turn calls shilka from the
> cocom package.
Now that you mention it I remember… :-(
> Apart from the struct members you added here, it will
> also add
Hi Achim,
On Oct 20 15:27, Achim Gratz wrote:
>
> This was requested on IRC.
>
> >From a80b1c9ba67f94237948e85ad2dee744cdfbdcad Mon Sep 17 00:00:00 2001
> From: Achim Gratz
> Date: Sun, 20 Oct 2019 15:23:04 +0200
> Subject: [PATCH] Cygwin: provide more COM devices
>
> * winsup/cygwin/devices.c
14 matches
Mail list logo