bammv / sguil

Sguil client for NSM
GNU General Public License v3.0
213 stars 74 forks source link

replace fileutil::magic::mimetype with fileutil::magic::filetype #58

Open cherdt opened 4 years ago

cherdt commented 4 years ago

fileutil::magic::mimetype does not exist in newer versions of Tcl, but fileutil::magic::filetype can be used as a drop-in replacement.

http://blog.tcl.tk/17368

After making a change in my local version of Sguil 1.0.0, I was able to run squild on Ubuntu 18.04 LTS with Tcl 8.6. I can submit a pull request if you are interested. Not sure how this would affect installs with older versions of Tcl.

SonVuDuc commented 3 years ago

fileutil::magic::mimetype does not exist in newer versions of Tcl, but fileutil::magic::filetype can be used as a drop-in replacement.

http://blog.tcl.tk/17368

After making a change in my local version of Sguil 1.0.0, I was able to run squild on Ubuntu 18.04 LTS with Tcl 8.6. I can submit a pull request if you are interested. Not sure how this would affect installs with older versions of Tcl.

Can you tell me how you did it ?