• Anel Husakovic's avatar
    dgcov: parsing without dot to get specific version · a59dffb0
    Anel Husakovic authored
    - Regression introduced 7baf24a0 for multidigit gcc dump.
    There is no dot in `dumpversion`.
    ```
    $ gcc -dumpversion
    10
    ```
    Otherwise it will fail and not produce the output
    ```
    Running dgcov
    Name "IO::Uncompress::Gunzip::GunzipError" used only once: possible typo at ./dgcov.pl line 197.
    Cannot parse gcc -dumpversion: 9
    ```
    
    - The warning `once` is always generated:
    ```
    Running dgcov
    Name "IO::Uncompress::Gunzip::GunzipError" used only once: possible typo at ./dgcov.pl line 197.
    <number>
    ```
    Suppresing the line `Name "IO::Uncompress::Gunzip::GunzipError" used only once: possible typo at ./dgcov.pl line 197.`
    with the patch.
    
    - Reviewed by: <>
    a59dffb0
dgcov.pl 6.23 KB