struct libscols_column *cl;
cl = scols_table_new_column(tb, cd->name, 0, cd->flags);
-
if (cl == NULL)
err(EXIT_FAILURE, _("failed to allocate output column"));
-
if (cxt->json)
scols_column_set_json_type(cl, cd->json_type);
-
-
}
/* standard caches */
cl = scols_table_new_column(tb, data, 0, cd->flags);
if (cl == NULL)
err(EXIT_FAILURE, _("failed to allocate output column"));
-
if (cxt->json)
scols_column_set_json_type(cl, cd->json_type);
-
}
for (i = 0; i < cxt->npossibles; i++) {