random spelling fixes
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Roy Marples
parent
bb45f0eabc
commit
ecf9ef49a7
@@ -377,7 +377,7 @@ rc_runlevel_stacks(const char *runlevel)
|
||||
}
|
||||
librc_hidden_def(rc_runlevel_stacks)
|
||||
|
||||
/* Resolve a service name to it's full path */
|
||||
/* Resolve a service name to its full path */
|
||||
char *
|
||||
rc_service_resolve(const char *service)
|
||||
{
|
||||
|
@@ -117,7 +117,7 @@ bool rc_runlevel_stopping(void);
|
||||
|
||||
/*! @name RC
|
||||
* A service can be given as a full path or just its name.
|
||||
* If its just a name then we try to resolve the service to a full path.
|
||||
* If it's just a name then we try to resolve the service to a full path.
|
||||
* This should allow the use if local init.d directories in the future. */
|
||||
|
||||
/*! @brief States a service can be in */
|
||||
@@ -326,7 +326,7 @@ typedef void *RC_DEPTREE;
|
||||
#endif
|
||||
|
||||
/*! Check to see if source is newer than target.
|
||||
* If target is a directory then we traverse it and it's children.
|
||||
* If target is a directory then we traverse it and its children.
|
||||
* @param source
|
||||
* @param target
|
||||
* @param mtime of newest target
|
||||
@@ -335,7 +335,7 @@ typedef void *RC_DEPTREE;
|
||||
bool rc_newer_than(const char *, const char *, time_t *, char *);
|
||||
|
||||
/*! Check to see if source is older than target.
|
||||
* If target is a directory then we traverse it and it's children.
|
||||
* If target is a directory then we traverse it and its children.
|
||||
* @param source
|
||||
* @param target
|
||||
* @param mtime of oldest target
|
||||
@@ -446,7 +446,7 @@ RC_STRINGLIST *rc_config_load(const char *);
|
||||
/*! Return the value of the entry from a key=value list. */
|
||||
char *rc_config_value(RC_STRINGLIST *, const char *);
|
||||
|
||||
/*! Check if a variable is a boolean and return it's value.
|
||||
/*! Check if a variable is a boolean and return its value.
|
||||
* If variable is not a boolean then we set errno to be ENOENT when it does
|
||||
* not exist or EINVAL if it's not a boolean.
|
||||
* @param variable to check
|
||||
@@ -485,9 +485,9 @@ bool rc_stringlist_delete(RC_STRINGLIST *, const char *);
|
||||
* @return pointer to item */
|
||||
RC_STRING *rc_stringlist_find(RC_STRINGLIST *, const char *);
|
||||
|
||||
/*! Split a string into a stringlist based on seperator.
|
||||
/*! Split a string into a stringlist based on separator.
|
||||
* @param string to split
|
||||
* @param seperator
|
||||
* @param separator
|
||||
* @return new list */
|
||||
RC_STRINGLIST *rc_stringlist_split(const char *, const char *);
|
||||
|
||||
|
@@ -38,7 +38,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/* Yay for linux and it's non liking of POSIX functions.
|
||||
/* Yay for linux and its non liking of POSIX functions.
|
||||
Okay, we could use getfsent but the man page says use getmntent instead
|
||||
AND we don't have getfsent on uclibc or dietlibc for some odd reason. */
|
||||
#ifdef __linux__
|
||||
|
@@ -467,7 +467,7 @@ run_applets(int argc, char **argv)
|
||||
}
|
||||
exit(EXIT_FAILURE);
|
||||
};
|
||||
/* This tets is correct as it's not present in baselayout */
|
||||
/* This test is correct as it's not present in baselayout */
|
||||
if (strcmp(applet, "is_newer_than") == 0) {
|
||||
if (argc < 3)
|
||||
exit (EXIT_FAILURE);
|
||||
|
@@ -998,7 +998,7 @@ svc_restart(void)
|
||||
* dns via resolvconf, so you could have openvpn trying to restart
|
||||
* dnsmasq which in turn is waiting on net which in turn is waiting
|
||||
* on dnsmasq.
|
||||
* The work around is for resolvconf to restart it's services with
|
||||
* The work around is for resolvconf to restart its services with
|
||||
* --nodeps which means just that.
|
||||
* The downside is that there is a small window when our status is
|
||||
* invalid.
|
||||
@@ -1106,7 +1106,7 @@ runscript(int argc, char **argv)
|
||||
atexit(cleanup);
|
||||
|
||||
/* We need to work out the real full path to our service.
|
||||
* This works fine, provided that we ONLY allow mulitplexed services
|
||||
* This works fine, provided that we ONLY allow multiplexed services
|
||||
* to exist in the same directory as the master link.
|
||||
* Also, the master link as to be a real file in the init dir. */
|
||||
if (!realpath(argv[1], path)) {
|
||||
@@ -1192,7 +1192,7 @@ runscript(int argc, char **argv)
|
||||
|
||||
deps = true;
|
||||
|
||||
/* Punt the first arg as it's our service name */
|
||||
/* Punt the first arg as its our service name */
|
||||
argc--;
|
||||
argv++;
|
||||
|
||||
|
Reference in New Issue
Block a user