Debian Patches

Status for xmacro/0.3pre-20000911-10

Patch Description Author Forwarded Bugs Origin Last update
xmacro_0.3pre-20000911-7.patch upstream changes found in xmacro 0.3pre-20000911-7 Update C++ headers to allowing building with >= gcc 4.3
Update for FTBFS with >= gcc 6
Eduard Bloch <blade@debian.org> Kumar Appaiah <akumar@ee.iitm.ac.in> no 2024-05-27
1000-no-duplicate-last-event.patch Avoid playing last action twice. After the last command is read, the program expects that cin will set
the eof bit. However, if there is any whitespace after the last
command (such as the final newline), then it won't set the eof until
after that is read on the next iteration. When the whitespace is read
by itself, cin sets eof and fail, and it doesn't alter the ev
string. Because ev is not re-set, it is exactly the same string it
was last iteration, which means that the last command gets executed
twice.

I think the best solution is to check if cin fails, and if it does,
continue or break. Another is to set ev to an empty string before it
gets used in cin, so that if cin fails then ev is just a harmless
empty string.
Brandon <winterknight@nerdshack.com> no debian 2024-07-11

All known versions for source package 'xmacro'

Links