summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-04-01 16:34:57 +0200
committerGuillem Jover <guillem@debian.org>2013-04-04 23:54:27 +0200
commit182120b3b2e455cda535e2aaf3e0b27a0f0f5b61 (patch)
treeee8dc5a269bd439c693370ce9198a5bb0290480e
parentb37902119496c2019295dce93def3802c44ed169 (diff)
downloaddpkg-182120b3b2e455cda535e2aaf3e0b27a0f0f5b61.tar.gz
Fix spelling errors
The other spelling errors come from external projects (doxygen and pkg-config), which are being dealt upstream. Warned-by: codespell
-rw-r--r--ChangeLog.old2
-rw-r--r--lib/compat/obstack.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog.old b/ChangeLog.old
index 6fc2a03c5..95a66e0b2 100644
--- a/ChangeLog.old
+++ b/ChangeLog.old
@@ -3393,7 +3393,7 @@
2008-01-22 Guillem Jover <guillem@debian.org>
- * lib/dpkg.h [!offsetof] (offsetof): New compatibilty macro.
+ * lib/dpkg.h [!offsetof] (offsetof): New compatibility macro.
* lib/parsedump.h (PKGIFPOFF): Use offsetof instead of ad-hoc
calculation.
(FILEFOFF): Likewise.
diff --git a/lib/compat/obstack.h b/lib/compat/obstack.h
index 3315dfe61..a33d5108a 100644
--- a/lib/compat/obstack.h
+++ b/lib/compat/obstack.h
@@ -127,7 +127,7 @@ extern "C" {
#define __BPTR_ALIGN(B, P, A) ((B) + (((P) - (B) + (A)) & ~(A)))
-/* Similiar to _BPTR_ALIGN (B, P, A), except optimize the common case
+/* Similar to _BPTR_ALIGN (B, P, A), except optimize the common case
where pointers can be converted to integers, aligned as integers,
and converted back again. If PTR_INT_TYPE is narrower than a
pointer (e.g., the AS/400), play it safe and compute the alignment