Re: Good idea to rename files in include/uapi/ ?

2020-06-22 Thread Alexander A. Klimov
Am 22.06.20 um 13:37 schrieb Jan Engelhardt: On Monday 2020-06-15 01:34, Alexander A. Klimov wrote: A header file rename is no problem. We even have dummy headers Hmm.. if I understand all of you correctly, David, Stefano, Pablo and Al say like no, not a good idea, but only you, Jan, say

Re: Good idea to rename files in include/uapi/ ?

2020-06-22 Thread Pablo Neira Ayuso
On Mon, Jun 22, 2020 at 01:37:09PM +0200, Jan Engelhardt wrote: > > On Monday 2020-06-15 01:34, Alexander A. Klimov wrote: > >> > >> A header file rename is no problem. We even have dummy headers > > Hmm.. if I understand all of you correctly, David, Stefano, Pablo and Al say > > like no, not a

Re: Good idea to rename files in include/uapi/ ?

2020-06-22 Thread Jan Engelhardt
On Monday 2020-06-15 01:34, Alexander A. Klimov wrote: >> >> A header file rename is no problem. We even have dummy headers > Hmm.. if I understand all of you correctly, David, Stefano, Pablo and Al say > like no, not a good idea, but only you, Jan, say like should be no problem. > > Jan, do

Re: Good idea to rename files in include/uapi/ ?

2020-06-15 Thread Geert Uytterhoeven
Hi Alexander, On Sun, Jun 14, 2020 at 9:44 PM Alexander A. Klimov wrote: > *Is it a good idea to rename files in include/uapi/ ?* No it is not: include/uapi/ is append-only. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

Re: Good idea to rename files in include/uapi/ ?

2020-06-15 Thread Geert Uytterhoeven
Hi Alexander, On Mon, Jun 15, 2020 at 1:11 AM Alexander A. Klimov wrote: > Am 14.06.20 um 22:34 schrieb Stefano Brivio: > > On Sun, 14 Jun 2020 21:41:17 +0200 > >> Also even on a case-sensitive one VIm seems to have trouble with editing > >> both case-insensitively equal files at the same time.

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Alexander A. Klimov
Am 14.06.20 um 23:08 schrieb Jan Engelhardt: On Sunday 2020-06-14 22:19, David Howells wrote: Alexander A. Klimov wrote: *Is it a good idea to rename files in include/uapi/ ?* Very likely not. If programs out there are going to be built on a case-sensitive filesystem (which happens

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Alexander A. Klimov
qual files at the same time. ...what trouble exactly? vi -O2 include/uapi/linux/netfilter/xt_CONNMARK.h include/uapi/linux/netfilter/xt_connmark.h ... opens the first file two times. I was going to make a patch renaming the respective duplicates, but I'm not sure: *Is it a good idea to re

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Al Viro
nst vim. Or use a vi variant without such a problem (FWIW, nvi has nothing of that sort). > I was going to make a patch renaming the respective duplicates, but I'm not > sure: > > *Is it a good idea to rename files in include/uapi/ ?* It is not. Strictly speaking, C99 allows implementa

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Pablo Neira Ayuso
On Sun, Jun 14, 2020 at 11:08:08PM +0200, Jan Engelhardt wrote: > > On Sunday 2020-06-14 22:19, David Howells wrote: > >Alexander A. Klimov wrote: > > > >> *Is it a good idea to rename files in include/uapi/ ?* > > > >Very likely not. If programs out t

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Jan Engelhardt
On Sunday 2020-06-14 22:19, David Howells wrote: >Alexander A. Klimov wrote: > >> *Is it a good idea to rename files in include/uapi/ ?* > >Very likely not. If programs out there are going to be built on a >case-sensitive filesystem (which happens all the time), they're g

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Stefano Brivio
have trouble with editing > both case-insensitively equal files at the same time. ...what trouble exactly? > I was going to make a patch renaming the respective duplicates, but I'm > not sure: > > *Is it a good idea to rename files in include/uapi/ ?* I'm not sure it's a goo

Re: Good idea to rename files in include/uapi/ ?

2020-06-14 Thread David Howells
Alexander A. Klimov wrote: > *Is it a good idea to rename files in include/uapi/ ?* Very likely not. If programs out there are going to be built on a case-sensitive filesystem (which happens all the time), they're going to break if you rename the headers. We're kind of stuck with them. David

Good idea to rename files in include/uapi/ ?

2020-06-14 Thread Alexander A. Klimov
at the same time. I was going to make a patch renaming the respective duplicates, but I'm not sure: *Is it a good idea to rename files in include/uapi/ ?* Best, AK