Re: [dev] Some direction with my project

2022-04-16 Thread Pontus Stenetorp
On Fri 15 Apr 2022, Chibby Bromanson wrote: > On Fri, Apr 15, 2022 at 02:20:25PM +0200, Wolf wrote: > > On 2022-04-15 08:51:50 +, Hadrien Lacour wrote: > > > > > > Some implementation details: do you really need autohell when the only > > > thing > > > you use it for is to detect the

Re: [dev] Some direction with my project

2022-04-15 Thread Hadrien Lacour
On Fri, Apr 15, 2022 at 09:37:07AM -0500, Chibby Bromanson wrote: > On Fri, Apr 15, 2022 at 08:34:51AM +, Hadrien Lacour wrote: > > On Thu, Apr 14, 2022 at 09:42:51PM -0500, Chibby Bromanson wrote: > > > Greetings, > > > > > > I am very impressed with the suckless software movement and I am

Re: [dev] Some direction with my project

2022-04-15 Thread Chibby Bromanson
On Fri, Apr 15, 2022 at 02:20:25PM +0200, Wolf wrote: > On 2022-04-15 08:51:50 +, Hadrien Lacour wrote: > > > > Some implementation details: do you really need autohell when the only thing > > you use it for is to detect the presence of sys/xattr.h? That's only a few > > lines > > of sh

Re: [dev] Some direction with my project

2022-04-15 Thread Chibby Bromanson
On Fri, Apr 15, 2022 at 08:34:51AM +, Hadrien Lacour wrote: > On Thu, Apr 14, 2022 at 09:42:51PM -0500, Chibby Bromanson wrote: > > Greetings, > > > > I am very impressed with the suckless software movement and I am doing > > my best to try to create my own tool that follows the philosophy. I

Re: [dev] Some direction with my project

2022-04-15 Thread NRK
Hi Dorian, Took a quick glance into the source and a couple things which stood out, that haven't been pointed out already: #define BUFFER_SIZE MAX_TAGS * MAX_TAG_SIZE Macros like this pretty much always should be parenthesized. It costs nothing and can save you from getting into

Re: [dev] Some direction with my project

2022-04-15 Thread Страхиња Радић
On 22/04/15 02:20, Wolf wrote:> > Configure script provides lot more then detection though. I have yet to > see a hand written make providing support for --program-prefix or > --program-transform-name for example. For packaging software, these > additional features are useful from time to time.

Re: [dev] Some direction with my project

2022-04-15 Thread Wolf
On 2022-04-15 08:51:50 +, Hadrien Lacour wrote: > > Some implementation details: do you really need autohell when the only thing > you use it for is to detect the presence of sys/xattr.h? That's only a few > lines > of sh calling cc to do the same. > Personally, I use POSIX sh to "augment"

Re: [dev] Some direction with my project

2022-04-15 Thread Laslo Hunhold
On Thu, 14 Apr 2022 21:42:51 -0500 Chibby Bromanson wrote: Dear Dorian, > I am very impressed with the suckless software movement and I am doing > my best to try to create my own tool that follows the philosophy. I > still have a lot to learn with the C language but so far I am proud of > the

Re: [dev] Some direction with my project

2022-04-15 Thread Hadrien Lacour
On Thu, Apr 14, 2022 at 09:42:51PM -0500, Chibby Bromanson wrote: > Greetings, > > I am very impressed with the suckless software movement and I am doing > my best to try to create my own tool that follows the philosophy. I > still have a lot to learn with the C language but so far I am proud of

Re: [dev] Some direction with my project

2022-04-15 Thread Hadrien Lacour
On Thu, Apr 14, 2022 at 09:42:51PM -0500, Chibby Bromanson wrote: > Greetings, > > I am very impressed with the suckless software movement and I am doing > my best to try to create my own tool that follows the philosophy. I > still have a lot to learn with the C language but so far I am proud of

[dev] Some direction with my project

2022-04-14 Thread Chibby Bromanson
Greetings, I am very impressed with the suckless software movement and I am doing my best to try to create my own tool that follows the philosophy. I still have a lot to learn with the C language but so far I am proud of the results. I would be greatful if someone would review my tool and