Re: small patch for file(1)

2017-07-01 Thread Nicholas Marriott
ok nicm, it should not fclose this because it didn't open it On Sat, Jul 01, 2017 at 10:19:32AM -0400, Bryan Steele wrote: > magic_load() is only called in main and fcloses magicfp immediately, > this removes a redundant fclose. > > Index: magic-load.c >

small patch for file(1)

2017-07-01 Thread Bryan Steele
magic_load() is only called in main and fcloses magicfp immediately, this removes a redundant fclose. Index: magic-load.c === RCS file: /cvs/src/usr.bin/file/magic-load.c,v retrieving revision 1.24 diff -u -p -u -r1.24 magic-load.c