aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 02:58:59 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 02:58:59 +0200
commit5370bfb123266ab5716f321e43d3f8f6da7d7143 (patch)
treefb4a1500d571aee4c36dc2aa5510304d5724cf07
parent90a9904e9ef5f2fb70e1952cb1a68bd9213bcde3 (diff)
downloadbusybox-w32-5370bfb123266ab5716f321e43d3f8f6da7d7143.tar.gz
busybox-w32-5370bfb123266ab5716f321e43d3f8f6da7d7143.tar.bz2
busybox-w32-5370bfb123266ab5716f321e43d3f8f6da7d7143.zip
documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--README4
-rw-r--r--archival/dpkg.c4
-rw-r--r--docs/Serial-Programming-HOWTO.txt2
-rw-r--r--docs/busybox_footer.pod4
-rw-r--r--docs/contributing.txt2
-rw-r--r--docs/logging_and_backgrounding.txt4
-rw-r--r--docs/mdev.txt2
-rw-r--r--docs/new-applet-HOWTO.txt4
-rw-r--r--docs/posix_conformance.txt2
-rw-r--r--docs/style-guide.txt2
-rw-r--r--include/libbb.h2
-rw-r--r--include/usage.h6
-rw-r--r--libbb/parse_config.c2
-rw-r--r--miscutils/inotifyd.c4
-rw-r--r--networking/tftp.c2
-rw-r--r--testsuite/README2
16 files changed, 24 insertions, 24 deletions
diff --git a/README b/README
index 40490449e..318d44708 100644
--- a/README
+++ b/README
@@ -68,9 +68,9 @@ Downloading the current source code:
68 68
69 http://www.busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/ 69 http://www.busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/
70 70
71 Anonymous SVN access is available. For instructions, check out: 71 Anonymous GIT access is available. For instructions, check out:
72 72
73 http://busybox.net/subversion.html 73 http://www.busybox.net/source.html
74 74
75 For those that are actively contributing and would like to check files in, 75 For those that are actively contributing and would like to check files in,
76 see: 76 see:
diff --git a/archival/dpkg.c b/archival/dpkg.c
index abeb16238..781f1bb03 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -493,7 +493,7 @@ static void free_package(common_node_t *node)
493} 493}
494 494
495/* 495/*
496 * Gets the next package field from package_buffer, seperated into the field name 496 * Gets the next package field from package_buffer, separated into the field name
497 * and field value, it returns the int offset to the first character of the next field 497 * and field value, it returns the int offset to the first character of the next field
498 */ 498 */
499static int read_package_field(const char *package_buffer, char **field_name, char **field_value) 499static int read_package_field(const char *package_buffer, char **field_name, char **field_value)
@@ -806,7 +806,7 @@ static void write_status_file(deb_file_t **deb_file)
806 write_flag = FALSE; 806 write_flag = FALSE;
807 tmp_string = strstr(control_buffer, "Status:"); 807 tmp_string = strstr(control_buffer, "Status:");
808 if (tmp_string != NULL) { 808 if (tmp_string != NULL) {
809 /* Seperate the status value from the control buffer */ 809 /* Separate the status value from the control buffer */
810 tmp_string += 7; 810 tmp_string += 7;
811 tmp_string += strspn(tmp_string, " \n\t"); 811 tmp_string += strspn(tmp_string, " \n\t");
812 status_from_file = xstrndup(tmp_string, strcspn(tmp_string, "\n")); 812 status_from_file = xstrndup(tmp_string, strcspn(tmp_string, "\n"));
diff --git a/docs/Serial-Programming-HOWTO.txt b/docs/Serial-Programming-HOWTO.txt
index 0dfc8aa31..8a3954b09 100644
--- a/docs/Serial-Programming-HOWTO.txt
+++ b/docs/Serial-Programming-HOWTO.txt
@@ -133,7 +133,7 @@ Seems to be somewhat old, but contains useful bits for getty.c hacking
133 characters will operate on the incoming data before it is delivered to 133 characters will operate on the incoming data before it is delivered to
134 the user. 134 the user.
135 135
136 In non-canonical mode, incoming data is quanitified by use of the 136 In non-canonical mode, incoming data is quantified by use of the
137 c_cc[VMIN and c_cc[VTIME] values in termios.c_cc[]. 137 c_cc[VMIN and c_cc[VTIME] values in termios.c_cc[].
138 138
139 Some programmers use the select() call to detect the completion of a 139 Some programmers use the select() call to detect the completion of a
diff --git a/docs/busybox_footer.pod b/docs/busybox_footer.pod
index 74575bdac..faf7d9f3f 100644
--- a/docs/busybox_footer.pod
+++ b/docs/busybox_footer.pod
@@ -33,7 +33,7 @@ The following people have contributed code to BusyBox whether they know it or
33not. If you have written code included in BusyBox, you should probably be 33not. If you have written code included in BusyBox, you should probably be
34listed here so you can obtain your bit of eternal glory. If you should be 34listed here so you can obtain your bit of eternal glory. If you should be
35listed here, or the description of what you have done needs more detail, or is 35listed here, or the description of what you have done needs more detail, or is
36incorect, please send in an update. 36incorrect, please send in an update.
37 37
38 38
39=for html <br> 39=for html <br>
@@ -158,7 +158,7 @@ John Lombardo <john@deltanet.com>
158 158
159Glenn McGrath <bug1@iinet.net.au> 159Glenn McGrath <bug1@iinet.net.au>
160 160
161 Common unarchving code and unarchiving applets, ifupdown, ftpgetput, 161 Common unarchiving code and unarchiving applets, ifupdown, ftpgetput,
162 nameif, sed, patch, fold, install, uudecode. 162 nameif, sed, patch, fold, install, uudecode.
163 Various bugfixes, review and apply numerous patches. 163 Various bugfixes, review and apply numerous patches.
164 164
diff --git a/docs/contributing.txt b/docs/contributing.txt
index 54cba750e..cc1657453 100644
--- a/docs/contributing.txt
+++ b/docs/contributing.txt
@@ -124,7 +124,7 @@ an example:
124 But when I use BusyBox date I get this instead: 124 But when I use BusyBox date I get this instead:
125 125
126 $ date 126 $ date
127 llegal instruction 127 Illegal instruction
128 128
129 I am using Debian unstable, kernel version 2.4.19-rmk1 on an Netwinder, 129 I am using Debian unstable, kernel version 2.4.19-rmk1 on an Netwinder,
130 and the latest uClibc from CVS. 130 and the latest uClibc from CVS.
diff --git a/docs/logging_and_backgrounding.txt b/docs/logging_and_backgrounding.txt
index 62a6d1550..7e6885560 100644
--- a/docs/logging_and_backgrounding.txt
+++ b/docs/logging_and_backgrounding.txt
@@ -21,7 +21,7 @@ To help with that, busybox applets should have options to override
21default behavior, whatever that is for a given applet. 21default behavior, whatever that is for a given applet.
22 22
23 23
24Current sutiation is a bit of a mess: 24Current situation is a bit of a mess:
25 25
26acpid - auto-backgrounds unless -d 26acpid - auto-backgrounds unless -d
27crond - auto-backgrounds unless -f, logs to syslog unless -d or -L. 27crond - auto-backgrounds unless -f, logs to syslog unless -d or -L.
@@ -51,7 +51,7 @@ Total: 13 applets (+1 obsolete),
51 5 never log to syslog (acpid httpd telnetd klogd syslogd, last two 51 5 never log to syslog (acpid httpd telnetd klogd syslogd, last two
52 - for obviously correct reasons), 52 - for obviously correct reasons),
53 there are no daemons which always log to syslog, 53 there are no daemons which always log to syslog,
54 12 auto-background if not run as inetd servies (all except dnsd. 54 12 auto-background if not run as inetd services (all except dnsd.
55 Note that there is no "standard" dnsd AFAIKS). But see below 55 Note that there is no "standard" dnsd AFAIKS). But see below
56 for daemons (tcpsvd etc) which don't auto-background. 56 for daemons (tcpsvd etc) which don't auto-background.
57 57
diff --git a/docs/mdev.txt b/docs/mdev.txt
index a8a816ce9..61a6f4561 100644
--- a/docs/mdev.txt
+++ b/docs/mdev.txt
@@ -122,6 +122,6 @@ IOW: this will serialize concurrent mdev invocations.
122 122
123If you want to activate this feature, execute "echo >/dev/mdev.seq" prior to 123If you want to activate this feature, execute "echo >/dev/mdev.seq" prior to
124setting mdev to be the hotplug handler. This writes single '\n' to the file. 124setting mdev to be the hotplug handler. This writes single '\n' to the file.
125NB: mdev recognizes /dev/mdev.seq consisting of single '\n' characher 125NB: mdev recognizes /dev/mdev.seq consisting of single '\n' character
126as a special case. IOW: this will not make your first hotplug event 126as a special case. IOW: this will not make your first hotplug event
127to stall for two seconds. 127to stall for two seconds.
diff --git a/docs/new-applet-HOWTO.txt b/docs/new-applet-HOWTO.txt
index e7c3077bd..0646e728e 100644
--- a/docs/new-applet-HOWTO.txt
+++ b/docs/new-applet-HOWTO.txt
@@ -9,7 +9,7 @@ Mark Whitley - the remix
9Thomas Lundquist - Trying to keep it updated. 9Thomas Lundquist - Trying to keep it updated.
10 10
11When doing this you should consider using the latest svn trunk. 11When doing this you should consider using the latest svn trunk.
12This is a good thing if you plan to getting it commited into mainline. 12This is a good thing if you plan to getting it committed into mainline.
13 13
14Initial Write 14Initial Write
15------------- 15-------------
@@ -107,7 +107,7 @@ the function declaration. If not, add it somewhere anyway, with or without
107ifdefs to include or not. 107ifdefs to include or not.
108 108
109You can look at libbb/Config.in and try to find out if the function is 109You can look at libbb/Config.in and try to find out if the function is
110tuneable and add it there if it is. 110tunable and add it there if it is.
111 111
112 112
113Placement / Directory 113Placement / Directory
diff --git a/docs/posix_conformance.txt b/docs/posix_conformance.txt
index 474465efc..d9fa116b8 100644
--- a/docs/posix_conformance.txt
+++ b/docs/posix_conformance.txt
@@ -7,7 +7,7 @@ And the complete list of all utilities that POSIX covers:
7http://www.opengroup.org/onlinepubs/9699919799/idx/utilities.html 7http://www.opengroup.org/onlinepubs/9699919799/idx/utilities.html
8 8
9This listing is a work in progress, and currently only covers 9This listing is a work in progress, and currently only covers
10tool options (not operands, enviroment variables, return codes, etc..). 10tool options (not operands, environment variables, return codes, etc..).
11For each option it is set if it (a) exists and (b) compliant to POSIX 2008. 11For each option it is set if it (a) exists and (b) compliant to POSIX 2008.
12Some options exist but there is no value in the 'compliant' column: that 12Some options exist but there is no value in the 'compliant' column: that
13means no one has yet bothered to make sure that the option does what it is 13means no one has yet bothered to make sure that the option does what it is
diff --git a/docs/style-guide.txt b/docs/style-guide.txt
index 7560d6986..a58931ae7 100644
--- a/docs/style-guide.txt
+++ b/docs/style-guide.txt
@@ -252,7 +252,7 @@ because it looks like whitespace; using lower-case is easy on the eyes.
252Exceptions: 252Exceptions:
253 253
254 - Enums, macros, and constant variables are occasionally written in all 254 - Enums, macros, and constant variables are occasionally written in all
255 upper-case with words optionally seperatedy by underscores (i.e. FIFO_TYPE, 255 upper-case with words optionally separated by underscores (i.e. FIFO_TYPE,
256 ISBLKDEV()). 256 ISBLKDEV()).
257 257
258 - Nobody is going to get mad at you for using 'pvar' as the name of a 258 - Nobody is going to get mad at you for using 'pvar' as the name of a
diff --git a/include/libbb.h b/include/libbb.h
index 9f7c26031..14a16674c 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1174,7 +1174,7 @@ unsigned long long bb_makedev(unsigned int major, unsigned int minor) FAST_FUNC;
1174 1174
1175/* "Keycodes" that report an escape sequence. 1175/* "Keycodes" that report an escape sequence.
1176 * We use something which fits into signed char, 1176 * We use something which fits into signed char,
1177 * yet doesn't represent any valid Unicode characher. 1177 * yet doesn't represent any valid Unicode character.
1178 * Also, -1 is reserved for error indication and we don't use it. */ 1178 * Also, -1 is reserved for error indication and we don't use it. */
1179enum { 1179enum {
1180 KEYCODE_UP = -2, 1180 KEYCODE_UP = -2,
diff --git a/include/usage.h b/include/usage.h
index 9fa1b9ef8..e571d2ba3 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2001,8 +2001,8 @@
2001 "\n a File is accessed" \ 2001 "\n a File is accessed" \
2002 "\n c File is modified" \ 2002 "\n c File is modified" \
2003 "\n e Metadata changed" \ 2003 "\n e Metadata changed" \
2004 "\n w Writtable file is closed" \ 2004 "\n w Writable file is closed" \
2005 "\n 0 Unwrittable file is closed" \ 2005 "\n 0 Unwritable file is closed" \
2006 "\n r File is opened" \ 2006 "\n r File is opened" \
2007 "\n D File is deleted" \ 2007 "\n D File is deleted" \
2008 "\n M File is moved" \ 2008 "\n M File is moved" \
@@ -3860,7 +3860,7 @@
3860 "\n -l Log changes in file labels to syslog" \ 3860 "\n -l Log changes in file labels to syslog" \
3861 "\n -n Don't change any file labels" \ 3861 "\n -n Don't change any file labels" \
3862 "\n -q Suppress warnings" \ 3862 "\n -q Suppress warnings" \
3863 "\n -r dir Use an altenate root path" \ 3863 "\n -r dir Use an alternate root path" \
3864 "\n -e dir Exclude directory" \ 3864 "\n -e dir Exclude directory" \
3865 "\n -F Force reset of context to match file_context for customizable files" \ 3865 "\n -F Force reset of context to match file_context for customizable files" \
3866 "\n -o file Save list of files with incorrect context" \ 3866 "\n -o file Save list of files with incorrect context" \
diff --git a/libbb/parse_config.c b/libbb/parse_config.c
index b6c720d3a..c511d97fb 100644
--- a/libbb/parse_config.c
+++ b/libbb/parse_config.c
@@ -102,7 +102,7 @@ void FAST_FUNC config_close(parser_t *parser)
1020. If parser is NULL return 0. 1020. If parser is NULL return 0.
1031. Read a line from config file. If nothing to read then return 0. 1031. Read a line from config file. If nothing to read then return 0.
104 Handle continuation character. Advance lineno for each physical line. 104 Handle continuation character. Advance lineno for each physical line.
105 Discard everything past comment characher. 105 Discard everything past comment character.
1062. if PARSE_TRIM is set (default), remove leading and trailing delimiters. 1062. if PARSE_TRIM is set (default), remove leading and trailing delimiters.
1073. If resulting line is empty goto 1. 1073. If resulting line is empty goto 1.
1084. Look for first delimiter. If !PARSE_COLLAPSE or !PARSE_TRIM is set then 1084. Look for first delimiter. If !PARSE_COLLAPSE or !PARSE_TRIM is set then
diff --git a/miscutils/inotifyd.c b/miscutils/inotifyd.c
index d6b5d246b..999b5e309 100644
--- a/miscutils/inotifyd.c
+++ b/miscutils/inotifyd.c
@@ -34,8 +34,8 @@ static const char mask_names[] ALIGN1 =
34 "a" // 0x00000001 File was accessed 34 "a" // 0x00000001 File was accessed
35 "c" // 0x00000002 File was modified 35 "c" // 0x00000002 File was modified
36 "e" // 0x00000004 Metadata changed 36 "e" // 0x00000004 Metadata changed
37 "w" // 0x00000008 Writtable file was closed 37 "w" // 0x00000008 Writable file was closed
38 "0" // 0x00000010 Unwrittable file closed 38 "0" // 0x00000010 Unwritable file closed
39 "r" // 0x00000020 File was opened 39 "r" // 0x00000020 File was opened
40 "m" // 0x00000040 File was moved from X 40 "m" // 0x00000040 File was moved from X
41 "y" // 0x00000080 File was moved to Y 41 "y" // 0x00000080 File was moved to Y
diff --git a/networking/tftp.c b/networking/tftp.c
index 094c3baab..e4c31ee3c 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -187,7 +187,7 @@ static int tftp_protocol(
187 /* Can't use RESERVE_CONFIG_BUFFER here since the allocation 187 /* Can't use RESERVE_CONFIG_BUFFER here since the allocation
188 * size varies meaning BUFFERS_GO_ON_STACK would fail. 188 * size varies meaning BUFFERS_GO_ON_STACK would fail.
189 * 189 *
190 * We must keep the transmit and receive buffers seperate 190 * We must keep the transmit and receive buffers separate
191 * in case we rcv a garbage pkt - we need to rexmit the last pkt. 191 * in case we rcv a garbage pkt - we need to rexmit the last pkt.
192 */ 192 */
193 char *xbuf = xmalloc(io_bufsize); 193 char *xbuf = xmalloc(io_bufsize);
diff --git a/testsuite/README b/testsuite/README
index 2ead8e994..b943a1295 100644
--- a/testsuite/README
+++ b/testsuite/README
@@ -15,7 +15,7 @@ internet connection.
15Common causes of false positives: 15Common causes of false positives:
16 16
17For busybox built against uclibc, /etc/TZ does not exist or does not match 17For busybox built against uclibc, /etc/TZ does not exist or does not match
18host system timezone setting. For glibc based host systems, timezona settings 18host system timezone setting. For glibc based host systems, timezone settings
19are in /etc/localtime. 19are in /etc/localtime.
20 20
21LANG and LC_xxx environment variables set to non-C locale. 21LANG and LC_xxx environment variables set to non-C locale.