2006-01-17 10:07:30

by Victor Shcherbatyuk

[permalink] [raw]
Subject: RE: [Bluez-devel] Problems with smart phones when using a"silent"kernel

Marcel,

Now using daemon(3) .

Regards,
Victor.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dimitry
Andric
Sent: Monday, January 16, 2006 17:18 PM
To: [email protected]
Subject: Re: [Bluez-devel] Problems with smart phones when using
a"silent"kernel

Victor Shcherbatyuk wrote:
> This fixes the problem with console redirected to /dev/null.
---snip---
> + dup2(fd, STDIN_FILENO);
> + dup2(fd, STDOUT_FILENO);
> + dup2(fd, STDERR_FILENO);

Heheh, yet another reason to always use daemon(3) instead of rolling
your own!




This e-mail message contains information which is confidential and may be privileged. It is intended for use by the addressee only. If you are not the intended addressee, we request that you notify the sender immediately and delete or destroy this e-mail message and any attachment(s), without copying, saving, forwarding, disclosing or using its contents in any other way. TomTom N.V., TomTom International BV or any other company belonging to the TomTom group of companies will not be liable for damage relating to the communication by e-mail of data, documents or any other information.


Attachments:
sdpd_daemonize.patch (1.56 kB)
sdpd_daemonize.patch

2006-01-17 10:43:57

by Marcel Holtmann

[permalink] [raw]
Subject: RE: [Bluez-devel] Problems with smart phones when using a"silent"kernel

Hi Victor,

> Now using daemon(3) .

the patch is in the CVS now. Thanks.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel