Thanks.<br><br>Actually, it was like this:<br>1) I posted the patch in irc. It wasn't noticed.<br>2) The next day i asked how should i do it. I was told to email it here, and that posting it in irc is not ok.<br>3) I mailed the patch to the mailing list. I saw encoding problems.<br>
4) I started a discussion about encoding problems and what did i do wrong, giving the source of the patch and a screenshot of what the «git send-email» sent.<br>5) The patch was applied.<br><br>:-)<br><br><div class="gmail_quote">
2012/10/4 Dave Reisner <span dir="ltr"><<a href="mailto:d@falconindy.com" target="_blank">d@falconindy.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Oct 04, 2012 at 03:00:07AM +0400, Сковорода Никита Андреевич wrote:<br>
> From: Сковорода ? ?икита Андре евич <<a href="mailto:chalkerx@gmail.com">chalkerx@gmail.com</a>><br>
><br>
><br>
> Signed-off-by: Сковорода Никита Андреевич <<a href="mailto:chalkerx@gmail.com">chalkerx@gmail.com</a>><br>
> ---<br>
<br>
</div>This patch was already applied when you posted it in IRC:<br>
<br>
<a href="http://cgit.freedesktop.org/systemd/systemd/commit/?id=2f1bb51336e02" target="_blank">http://cgit.freedesktop.org/systemd/systemd/commit/?id=2f1bb51336e02</a><br>
<div><div class="h5"><br>
>  man/systemd-inhibit.xml | 3 ++-<br>
>  src/login/inhibit.c     | 3 ++-<br>
>  2 files changed, 4 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/man/systemd-inhibit.xml b/man/systemd-inhibit.xml<br>
> index f3ccee3..1218836 100644<br>
> --- a/man/systemd-inhibit.xml<br>
> +++ b/man/systemd-inhibit.xml<br>
> @@ -108,7 +108,8 @@<br>
>                                  <literal>sleep</literal>,<br>
>                                  <literal>idle</literal>,<br>
>                                  <literal>handle-power-key</literal>,<br>
> -                                <literal>handle-sleep-key</literal>,<br>
> +                                <literal>handle-suspend-key</literal>,<br>
> +                                <literal>handle-hibernate-key</literal>,<br>
>                                  <literal>handle-lid-switch</literal>,<br>
>                                  for inhibiting<br>
>                                  reboot/power-off/halt/kexec,<br>
> diff --git a/src/login/inhibit.c b/src/login/inhibit.c<br>
> index 28ce553..4735df7 100644<br>
> --- a/src/login/inhibit.c<br>
> +++ b/src/login/inhibit.c<br>
> @@ -162,7 +162,8 @@ static int help(void) {<br>
>                 "     --version            Show package version\n"<br>
>                 "     --what=WHAT          Operations to inhibit, colon separated list of:\n"<br>
>                 "                          shutdown, sleep, idle, handle-power-key,\n"<br>
> -               "                          handle-sleep-key, handle-lid-switch\n"<br>
> +               "                          handle-suspend-key, handle-hibernate-key,\n"<br>
> +               "                          handle-lid-switch\n"<br>
>                 "     --who=STRING         A descriptive string who is inhibiting\n"<br>
>                 "     --why=STRING         A descriptive string why is being inhibited\n"<br>
>                 "     --mode=MODE          One of block or delay\n"<br>
> --<br>
> 1.7.12.2<br>
><br>
<br>
</div></div>> _______________________________________________<br>
> systemd-devel mailing list<br>
> <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
<br>
</blockquote></div><br>