Skip to content

Commit

Permalink
Automatic whitespace cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
axeld committed Dec 2, 2012
1 parent 772c970 commit 91d335e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/bin/bfs_tools/lib/Inode.cpp
Expand Up @@ -91,7 +91,7 @@ Inode::_Unset()
free(fPath);
fPath = NULL;

delete fAttributes;
delete fAttributes;
fAttributes = NULL;
}

Expand Down Expand Up @@ -522,7 +522,7 @@ Inode::CopyAttributesTo(BNode *node)
strerror(written));
} else if ((size_t)written < size) {
printf("could only write %ld bytes (from %ld) at attribute \"%s\"\n",
written, size, name);
written, size, name);
}
}

Expand Down Expand Up @@ -1075,7 +1075,7 @@ Directory::CopyTo(const char *root, bool fullPath, Inode::Source *source)
BPath path(root);
if (fullPath && Path(source))
path.Append(Path(source));

char *name = (char *)Name();
if (name != NULL) {
// changes the filename in the inode buffer (for deleted entries)
Expand All @@ -1094,7 +1094,7 @@ Directory::CopyTo(const char *root, bool fullPath, Inode::Source *source)
BDirectory directory;
if ((status = entry.GetParent(&directory)) < B_OK)
return status;

status = directory.CreateDirectory(path.Leaf(), NULL);
if (status < B_OK && status != B_FILE_EXISTS)
return status;
Expand Down
4 changes: 2 additions & 2 deletions src/bin/bfs_tools/lib/Inode.h
Expand Up @@ -114,7 +114,7 @@ class DataStream : public Inode, public BPositionIO {
virtual off_t Position() const;

virtual status_t SetSize(off_t size);

private:
int32 fCurrent;
int32 fLevel;
Expand Down Expand Up @@ -156,7 +156,7 @@ class Directory : public DataStream {
Directory(Disk *disk, bfs_inode *inode, bool ownBuffer = true);
Directory(const Inode &inode);
~Directory();

virtual status_t InitCheck();
virtual status_t CopyTo(const char *path, bool fullPath = true,
Inode::Source *source = NULL);
Expand Down

0 comments on commit 91d335e

Please sign in to comment.