[parted-devel] FYI/TODO: massive duplication in parted.c

Jim Meyering jim at meyering.net
Mon May 14 16:37:23 UTC 2007


Whoa!
There is a very unhealthy amount of duplication in parted.c: at least
do_mkpart and do_mkpartfs share most of their 170-line function bodies,
verbatim.  Also, do_mkfs and do_mkpartfs have big blocks in common.

This probably doesn't matter, but just in case any of that code
survives the upcoming UI rewrite, now we all know this would make a
good new-developer project.



More information about the parted-devel mailing list