Bug#762829: Now misclassified as Java

2019-01-28 Thread Peter
On 19/01/2019 18:13, Hendrik Boom wrote:
> The example Pascal program in the original bug report is now 
> misclassified as Java source.  This is on a new buster install as of 
> 2019 01 19.
>
> guest@buster:~$ file Downloads/emil23m.pas 
> Downloads/emil23m.pas: Java source, ASCII text
> guest@buster:~$ file --version
> file-5.35
> magic file from /etc/magic:/usr/share/misc/magic
> guest@buster:~$ 
>
> -- hendrik
>

Is it possible for a valid Java source to finish with 'end;' or 'end.' ?
If not, that might be sufficient to separate Pascal from Java.


Regards,
Peter B



Bug#762829: Now misclassified as Java

2019-01-19 Thread Hendrik Boom
The example Pascal program in the original bug report is now 
misclassified as Java source.  This is on a new buster install as of 
2019 01 19.

guest@buster:~$ file Downloads/emil23m.pas 
Downloads/emil23m.pas: Java source, ASCII text
guest@buster:~$ file --version
file-5.35
magic file from /etc/magic:/usr/share/misc/magic
guest@buster:~$ 

-- hendrik