[File] msdos/device driver regression (visual)

Christoph Biedl astron.com.bwoj at manchmal.in-ulm.de
Thu Aug 26 14:17:53 UTC 2021


Hello,

commit

    commit f60fc51b20b21dd46e88c703d7d22a96091a422e
    Author: Christos Zoulas <christos at zoulas.com>
    Date:   Sun Jul 26 16:48:58 2020 +0000

        Add missing extensions
        Add spaces where necessary (Joerg Jenderek)

assumed backslash expansion was possible in the message field of a magic
line. But it isn't, and therefore I get

| FDXMS286.SYS: DOS executable (character device driver\040XMSXXXX0)
|                                                      ^^^^

instead of

| FDXMS286.SYS: DOS executable (character device driver XMSXXXX0)

The obvious way to fix that was to use trailing spaces instead of \040 -
something I'd prefer to avoid though.

Aside, there are already quite a few trailing space in Magdir. I reckon
not always by intention.

    Christoph


More information about the File mailing list