Re: Debugging fun (wrt C modernization change)

2024-05-19 Thread Panu Matilainen
On 5/17/24 22:42, Owen Taylor wrote: On Tue, May 14, 2024 at 6:50 AM Panu Matilainen > wrote: Patch and source numbers start from zero, that goes for automatically numbered patches too. So there's an off by one in the application, and the latter %autop

Re: Debugging fun (wrt C modernization change)

2024-05-17 Thread Owen Taylor
On Tue, May 14, 2024 at 6:50 AM Panu Matilainen wrote: > > Patch and source numbers start from zero, that goes for automatically > numbered patches too. So there's an off by one in the application, and > the latter %autopatch which is supposed to apply patches >= 2 simply has > nothing to do, and

Re: Debugging fun (wrt C modernization change)

2024-05-17 Thread Adam Williamson
On Fri, 2024-05-17 at 10:32 +0200, Michael J Gruber wrote: > Kevin Kofler via devel venit, vidit, dixit 2024-05-16 22:39:00: > > Panu Matilainen wrote: > > > Patch and source numbers start from zero, that goes for automatically > > > numbered patches too. So there's an off by one in the application

Re: Debugging fun (wrt C modernization change)

2024-05-17 Thread Panu Matilainen
On 5/17/24 15:53, Kevin Kofler via devel wrote: Michael J Gruber wrote: %patchlist and %auto* should just go away, or at least banned from Fedora by a git hook rejecting such specfiles. We also have unnumbered patch source definition lines, don't we? IIRC, unnumbered Source: or Patch: just d

Re: Debugging fun (wrt C modernization change)

2024-05-17 Thread Kevin Kofler via devel
Michael J Gruber wrote: >> %patchlist and %auto* should just go away, or at least banned from Fedora >> by a git hook rejecting such specfiles. > > We also have unnumbered patch source definition lines, don't we? IIRC, unnumbered Source: or Patch: just defaults to Source0: resp. Patch0:. But it

Re: Debugging fun (wrt C modernization change)

2024-05-17 Thread Panu Matilainen
On 5/17/24 11:32, Michael J Gruber wrote: Kevin Kofler via devel venit, vidit, dixit 2024-05-16 22:39:00: Panu Matilainen wrote: Patch and source numbers start from zero, that goes for automatically numbered patches too. So there's an off by one in the application, and the latter %autopatch whi

Re: Debugging fun (wrt C modernization change)

2024-05-17 Thread Michael J Gruber
Kevin Kofler via devel venit, vidit, dixit 2024-05-16 22:39:00: > Panu Matilainen wrote: > > Patch and source numbers start from zero, that goes for automatically > > numbered patches too. So there's an off by one in the application, and > > the latter %autopatch which is supposed to apply patches

Re: Debugging fun (wrt C modernization change)

2024-05-16 Thread Kevin Kofler via devel
Panu Matilainen wrote: > Patch and source numbers start from zero, that goes for automatically > numbered patches too. So there's an off by one in the application, and > the latter %autopatch which is supposed to apply patches >= 2 simply has > nothing to do, and falls through silently. That's a bu