linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Andrew Morton <akpm@osdl.org>, Jeff Dike <jdike@addtoit.com>,
	Davide Brini <davide.brini@unibo.it>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [uml-devel] [PATCH 1/2] UML - Fix umid in xterm titles
Date: Sat, 31 Mar 2007 01:10:03 +0200	[thread overview]
Message-ID: <200703310110.03985.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20070330145255.GA5466@c2.user-mode-linux.org>

On venerdì 30 marzo 2007, Jeff Dike wrote:
> From: Davide Brini <davide.brini@unibo.it>
>
> Calls lines_init() *after* xterm_title is modified to include umid.
>
> Signed-off-by: Davide Brini <davide.brini@unibo.it>
> Signed-off-by: Jeff Dike <jdike@linux.intel.com>

Acked-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

> --
>  arch/um/drivers/ssl.c           |    4 ++--
>  arch/um/drivers/stdio_console.c |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> Index: linux-2.6.21-mm/arch/um/drivers/ssl.c
> ===================================================================
> --- linux-2.6.21-mm.orig/arch/um/drivers/ssl.c	2007-03-30
> 10:11:01.000000000 -0400 +++
> linux-2.6.21-mm/arch/um/drivers/ssl.c	2007-03-30 10:28:51.000000000 -0400
> @@ -191,12 +191,12 @@ static int ssl_init(void)
>  	ssl_driver = register_lines(&driver, &ssl_ops, serial_lines,
>  				    ARRAY_SIZE(serial_lines));
>
> -	lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);
> -
>  	new_title = add_xterm_umid(opts.xterm_title);
>  	if (new_title != NULL)
>  		opts.xterm_title = new_title;
>
> +	lines_init(serial_lines, ARRAY_SIZE(serial_lines), &opts);
> +
>  	ssl_init_done = 1;
>  	register_console(&ssl_cons);
>  	return 0;
> Index: linux-2.6.21-mm/arch/um/drivers/stdio_console.c
> ===================================================================
> --- linux-2.6.21-mm.orig/arch/um/drivers/stdio_console.c	2007-03-30
> 10:11:01.000000000 -0400 +++
> linux-2.6.21-mm/arch/um/drivers/stdio_console.c	2007-03-30
> 10:28:51.000000000 -0400 @@ -166,12 +166,12 @@ int stdio_init(void)
>  		return -1;
>  	printk(KERN_INFO "Initialized stdio console driver\n");
>
> -	lines_init(vts, ARRAY_SIZE(vts), &opts);
> -
>  	new_title = add_xterm_umid(opts.xterm_title);
>  	if(new_title != NULL)
>  		opts.xterm_title = new_title;
>
> +	lines_init(vts, ARRAY_SIZE(vts), &opts);
> +
>  	con_init_done = 1;
>  	register_console(&stdiocons);
>  	return 0;
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel



-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


      reply	other threads:[~2007-03-30 23:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 14:52 [uml-devel] [PATCH 1/2] UML - Fix umid in xterm titles Jeff Dike
2007-03-30 23:10 ` Blaisorblade [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703310110.03985.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=akpm@osdl.org \
    --cc=davide.brini@unibo.it \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox