skip over groups with whitepsace in their name so we don't create illegal index files

This commit is contained in:
Axel Kohlmeyer
2024-06-17 17:23:05 -04:00
parent c867bb3e28
commit ab800b4e26

View File

@ -84,6 +84,10 @@ void Group2Ndx::write_group(FILE *fp, int gid)
bigint gcount = group->count(gid);
int lnum, width, cols;
if (utils::strmatch(group->names[gid], "\\s+")) {
if (fp) utils::logmesg(lmp, " skipping group {}...done", group->names[gid]);
return;
}
if (fp) {
utils::logmesg(lmp, " writing group {}...", group->names[gid]);