Chris-plus-alphanumericgibberish / dNAO

Merge of dnethack onto the nethack.alt.org sources.
Other
20 stars 29 forks source link

3.4.4 H2162 - topten handling of long names #2255

Closed demogorgon22 closed 4 months ago

demogorgon22 commented 4 months ago

Take upstream patch for being killed by a monster with a long name can result in nethack going into an infinte loop printing spaces. Handle this by detecting attempts to wrap the topten output on a word that is too long and just inserting breaks in the middle of the word in this case.

This lead to a 15 GB dumplog today and K2 wants this fixed.