Re: [PATCH] Add kernel-version dependent configuration directory

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

 



В Wed, 26 Feb 2020 11:07:56 +0100
Alexey Gladkov <gladkov.alexey@xxxxxxxxx> пишет:

> > +
> > +		configs_count = sizeof(default_config_paths) / sizeof(char *);  
> 
> Is it ARRAY_SIZE ?

Yes, will be fixed.
 
> > +		tmp_config_paths[configs_count-1] = get_ver_config_path("/lib");
> > +		tmp_config_paths[configs_count] = get_ver_config_path("/etc");  
> 
> Please use SYSCONFDIR. All other parts of the code use it.

Thank you, will be fixed.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux