projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
005638e
)
Fix s/ITERTOR/ITERATOR/ typo in simplehash.h.
author
Andres Freund
<andres@anarazel.de>
Wed, 1 Mar 2017 18:17:12 +0000
(10:17 -0800)
committer
Andres Freund
<andres@anarazel.de>
Wed, 1 Mar 2017 18:17:12 +0000
(10:17 -0800)
This could lead to problem when simplehash.h is used to define two
different types of hashtable visible in the same translation unit.
Reported-By: Josh Soref
Discussion: https://postgr.es/m/CACZqfqCC7WdBAY=rQePb9-qW1rjdaTdHsV5KoVejHkDb6qrtOg@mail.gmail.com
src/include/lib/simplehash.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/lib/simplehash.h
b/src/include/lib/simplehash.h
index 2635bd720eb3f93ac87d5ebcc3996809cd78872e..74f768249a7fd428d50f8190886f559ce089e3aa 100644
(file)
--- a/
src/include/lib/simplehash.h
+++ b/
src/include/lib/simplehash.h
@@
-885,7
+885,7
@@
SH_STAT(SH_TYPE *tb)
#undef SH_STATUS
#undef SH_STATUS_EMPTY
#undef SH_STATUS_IN_USE
-#undef SH_ITERTOR
+#undef SH_ITER
A
TOR
/* external function names */
#undef SH_CREATE