adddocsref.pl: enable warnings, fix one

This commit is contained in:
Viktor Szakats 2025-07-11 15:17:41 +02:00
parent f5bd582e79
commit ffc825c197
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -25,9 +25,12 @@
# pass files as argument(s)
use strict;
use warnings;
my $docroot="https://curl.se/libcurl/c";
for $f (@ARGV) {
for my $f (@ARGV) {
open(NEW, ">$f.new");
open(F, "<$f");
while(<F>) {