[minicom-Patches][314018] [PATCH] Disabling lockfile warnings when the device disappears (ttyUSB hot-unplug)

minicom-patches at alioth.debian.org minicom-patches at alioth.debian.org
Thu Feb 7 20:01:02 UTC 2013


minicom-Patches item #314018, was changed at 2013-02-07 21:01 by Adam Lackorzynski
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=300031&aid=314018&group_id=30018

>Status: Closed
Priority: 3
Submitted By: Jaromír Cápík (jcapik-guest)
>Assigned to: Adam Lackorzynski (al-guest)
Summary: [PATCH] Disabling lockfile warnings when the device disappears (ttyUSB hot-unplug) 
Category: None
Group: None
>Resolution: Fixed


Initial Comment:
Hello guys.

One of the open_term function arguments is called no_msgs and it's purpose is to block any messages produced in the open_term function when it is called from the do_terminal main loop in order to prevent the screen from being messed with garbage. However, the no_msgs variable is not passed to the lockfile_creation function and that causes messing of the screen in case of the device hot-unplug.

The attached patch introduces a new argument to the lockfile_creation function so that the lockfile related messages can be correctly blocked.

Please, check the patch and let me know.

Regards,
Jaromir.

--
Jaromir Capik
Red Hat Czech, s.r.o.
Software Engineer / BaseOS

Email: jcapik at redhat.com
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkynova 99/71, 612 45, Brno, Czech Republic
IC: 27690016 


----------------------------------------------------------------------

>Comment By: Adam Lackorzynski (al-guest)
Date: 2013-02-07 21:01

Message:
Hi Jaromir,

fine with me, committed slightly modified version. Please check.

Thanks, Adam

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=300031&aid=314018&group_id=30018



More information about the minicom-devel mailing list