Fix bson_oid_generated_time for systems with a 64bit time_t.
Fix hostname length bug

The length of the hostname in some platforms can be larger than 255 bytes.
And I don't want to include those headers define the max hostname length in current platform,
so simply define a new MACRO to finish this job.
Fix potential SIGSEGV when there's no dot char in the namespace

Also add a return value check after the mongo_insert operation when try to create the index.
Add test case for SEGV fixed in pull request #134
Add test case for bson_oid_generated_time
Ignore files created by the test cases
We can still use time_t, just need to initialize to 0.
Merge pull request #70 from davidcrawford/fix-oid-timestamp

Fix bson_oid_generated_time for systems with a 64bit time_t.
Merge pull request #137 from noa--/test_bson_oid_generated_time

Add test case for bson_oid_generated_time
Merge pull request #138 from noa--/gitignore

Ignore files created by the test cases
Merge pull request #134 from RockLi/fix-potential-sigsegv

Fix potential SIGSEGV when there's no dot char in the namespace
Merge pull request #136 from noa--/test-fix-potential-segv

Add test case for SEGV fixed in pull request #134
cursor test fix for trivial server behavior change

old errcode 10068 invalid operator:
new errcode 16810 bad query:

linux
db version v2.5.0-pre-
Wed May 22 10:21:42.014 git version: 33130b6e8cebdc007d6a25dc90a4b688e2f57022
Fixed crash caused by wrong chunkSize read
Merge pull request #140 from soarqin/gridfs_fix

Fixed crash caused by wrong chunkSize read
Merge pull request #132 from RockLi/fix-hostname-length

Fix hostname length issue
Address initialization problems. Syntax fixes as I went.
Address initialization problems. Some minor fixes as I went.

From gerald-lindsly pull/130 merged manually
MAXHOSTNAMELEN for mongo_host_port.host

Fix for bad manual merge, thanks to Asya and Coverity for the catch
keep the unix EOL