Index: trunk/tools/slayerd/slayerd.cc |
— | — | @@ -21,6 +21,7 @@ |
22 | 22 | #include <map> |
23 | 23 | #include <set> |
24 | 24 | #include <cerrno> |
| 25 | +#include <cstring> |
25 | 26 | |
26 | 27 | #include <sys/types.h> |
27 | 28 | #include <sys/mman.h> |
— | — | @@ -174,7 +175,7 @@ |
175 | 176 | if (!f) |
176 | 177 | throw std::runtime_error("could not read line from cmdline"); |
177 | 178 | |
178 | | - if (!(f >> _fullcomm)) |
| 179 | + if (!std::getline(f, _fullcomm)) |
179 | 180 | throw std::runtime_error("could not parse cmdline"); |
180 | 181 | } |
181 | 182 | } |
Index: trunk/tools/slayerd/debian/changelog |
— | — | @@ -1,3 +1,9 @@ |
| 2 | +slayerd (1.6) unstable; urgency=low |
| 3 | + |
| 4 | + * Include the full command line in the mail message. |
| 5 | + |
| 6 | + -- River Tarnell <river@loreley.flyingparchment.org.uk> Sun, 03 May 2009 05:35:21 +0000 |
| 7 | + |
2 | 8 | slayerd (1.5) unstable; urgency=low |
3 | 9 | |
4 | 10 | * "data" figure appears non-useful, go back to RSS. |