summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
commitb9e0294edaceecb177401902f3809a45af666d7e (patch)
tree6c83191a7891bfb4449e4c61bcf944ae968319b7 /pack.c
parentc30e32d075478c62580c7d3f5699c2c477503b41 (diff)
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pack.c b/pack.c
index f1841ab89a..80b6ab5137 100644
--- a/pack.c
+++ b/pack.c
@@ -166,7 +166,7 @@ swapd(const double d)
memcpy(&dtmp,utmp,sizeof(double));
return dtmp;
}
-#else /* SIZEOF_DOUBLE == 8 but undivied by known size of int */
+#else /* SIZEOF_DOUBLE == 8 but undivide by known size of int */
define_swapx(d, double)
#endif /* #if SIZEOF_SHORT == 4 */
#endif /* #if SIZEOF_LONG == 4 */
@@ -428,7 +428,7 @@ static unsigned long utf8_to_uv(const char*,long*);
* u | UU-encoded string
* V | Long, little-endian byte order
* v | Short, little-endian byte order
- * w | BER-compressed integer\fnm
+ * w | BER-compressed integer
* X | Back up a byte
* x | Null byte
* Z | Same as ``a'', except that null is added with *
@@ -1287,7 +1287,7 @@ infected_str_new(const char *ptr, long len, VALUE str)
* | | short in network byte order
* -------+---------+-----------------------------------------
* P | String | treat sizeof(char *) characters as a
- * | | pointer, and return \emph{len} characters
+ * | | pointer, and return the length bytes
* | | from the referenced location
* -------+---------+-----------------------------------------
* p | String | treat sizeof(char *) characters as a