Re: cgit and global configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 25, 2019 at 06:10:15PM +0200, Christian Hesse wrote:

> We decided to go another way and introduced a constructor function which does
> initial environment setup:
> 
> https://git.zx2c4.com/cgit/commit/?id=034e3c7d56ba71ce281886fe8525b16d4559fac1
> 
> Everything (including tests) is happy with that.

Thanks for following up. I think that should be a fine solution. We'd
perhaps have considered using __attribute__((constructor)) ourselves
(which would presumably have a non-deterministic run order), but it's
not sufficiently portable for our purposes. So I don't think you'll run
into any issues going forward with that approach.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux