Still more typo fixes.
authorAndre Noll <maan@systemlinux.org>
Fri, 28 Sep 2007 21:46:36 +0000 (23:46 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 28 Sep 2007 21:46:36 +0000 (23:46 +0200)
afs.cmd
afs.h
audiod.h
osl.c
osl.h
server.cmd

diff --git a/afs.cmd b/afs.cmd
index f29eae078e4f61d3197e6051e303f4970ec02398..cb8b671e59dae9444da616cf876d42cfa0d79762 100644 (file)
--- a/afs.cmd
+++ b/afs.cmd
@@ -125,7 +125,7 @@ H:
 H: Options:
 H:
 H: -a  Run audio file table checks. Checks for entries in the audio file
 H: Options:
 H:
 H: -a  Run audio file table checks. Checks for entries in the audio file
-H:     table which are not present in the filesystem. Moreover, it checks
+H:     table which are not present in the file system. Moreover, it checks
 H:     whether the lyrics id and all entries in the audio file table are
 H:     valid.
 H:
 H:     whether the lyrics id and all entries in the audio file table are
 H:     valid.
 H:
@@ -164,7 +164,7 @@ H:  a slash (see fnmatch(3)).
 ---
 N: touch
 P: AFS_READ | AFS_WRITE
 ---
 N: touch
 P: AFS_READ | AFS_WRITE
-D: Manupulate the afs data for all audio files matching a pattern.
+D: Manipulate the afs data for all audio files matching a pattern.
 U: touch [-n numplayed] [-l lastplayed] [-y lyrics_id] [-i image_id] [-v] [-p] pattern
 H: If no option is given, lastplayed is set to the current time and numplayed is
 H: increased by one. Otherwise, only the given options are taken into account.
 U: touch [-n numplayed] [-l lastplayed] [-y lyrics_id] [-i image_id] [-v] [-p] pattern
 H: If no option is given, lastplayed is set to the current time and numplayed is
 H: increased by one. Otherwise, only the given options are taken into account.
@@ -175,7 +175,7 @@ H: -n       Set numplayed count. The number of times afs has selected this
 H:     audio file for streaming.
 H:
 H: -l  Set lastplayed time. The last time this audio file was selected.
 H:     audio file for streaming.
 H:
 H: -l  Set lastplayed time. The last time this audio file was selected.
-H:     Must be given as the number of sectonds since the epoch. Example:
+H:     Must be given as the number of seconds since the epoch. Example:
 H:
 H:             touch -l $(date +%s) file
 H:
 H:
 H:             touch -l $(date +%s) file
 H:
diff --git a/afs.h b/afs.h
index 9628d5c7c4a428c823f0523e9e98df4c454e1d4b..72081ab6163fbc7748a1332e4e1701cde8433184 100644 (file)
--- a/afs.h
+++ b/afs.h
@@ -12,7 +12,7 @@
 struct afs_info {
        /** Seconds since the epoch. */
        uint64_t last_played;
 struct afs_info {
        /** Seconds since the epoch. */
        uint64_t last_played;
-       /** Bitfield of set attributes. */
+       /** Bit field of set attributes. */
        uint64_t attributes;
        /** Counts how many times the file was selected. */
        uint32_t num_played;
        uint64_t attributes;
        /** Counts how many times the file was selected. */
        uint32_t num_played;
index 3f481460e787cb16fb4c175b026e9abed0727d1f..ca22160d3fa378bd1849cb16549b85a6b409c254 100644 (file)
--- a/audiod.h
+++ b/audiod.h
@@ -51,7 +51,7 @@ struct audiod_command {
 /**
  * describes one instance of a receiver-filter-writer chain
  *
 /**
  * describes one instance of a receiver-filter-writer chain
  *
- * \sa receier_node, receiver, filter, filter_node, filter_chain, writer,
+ * \sa receiver_node, receiver, filter, filter_node, filter_chain, writer,
  * writer_node, writer_node_group.
  */
 struct slot_info {
  * writer_node, writer_node_group.
  */
 struct slot_info {
diff --git a/osl.c b/osl.c
index 48f25a1fb94abc213e9e237f035530359a9487e3..6e3eeca65db2a07d308f0fd2a30995867b29dbc9 100644 (file)
--- a/osl.c
+++ b/osl.c
@@ -17,7 +17,7 @@
 /**
  * A wrapper for lseek(2).
  *
 /**
  * A wrapper for lseek(2).
  *
- * \param fd The filedescriptor whose offset is to be to repositioned.
+ * \param fd The file descriptor whose offset is to be to repositioned.
  * \param offset A value-result parameter.
  * \param whence Usual repositioning directive.
  *
  * \param offset A value-result parameter.
  * \param whence Usual repositioning directive.
  *
@@ -46,8 +46,8 @@ int para_lseek(int fd, off_t *offset, int whence)
  * \param buf The buffer to write.
  * \param size The length of \a buf in bytes.
  *
  * \param buf The buffer to write.
  * \param size The length of \a buf in bytes.
  *
- * This function writes out the given bufffer and retries if an interrupt
- * occured during the write.
+ * This function writes out the given buffer and retries if an interrupt
+ * occurred during the write.
  *
  * \return On success, the number of bytes written is returned, otherwise, the
  * function returns \p -E_WRITE.
  *
  * \return On success, the number of bytes written is returned, otherwise, the
  * function returns \p -E_WRITE.
@@ -1085,7 +1085,7 @@ void clear_rbtrees(struct osl_table *t)
  * \param flags Options for what should be cleaned up.
  *
  * If osl_open_table() succeeds, the resulting table pointer must later be
  * \param flags Options for what should be cleaned up.
  *
  * If osl_open_table() succeeds, the resulting table pointer must later be
- * passed to this function in order to flush all changes to the filesystem and
+ * passed to this function in order to flush all changes to the file system and
  * to free the resources that were allocated by osl_open_table().
  *
  * \return Positive on success, negative on errors. Possible errors: \p E_BAD_TABLE,
  * to free the resources that were allocated by osl_open_table().
  *
  * \return Positive on success, negative on errors. Possible errors: \p E_BAD_TABLE,
@@ -1667,7 +1667,7 @@ static int check_rbtree_col(const struct osl_table *t, unsigned col_num,
  * Lookup \a obj in \a t and return the row containing \a obj. The column
  * specified by \a col_num must have an associated rbtree.
  *
  * Lookup \a obj in \a t and return the row containing \a obj. The column
  * specified by \a col_num must have an associated rbtree.
  *
- * \return Positive on success, negative on errors. If an error occured, \a
+ * \return Positive on success, negative on errors. If an error occurred, \a
  * result is set to \p NULL. Possible errors include: \p E_BAD_TABLE, \p
  * E_BAD_STORAGE_FLAGS, errors returned by get_mapped_object(), \p
  * E_RB_KEY_NOT_FOUND.
  * result is set to \p NULL. Possible errors include: \p E_BAD_TABLE, \p
  * E_BAD_STORAGE_FLAGS, errors returned by get_mapped_object(), \p
  * E_RB_KEY_NOT_FOUND.
@@ -1835,7 +1835,7 @@ out:
  *
  * This function  gets rid of all references to the old object. This includes
  * removal of the rbtree node in case there is an rbtree associated with \a
  *
  * This function  gets rid of all references to the old object. This includes
  * removal of the rbtree node in case there is an rbtree associated with \a
- * col_num. It then inserts \a obj into the table and the rbtree if neccessary.
+ * col_num. It then inserts \a obj into the table and the rbtree if necessary.
  *
  * If the \p OSL_RBTREE flag is set for \a col_num, you \b MUST call this
  * function in order to change the contents of an object, even for volatile or
  *
  * If the \p OSL_RBTREE flag is set for \a col_num, you \b MUST call this
  * function in order to change the contents of an object, even for volatile or
diff --git a/osl.h b/osl.h
index b0ad739101608f2ca9f3b853f5f2629ac9ed61e6..2fdee777741f07ce65758432ab86fed52e67c267 100644 (file)
--- a/osl.h
+++ b/osl.h
@@ -7,7 +7,7 @@
 
 /** \file osl.h User interface for the object storage layer. */
 
 
 /** \file osl.h User interface for the object storage layer. */
 
-/** decribes an object of the object storage layer (osl) */
+/** describes an object of the object storage layer (osl) */
 struct osl_object {
        /** Pointer to the data of the object. */
        void *data;
 struct osl_object {
        /** Pointer to the data of the object. */
        void *data;
@@ -93,7 +93,7 @@ struct osl_column_description {
        char *name;
        /**
         * For columns with an associated rbtree, this must point to a function
        char *name;
        /**
         * For columns with an associated rbtree, this must point to a function
-        * that compares the values of two objects, either a builtin function
+        * that compares the values of two objects, either a built-in function
         * or a function defined by the application may be supplied.  This
         * field is ignored if the column does not have an associated rbtree.
         *
         * or a function defined by the application may be supplied.  This
         * field is ignored if the column does not have an associated rbtree.
         *
@@ -124,7 +124,7 @@ struct osl_table_description {
        uint16_t num_columns;
        /** Further table-wide information. */
        enum osl_table_flags flags;
        uint16_t num_columns;
        /** Further table-wide information. */
        enum osl_table_flags flags;
-       /** The array desribing the individual columns of the table. */
+       /** The array describing the individual columns of the table. */
        struct osl_column_description *column_descriptions;
 };
 
        struct osl_column_description *column_descriptions;
 };
 
index fe6328f63adfd8cce014f0a794f2609a72f64bab..da895480ac92adc3716a6e8774018080a88fb060 100644 (file)
@@ -31,7 +31,7 @@ N: help
 P: 0
 D: print help text
 U: help [command]
 P: 0
 D: print help text
 U: help [command]
-H: Without any arguments, help prints a list of availible commands. When
+H: Without any arguments, help prints a list of available commands. When
 H: issued with a command name as first argument, print out a description
 H: for that command.
 ---
 H: issued with a command name as first argument, print out a description
 H: for that command.
 ---