Subject: Re: [PATCH] new option BEEP_ONHALT_FOREVER
To: None <tech-kern@NetBSD.org>
From: =?ISO-8859-2?Q?M=E1ty=E1s_J=E1nos?= <jani@xoftware.de>
List: tech-kern
Date: 05/20/2006 22:45:58
This is a multi-part message in MIME format.

--Multipart=_Sat__20_May_2006_22_45_58_+0200_dpWo8v_RvShcJWg=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Sat, 20 May 2006 19:57:13 +0200
Quentin Garnier <cube@cubidou.net> wrote:

> I'd rather see this implemented as BEEP_ONHALT_COUNT == -1 (or maybe
> 0) than adding yet another option on the subject.  It will make the
> patch (and documentation) much simpler and clearer.

Hi,

I think you are right. Here comes the simplified version.

--Multipart=_Sat__20_May_2006_22_45_58_+0200_dpWo8v_RvShcJWg=
Content-Type: application/octet-stream;
 name="netbsd_beep_onhalt_forever_v2.diff"
Content-Disposition: attachment;
 filename="netbsd_beep_onhalt_forever_v2.diff"
Content-Transfer-Encoding: base64

SW5kZXg6IHN5cy9hcmNoL2kzODYvaTM4Ni9tYWNoZGVwLmMKPT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTog
L2N2c3Jvb3Qvc3JjL3N5cy9hcmNoL2kzODYvaTM4Ni9tYWNoZGVwLmMsdgpyZXRyaWV2aW5nIHJl
dmlzaW9uIDEuNTYwCmRpZmYgLXUgLXUgLXIxLjU2MCBtYWNoZGVwLmMKLS0tIHN5cy9hcmNoL2kz
ODYvaTM4Ni9tYWNoZGVwLmMJMiBNYXIgMjAwNSAxMTo0ODowMyAtMDAwMAkxLjU2MAorKysgc3lz
L2FyY2gvaTM4Ni9pMzg2L21hY2hkZXAuYwkyMCBNYXkgMjAwNiAyMDoxMDowOSAtMDAwMApAQCAt
Mjc3LDYgKzI3NywxMSBAQAogCiBleHRlcm4gaW50IHRpbWVfYWRqdXN0ZWQ7CiAKKyNpZmRlZiBC
R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