Permalink
Browse files

scons tweak

  • Loading branch information...
1 parent 864743d commit 9022174c77f1a77f3074266df353916af1b5fc8a @ctriolo ctriolo committed Aug 6, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 SConstruct
  2. +1 −1 src/gridfs.c
View
@@ -76,7 +76,7 @@ if sys.byteorder == 'big':
env.Append( CPPPATH=["src/"] )
coreFiles = ["src/md5.c" ]
-mFiles = [ "src/mongo.c"]
+mFiles = [ "src/mongo.c", "src/gridfs.c"]
bFiles = [ "src/bson.c", "src/numbers.c"]
mLibFiles = coreFiles + mFiles + bFiles
bLibFiles = coreFiles + bFiles
@@ -96,7 +96,7 @@ benchmarkEnv.Program( "benchmark" , [ "test/benchmark.c"] )
testEnv = benchmarkEnv.Clone()
testCoreFiles = [ ]
-tests = Split('sizes resize endian_swap all_types simple update errors count_delete auth pair')
+tests = Split('sizes resize endian_swap all_types simple update errors count_delete auth pair gridfs')
if have_libjson:
tests.append('json')
View
@@ -235,7 +235,7 @@ bson gridfs_store_file(gridfs* gfs, const char* filename,
/* Open the file and the correct stream */
if (strcmp(filename, "-") == 0) fd = stdin;
else fd = fopen(filename, "rb");
- assert(fd != NULL); // No such file
+ assert(fd != NULL); /* No such file */
/* Generate and append an oid*/
bson_oid_gen(&id);

0 comments on commit 9022174

Please sign in to comment.