Larry Doolittle writes:
This is a bulk spelling fix patch against busybox-1.00-pre10.
If anyone gets a corrupted copy (and cares), let me know and
I will make alternate arrangements.
Erik - please apply.
Authors - please check that I didn't corrupt any meaning.
Package importers - see if any of these changes should be
passed to the upstream authors.
I glossed over lots of sloppy capitalizations, missing apostrophes,
mixed American/British spellings, and German-style compound words.
What is "pretect redefined for test" in cmdedit.c?
Good luck on the 1.00 release!
- Larry
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
* foo=`httpd -d $foo` # decode "Hello%20World" as "Hello World"
|
||||
* bar=`httpd -e "<Hello World>"` # encode as "<Hello World>"
|
||||
* Note that url encoding for arguments is not the same as html encoding for
|
||||
* presenation. -d decodes a url-encoded argument while -e encodes in html
|
||||
* presentation. -d decodes a url-encoded argument while -e encodes in html
|
||||
* for page display.
|
||||
*
|
||||
* httpd.conf has the following format:
|
||||
@@ -55,7 +55,7 @@
|
||||
* /adm:toor:PaSsWd # or user toor, pwd PaSsWd on urls starting with /adm/
|
||||
* .au:audio/basic # additional mime type for audio.au files
|
||||
*
|
||||
* A/D may be as a/d or allow/deny - first char case unsensitive
|
||||
* A/D may be as a/d or allow/deny - first char case insensitive
|
||||
* Deny IP rules take precedence over allow rules.
|
||||
*
|
||||
*
|
||||
@@ -127,7 +127,7 @@ static const char home[] = "./";
|
||||
# define cont_l_fmt "%ld"
|
||||
#endif
|
||||
|
||||
// Note: bussybox xfuncs are not used because we want the server to keep running
|
||||
// Note: busybox xfuncs are not used because we want the server to keep running
|
||||
// if something bad happens due to a malformed user request.
|
||||
// As a result, all memory allocation after daemonize
|
||||
// is checked rigorously
|
||||
@@ -260,7 +260,7 @@ static HttpdConfig *config;
|
||||
static const char request_GET[] = "GET"; /* size algorithic optimize */
|
||||
|
||||
static const char* const suffixTable [] = {
|
||||
/* Warning: shorted equalent suffix in one line must be first */
|
||||
/* Warning: shorted equivalent suffix in one line must be first */
|
||||
".htm.html", "text/html",
|
||||
".jpg.jpeg", "image/jpeg",
|
||||
".gif", "image/gif",
|
||||
@@ -775,7 +775,7 @@ static char *decodeString(char *orig, int flag_plus_to_space)
|
||||
*
|
||||
> $Function: addEnv()
|
||||
*
|
||||
* $Description: Add an enviornment variable setting to the global list.
|
||||
* $Description: Add an environment variable setting to the global list.
|
||||
* A NAME=VALUE string is allocated, filled, and added to the list of
|
||||
* environment settings passed to the cgi execution script.
|
||||
*
|
||||
@@ -1380,7 +1380,7 @@ static int checkPermIP(void)
|
||||
return cur->allow_deny == 'A'; /* Allow/Deny */
|
||||
}
|
||||
|
||||
/* if uncofigured, return 1 - access from all */
|
||||
/* if unconfigured, return 1 - access from all */
|
||||
return !config->flg_deny_all;
|
||||
}
|
||||
|
||||
@@ -1765,7 +1765,7 @@ static int miniHttpd(int server)
|
||||
while (1) {
|
||||
readfd = portfd;
|
||||
|
||||
/* Now wait INDEFINATELY on the set of sockets! */
|
||||
/* Now wait INDEFINITELY on the set of sockets! */
|
||||
if (select(server + 1, &readfd, 0, 0, 0) > 0) {
|
||||
if (FD_ISSET(server, &readfd)) {
|
||||
int on;
|
||||
@@ -1990,7 +1990,7 @@ int httpd_main(int argc, char *argv[])
|
||||
#ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
|
||||
server = openServer();
|
||||
# ifdef CONFIG_FEATURE_HTTPD_SETUID
|
||||
/* drop privilegies */
|
||||
/* drop privileges */
|
||||
if(uid > 0)
|
||||
setuid(uid);
|
||||
# endif
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* server program full path name
|
||||
* server program arguments maximum of MAXARGS (20)
|
||||
*
|
||||
* RPC services unsuported
|
||||
* RPC services unsupported
|
||||
*
|
||||
* Comment lines are indicated by a `#' in column 1.
|
||||
*/
|
||||
@@ -345,7 +345,7 @@ more:
|
||||
sep->se_family = AF_UNIX;
|
||||
} else {
|
||||
if (strncmp(cp_ptr, "rpc/", 4) == 0) {
|
||||
syslog(LOG_ERR, "%s: rpc services not suported",
|
||||
syslog(LOG_ERR, "%s: rpc services not supported",
|
||||
sep->se_service);
|
||||
goto more;
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
* By Jordan Crouse <jordan@cosmicpenguin.net>
|
||||
* Stephan Linz <linz@li-pro.net>
|
||||
*
|
||||
* This is a complete reimplentation of the ipcalc program
|
||||
* from Redhat. I didn't look at their source code, but there
|
||||
* This is a complete reimplementation of the ipcalc program
|
||||
* from Red Hat. I didn't look at their source code, but there
|
||||
* is no denying that this is a loving reimplementation
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* nameif.c - Naming Interfaces based on MAC address for busybox.
|
||||
*
|
||||
* Writen 2000 by Andi Kleen.
|
||||
* Written 2000 by Andi Kleen.
|
||||
* Busybox port 2002 by Nick Fedchik <nick@fedchik.org.ua>
|
||||
* Glenn McGrath <bug1@optushome.com.au>
|
||||
*
|
||||
@@ -47,7 +47,7 @@
|
||||
/* take from linux/sockios.h */
|
||||
#define SIOCSIFNAME 0x8923 /* set interface name */
|
||||
|
||||
/* Octets in one ethernet addr, from <linux/if_ether.h> */
|
||||
/* Octets in one Ethernet addr, from <linux/if_ether.h> */
|
||||
#define ETH_ALEN 6
|
||||
|
||||
#ifndef ifr_newname
|
||||
|
||||
@@ -82,7 +82,7 @@ static void init_packet(struct dhcpMessage *packet, char type)
|
||||
}
|
||||
|
||||
|
||||
/* Add a paramater request list for stubborn DHCP servers. Pull the data
|
||||
/* Add a parameter request list for stubborn DHCP servers. Pull the data
|
||||
* from the struct in options.c. Don't do bounds checking here because it
|
||||
* goes towards the head of the packet. */
|
||||
static void add_requests(struct dhcpMessage *packet)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* simple helper functions.
|
||||
*
|
||||
* Russ Dill <Russ.Dill@asu.edu> 2001-2003
|
||||
* Rewrited by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
||||
* Rewritten by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* common.h
|
||||
*
|
||||
* Russ Dill <Russ.Dill@asu.edu> Soptember 2001
|
||||
* Rewrited by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
||||
* Russ Dill <Russ.Dill@asu.edu> September 2001
|
||||
* Rewritten by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -113,7 +113,7 @@ uint16_t checksum(void *addr, int count)
|
||||
}
|
||||
|
||||
|
||||
/* Constuct a ip/udp header for a packet, and specify the source and dest hardware address */
|
||||
/* Construct a ip/udp header for a packet, and specify the source and dest hardware address */
|
||||
int raw_packet(struct dhcpMessage *payload, uint32_t source_ip, int source_port,
|
||||
uint32_t dest_ip, int dest_port, uint8_t *dest_arp, int ifindex)
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* Functions to assist in the writing and removing of pidfiles.
|
||||
*
|
||||
* Russ Dill <Russ.Dill@asu.edu> Soptember 2001
|
||||
* Russ Dill <Russ.Dill@asu.edu> September 2001
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* Functions to assist in the writing and removing of pidfiles.
|
||||
*
|
||||
* Russ Dill <Russ.Dill@asu.edu> Soptember 2001
|
||||
* Russ Dill <Russ.Dill@asu.edu> September 2001
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -132,7 +132,7 @@ static void fill_options(char *dest, uint8_t *option, struct dhcp_option *type_p
|
||||
}
|
||||
|
||||
|
||||
/* put all the paramaters into an environment */
|
||||
/* put all the parameters into an environment */
|
||||
static char **fill_envp(struct dhcpMessage *packet)
|
||||
{
|
||||
int num_options = 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* serverpacket.c
|
||||
*
|
||||
* Constuct and send DHCP server packets
|
||||
* Construct and send DHCP server packets
|
||||
*
|
||||
* Russ Dill <Russ.Dill@asu.edu> July 2001
|
||||
*
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/* signalpipe.c
|
||||
*
|
||||
* Signal pipe infastructure. A reliable way of delivering signals.
|
||||
* Signal pipe infrastructure. A reliable way of delivering signals.
|
||||
*
|
||||
* Russ Dill <Russ.Dill@asu.edu> Decemeber 2003
|
||||
* Russ Dill <Russ.Dill@asu.edu> December 2003
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -816,7 +816,7 @@ progressmeter(int flag)
|
||||
#endif
|
||||
|
||||
/* Original copyright notice which applies to the CONFIG_FEATURE_WGET_STATUSBAR stuff,
|
||||
* much of which was blatently stolen from openssh. */
|
||||
* much of which was blatantly stolen from openssh. */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@@ -850,7 +850,7 @@ progressmeter(int flag)
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: wget.c,v 1.73 2004/04/08 10:27:11 bug1 Exp $
|
||||
* $Id: wget.c,v 1.74 2004/04/14 17:51:24 andersen Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user