chrsmithdemos / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[patch] fix a spelling mistake #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In db/version_set.h file, You typed "iff" in comment, fix it to "if".

Thanks, let me know if any problem. 

Original issue reported on code.google.com by Liuchang...@gmail.com on 11 Aug 2014 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for reporting.  However, "iff" is intentional in that comment 
(short-hand for "if and only if").

I count over 30 occurrences of "iff" usage in the leveldb source code, and I 
don't think it is worth changing them by spelling out "if and only if" every 
where. If we hear back other complaints about "iff" being confusing, we might 
revisit this decision, but for now, let's let things stay as they are.

Original comment by san...@google.com on 11 Aug 2014 at 6:29