Permalink
Browse files

update flock API: force commit of missed changes

(forgotten git add's)
  • Loading branch information...
1 parent a801a90 commit bd260db7d9b7df33449c1e07689b59635d4f002f @tshinnic tshinnic committed Jun 14, 2011
Showing with 5 additions and 3 deletions.
  1. +1 −0 fs-ext.cc
  2. +4 −3 run_tests
View
@@ -184,6 +184,7 @@ static Handle<Value> Flock(const Arguments& args) {
#else
int i = flock(flock_data->fd, flock_data->oper);
#endif
+ delete flock_data;
if (i != 0) return ThrowException(ErrnoException(errno));
return Undefined();
}
View
@@ -1,8 +1,9 @@
#!/bin/bash
-# node tests/test-fs-utime.js
-
node tests/test-fs-seek.js
-# stress testing only
+node tests/test-fs-flock.js
+
+# for stress testing only
# node tests/test-fs-seek_stress.js
+# node tests/test-fs-flock_stress.js

0 comments on commit bd260db

Please sign in to comment.