summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/daemonize.py
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2014-08-20 08:23:27 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-25 08:57:45 +0100
commit6d08e5bb09293c03d8953831888c64d8eca889bf (patch)
tree7a2d7dff6f1db1324d84204a4c63669f59d23761 /bitbake/lib/bb/daemonize.py
parent91083de4cb03bcb279ede3024cd2660b6c653808 (diff)
downloadpoky-6d08e5bb09293c03d8953831888c64d8eca889bf.tar.gz
bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional.
(Bitbake rev: 587b144ee409d444494d8d7f2d1c53ede8f7c953) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/daemonize.py')
-rw-r--r--bitbake/lib/bb/daemonize.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/bitbake/lib/bb/daemonize.py b/bitbake/lib/bb/daemonize.py
index 898820b069..346a618582 100644
--- a/bitbake/lib/bb/daemonize.py
+++ b/bitbake/lib/bb/daemonize.py
@@ -12,8 +12,11 @@ A failed call to fork() now raises an exception.
12 12
13References: 13References:
14 1) Advanced Programming in the Unix Environment: W. Richard Stevens 14 1) Advanced Programming in the Unix Environment: W. Richard Stevens
15 2) Unix Programming Frequently Asked Questions: 15 http://www.apuebook.com/apue3e.html
16 http://www.erlenstar.demon.co.uk/unix/faq_toc.html 16 2) The Linux Programming Interface: Michael Kerrisk
17 http://man7.org/tlpi/index.html
18 3) Unix Programming Frequently Asked Questions:
19 http://www.faqs.org/faqs/unix-faq/programmer/faq/
17 20
18Modified to allow a function to be daemonized and return for 21Modified to allow a function to be daemonized and return for
19bitbake use by Richard Purdie 22bitbake use by Richard Purdie
@@ -146,7 +149,7 @@ def createDaemon(function, logfile):
146 # OR 149 # OR
147 # 150 #
148 # Use the getrlimit method to retrieve the maximum file descriptor number 151 # Use the getrlimit method to retrieve the maximum file descriptor number
149 # that can be opened by this process. If there is not limit on the 152 # that can be opened by this process. If there is no limit on the
150 # resource, use the default value. 153 # resource, use the default value.
151 # 154 #
152 import resource # Resource usage information. 155 import resource # Resource usage information.