Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: libraries/nacl-mounts/memory/MemMount.cc

Issue 10377102: Added simplest device mount implementation (includes NullDevice and RandomDevice) (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libraries/nacl-mounts/dev/RandomDevice.cc ('k') | libraries/nacl-mounts/nacl-nacl-mounts.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libraries/nacl-mounts/memory/MemMount.cc
===================================================================
--- libraries/nacl-mounts/memory/MemMount.cc (revision 580)
+++ libraries/nacl-mounts/memory/MemMount.cc (working copy)
@@ -301,7 +301,6 @@
// will return null if d_ino is zero.
dir->d_ino = 0x60061E;
dir->d_reclen = sizeof(struct dirent);
- dir->d_reclen = sizeof(struct dirent);
strncpy(dir->d_name, slots_.At(*it)->name().c_str(), sizeof(dir->d_name));
++dir;
++pos;
« no previous file with comments | « libraries/nacl-mounts/dev/RandomDevice.cc ('k') | libraries/nacl-mounts/nacl-nacl-mounts.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698