Re: sizeof in Macros. (Was: Specifying dependencies more clearly)

2023-03-12 Thread Alejandro Colomar
Howdy Ralph, On 11/10/22 10:31, Ralph Corderoy wrote: > Howdy Alejandro, > [...] >>> My patch just changes >>> #define length(s) (sizeof(s) - 1) >>> to: >>> #define length(s) (nitems(s) - 1) >>> >>> (nitems() is defined to be the obvious sizeof division (called >>> ARRAY_SIZE(9) i

Re: sizeof in Macros. (Was: Specifying dependencies more clearly)

2022-11-15 Thread Alejandro Colomar
Hi Ralph, As you noticed, if you don't address me in To or Cc, I may not notice the email. I try to, but sometimes I miss it. Sorry. On 11/10/22 10:31, Ralph Corderoy wrote: Howdy Alejandro, Okay, here we go for a rant. Consider the cost of lost opportunities. Since I wrote the code f

Re: Pascal rides again (was: Specifying dependencies more clearly)

2022-11-12 Thread Alejandro Colomar
Hi Dave! On 11/11/22 21:08, Dave Kemper wrote: On 11/10/22, Alejandro Colomar wrote: Textinfo is still unreadable after one has the system installed. Maybe it's that I've never used emacs(1), but I never liked it. I mention this on the list periodically, because I learned this trick from th

Re: Pascal rides again (was: Specifying dependencies more clearly)

2022-11-11 Thread Dave Kemper
On 11/10/22, Alejandro Colomar wrote: > Textinfo is still unreadable after one has the system > installed. Maybe it's that I've never used emacs(1), but I never liked it. I mention this on the list periodically, because I learned this trick from this list and it's invaluable for browsing the gro

Re: Pascal rides again (was: Specifying dependencies more clearly)

2022-11-10 Thread G. Branden Robinson
Hi Alex, At 2022-11-11T03:09:51+0100, Alejandro Colomar wrote: > > Write and demonstrate an exploit[6]. It won't make you any more > > popular than your present approach, but it will knock the jocks' > > cowboy hats askew. [...] > > [6] But do it in a sandbox lest you become the next Tom Christia

Re: Pascal rides again (was: Specifying dependencies more clearly)

2022-11-10 Thread Alejandro Colomar
On 11/11/22 03:09, Alejandro Colomar wrote: On 11/10/22 22:19, G. Branden Robinson wrote: especially when these are used by the naïve or slack-jawed.[1] I developed this stpecpy()[1] to fix this performance problem present in strlcpy(3).  I plan to start using it (or similar ones adapted to t

Re: Pascal rides again (was: Specifying dependencies more clearly)

2022-11-10 Thread Alejandro Colomar
On 11/10/22 22:19, G. Branden Robinson wrote: (Some of this is off-topic for the groff list.) Hi Branden, Hi Alex, At 2022-11-08T22:05:25+0100, Alejandro Colomar wrote: Okay, here we go for a rant. Let's say there's some software with cowboy programmers, which has things like: typed

Pascal rides again (was: Specifying dependencies more clearly)

2022-11-10 Thread G. Branden Robinson
(Some of this is off-topic for the groff list.) Hi Alex, At 2022-11-08T22:05:25+0100, Alejandro Colomar wrote: > Okay, here we go for a rant. > > Let's say there's some software with cowboy programmers, which has > things like: > > typedef struct { > size_t length; > u_char

sizeof in Macros. (Was: Specifying dependencies more clearly)

2022-11-10 Thread Ralph Corderoy
Howdy Alejandro, > > Okay, here we go for a rant. Consider the cost of lost opportunities. > Since I wrote the code from memory, I had a few typos, but the idea > was there... > > >     typedef struct { > >     size_t  length; > >     u_char  *start; > >     } str_t; > > > >     #d

Re: Specifying dependencies more clearly

2022-11-09 Thread Alejandro Colomar
Hi Branden, On 11/8/22 22:05, Alejandro Colomar wrote: It may be the issue that the deps mention about ambiguous paths; don't know.  I don't know if I have multiple versions of the URW fonts in my system.  I hope I don't, because I rarely install things from source, so I trust Debian packaging

Re: Specifying dependencies more clearly

2022-11-08 Thread Alejandro Colomar
Hi Branden, On 11/8/22 16:12, G. Branden Robinson wrote: Hi Alex, At 2022-11-08T13:26:21+0100, Alejandro Colomar wrote: I've always had trouble installing the correct dependencies for groff, since depending on what you compile you might need some more or some less dependencies, and there's not

Re: Specifying dependencies more clearly

2022-11-08 Thread G. Branden Robinson
Hi Alex, At 2022-11-08T13:26:21+0100, Alejandro Colomar wrote: > I've always had trouble installing the correct dependencies for groff, > since depending on what you compile you might need some more or some > less dependencies, and there's not a clear list of what you need for > what. I'm sorry t

Specifying dependencies more clearly

2022-11-08 Thread Alejandro Colomar
Hi Branden! I've always had trouble installing the correct dependencies for groff, since depending on what you compile you might need some more or some less dependencies, and there's not a clear list of what you need for what. I suggest that you add a very schematic list similar to the one I