Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange method of copying a filename can be changed to standard C methods... #87

Closed
edwardhartnett opened this issue Oct 13, 2021 · 0 comments · Fixed by #86
Closed
Assignees
Labels
enhancement New feature or request

Comments

@edwardhartnett
Copy link
Contributor

In bacio.c we have:

        i=0;
        while (i < namelen && isgraph(fname[i])) {
            realname[i]=fname[i];
            i++;
        }
        realname[i] = '\0';

Well we can do that the normal way in C in one line. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant