FDOS / kernel

FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.
http://kernel.fdos.org/
GNU General Public License v2.0
811 stars 144 forks source link

exeflat: Update usage text for indirect file #187

Closed andrewbird closed 3 months ago

ecm-pushbx commented 3 months ago

https://github.com/FDOS/kernel/blob/bf53e22d7a1797474824855c04e420a4a36b5755/utils/exeflat.c#L445

What's the purpose of this loop? It seems to decrement len but repeatedly compares the same *str?

ecm-pushbx commented 3 months ago

And len isn't used at all after this, it appears.

ecm-pushbx commented 3 months ago

Fixed in https://github.com/FDOS/kernel/commit/2ce6dc00dece3e17bf7029268a09d80aab513038