<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra">>> When I decode ustat syscall</div><div class="gmail_extra">> # include DEF_MPERS_TYPE(ustat_t) will fault</div><div class="gmail_extra">> >  Makefile.am | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-)</div><div class="gmail_extra">></div><div class="gmail_extra">>Nice catch.  Would you write a changelog entry for this fix, please?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Makefile.am: fix regular expression can not tolerate extra whitespace</div><div class="gmail_extra"><br></div><div class="gmail_extra">If have whitespace between pound and include, the regular expression</div><div class="gmail_extra">will not match.</div><div class="gmail_extra"><br></div><div class="gmail_extra">* Makefile.am (m%_type_defs.h): Fix regular expression.</div><div class="gmail_extra"><br></div><div class="gmail_extra">>> diff --git a/Makefile.am b/Makefile.am</div><div class="gmail_extra">>> index afc3dd2..a7d7006 100644</div><div class="gmail_extra">>> --- a/Makefile.am</div><div class="gmail_extra">>> +++ b/Makefile.am</div><div class="gmail_extra">>> @@ -880,7 +880,7 @@ mpers-m%.stamp: $(srcdir_mpers_source_files) | printers.h</div><div class="gmail_extra">>></div><div class="gmail_extra">>>  m%_type_defs.h: $(srcdir_mpers_source_files)</div><div class="gmail_extra">>>       for f in $^; do \</div><div class="gmail_extra">>> -             sed -r -n 's/^#include DEF_MPERS_TYPE\(([^)]+)\)/#ifdef MPERS_$(mpers_PREFIX)\1\n# define \1 MPERS_$(mpers_PREFIX)\1\n#endif/p' $$f || exit; \</div><div class="gmail_extra">>> +             sed -r -n 's/^#[[:space:]]*include DEF_MPERS_TYPE\(([^)]+)\)/#ifdef MPERS_$(mpers_PREFIX)\1\n# define \1 MPERS_$(mpers_PREFIX)\1\n#endif/p' $$f || exit; \</div><div class="gmail_extra">>>       done > $@-t</div><div class="gmail_extra">>>       echo '#undef MPERS_PRINTER_NAME' >> $@-t</div><div class="gmail_extra">>>       echo '#define MPERS_PRINTER_NAME(printer_name) printer_name' >> $@-t</div><div class="gmail_extra"><br></div><div class="gmail_extra">--</div><div class="gmail_extra">JingPiao Chen</div><div><br></div></div></div>