diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-17 00:13:30 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-17 00:13:30 -0500 |
commit | 1c2cdc4d8e28ce1b4c0d1ba75686f05fd5dd772d (patch) | |
tree | 32257d5a12cc0dc06c62e4212806573477065080 /src/mime.c | |
parent | b5dc6f2c428b4555d3e56e628605f54e4a63b16e (diff) | |
download | spmc-1c2cdc4d8e28ce1b4c0d1ba75686f05fd5dd772d.tar.gz |
Refactor continues:
* Implement multiple manifests
* Random bug fixes
* More bugs added
* Start removing references to SPM_GLOBAL.package_dir
* Start using manifests for everything
* Simplify mkmanifest_interface
Diffstat (limited to 'src/mime.c')
-rw-r--r-- | src/mime.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ Process *file_command(const char *_filename) { const char *fmt_cmd = "file -E -i \"%s\" 2>&1"; #endif - strchrdel(filename, "&;|"); + strchrdel(filename, SHELL_INVALID); sprintf(sh_cmd, fmt_cmd, filename); shell(&proc_info, SHELL_OUTPUT, sh_cmd); |