Skip to content

Conversation

jaseg
Copy link

@jaseg jaseg commented Jul 13, 2014

I kind of got carried away adding desktop notifications with progress bars to this tool.

The code now uses fstatat, readlinkat and openat to replace worrysome handling of large on-stack buffers with handling of worrysome amounts of fds. Also I removed some unnecessary repeated looping over /proc and an unnecessary intermediate result array. Also, the code is now identifying files by inode number instead of comparing strings. This is simpler and will still work almost always.

If really necessary, I can split this into a proper commit series, however I won't do that before Tuesday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant