diff options
author | Omar Polo <op@omarpolo.com> | 2022-04-08 13:52:35 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-04-08 13:52:35 +0000 |
commit | 54203115cd0121ee0e44f5e58202a4d8054b9c09 (patch) | |
tree | d28758a8d5ce0dd1448ba2e35e30de6d9bbe6b2d /gmid.h | |
parent | 9b6499535963c128de4a5a891a70b2636a54dad1 (diff) |
don't load the built-in list when using `types'
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -182,8 +182,15 @@ struct etm { /* extension to mime */ struct mime { struct etm *t; - size_t len; - size_t cap; + size_t len; + size_t cap; + + /* + * Backward compatibility: types override the built-in list, + * but the deprecated `mime' and `map' don't. It's still too + * early to remove `mime' and `map' from the config parser. + */ + int skip_defaults; }; struct conf { |