]> git.lizzy.rs Git - plan9front.git/commit
file: detect webp files (thanks kemal)
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sat, 3 Apr 2021 17:32:47 +0000 (19:32 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sat, 3 Apr 2021 17:32:47 +0000 (19:32 +0200)
commitd41c867696019e4408431230d8fae0dcf7603dc4
treee47f555686f076871ffaf71d1c74d18459866b82
parent958b4764994eb874ef0382f86f6dfe6ee5db2cf9
file: detect webp files (thanks kemal)

this patch adds a small check to the "iff" function, so this
way file can detect webp files. tested with a webp file i
found randomly.
sys/src/cmd/file.c