<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 17, 2021 at 2:12 PM Joerg Vehlow <<a href="mailto:lkml@jv-coder.de">lkml@jv-coder.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
> It'd be great if a passing string end with the suffix "_", be used to <br>
> clearly distinguish the PID number.<br>
><br>
> Something like:<br>
> LTP_GET_TMP_FILENAME(tmpfname, "pts_aio_cancel_1_1_");<br>
><br>
> This comment applies to all of the changing files in this patch, or we <br>
> can modify it in the macro prototype.<br>
Is this really of any use? I was also thinking about removing the prefix <br>
part of the filename completely.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">In fact useless, and nobody cares about the temp file name.</div><div class="gmail_default" style="font-size:small">But that'll make naming make some sense or tidy, IMO.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I just decided to keep it, so files, that are not deleted automatically <br>
can be identified as belonging to the test.<br>
If I would implement this, then only in the macro definition.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">If I was the author, prefer to do that in macro definition too:).</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>