develooper Front page | perl.perl5.porters | Postings from April 2018

[perl #132773] perlbug overwrite existing perlbug.rep without notice

From:
Karl Williamson via RT
Date:
April 3, 2018 16:30
Subject:
[perl #132773] perlbug overwrite existing perlbug.rep without notice
Message ID:
rt-4.0.24-29940-1522773009-1864.132773-15-0@perl.org
On Sat, 27 Jan 2018 02:33:37 -0800, konkove@gmail.com wrote:
> Hi.
> 
> When new report is created the `perlbug` suggest file name:
> 
> 
>     Name of file to save message in [perlbug.rep]:
> 
> 
> But in case this file already exists it is overwrited without notice.
> 
>     Name of file to save message in [perlbug.rep]:
> 
>     Message saved.
> 
> 
> 
> There should be some warning about that or it should suggest
> unexisting file name.
> For example: perlbug2.rep

How about the attached patch?
-- 
Karl Williamson

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=132773



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About