From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QQM8J-0007d6-Av for garchives@archives.gentoo.org; Sat, 28 May 2011 16:12:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1F0B1C0D4; Sat, 28 May 2011 16:12:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 745791C0D4 for ; Sat, 28 May 2011 16:12:36 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6BDE1B401B for ; Sat, 28 May 2011 16:12:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id F268480505 for ; Sat, 28 May 2011 16:12:34 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <11d8b70d74b339777c7849dc3688244e85587501.vapier@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-update.c X-VCS-Directories: src/rc/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 11d8b70d74b339777c7849dc3688244e85587501 Date: Sat, 28 May 2011 16:12:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 4c540a0baab3ddf28853affa14bf1488 commit: 11d8b70d74b339777c7849dc3688244e85587501 Author: Mike Frysinger gentoo org> AuthorDate: Sat May 28 16:11:37 2011 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sat May 28 16:11:37 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D11d8b70d rc-update: sort "show" output X-Gentoo-Bug: 367305 X-Gentoo-Bug-URL: http://bugs.gentoo.org/367305 Signed-off-by: Mike Frysinger gentoo.org> --- src/rc/rc-update.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/rc/rc-update.c b/src/rc/rc-update.c index 5517c69..40dfb50 100644 --- a/src/rc/rc-update.c +++ b/src/rc/rc-update.c @@ -164,6 +164,7 @@ show(RC_STRINGLIST *runlevels, bool verbose) char buffer[PATH_MAX]; size_t l; =20 + rc_stringlist_sort(&services); TAILQ_FOREACH(service, services, entries) { in =3D rc_stringlist_new(); inone =3D false; @@ -299,6 +300,7 @@ rc_update(int argc, char **argv) runlevels =3D rc_runlevel_list(); } =20 + rc_stringlist_sort(&runlevels); show (runlevels, verbose); } else { if (!service)