file thinks golang source files (*.go) are text/x-java types

Bug #912791 reported by fedesog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
file (Ubuntu)
New
Undecided
Unassigned

Bug Description

calling "file -i" on a go source files that contains the "import" keywork (basically any go source) tricks the command into thinking that the file is a java source file:

example:
$file -i anygosource.go
anygosource.go: text/x-java;

while file should return
anygosource.go: text/x-go;

file version: 5.04

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.