X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/2f59186c318eced4c75b2cd74767d13eee7899b1..09fbf4d0a21c9cad25cc3f12b1e3f365f850eb94:/codec/bincode.c diff --git a/codec/bincode.c b/codec/bincode.c index 0a7d5c5..af1e677 100644 --- a/codec/bincode.c +++ b/codec/bincode.c @@ -65,6 +65,7 @@ static const struct { const char *name; unsigned f; } flagtab[] = { { "igneqmid", CDCF_IGNEQMID }, { "ignzpad", CDCF_IGNZPAD }, { "ignnewl", CDCF_IGNNEWL }, + { "ignspc", CDCF_IGNSPC }, { "igninvch", CDCF_IGNINVCH }, { "ignjunk", CDCF_IGNJUNK }, { 0, 0, } @@ -139,7 +140,7 @@ int main(int argc, char *argv[]) const char *indent = ""; const char *imode, *omode, *ofile = 0; unsigned maxline = 64; - unsigned f = CDCF_IGNNEWL; + unsigned f = CDCF_IGNSPC | CDCF_IGNNEWL; const char *p; char *q; FILE *ifp, *ofp = stdout;