projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b84ed9
)
make_tar_archive() needs to initialize `success'.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 17 Aug 2006 16:47:41 +0000
(16:47 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 17 Aug 2006 16:47:41 +0000
(16:47 +0000)
Thanks to "Morgan" <theatomicbob@excite.com> for reporting this bug.
src/tests/filesys/extended/tar.c
patch
|
blob
|
history
diff --git
a/src/tests/filesys/extended/tar.c
b/src/tests/filesys/extended/tar.c
index 193c373fe92abe66576d616f316ab0f347022939..a5818616b4b2afe80921987fe2236bcec3b72c46 100644
(file)
--- a/
src/tests/filesys/extended/tar.c
+++ b/
src/tests/filesys/extended/tar.c
@@
-50,7
+50,7
@@
make_tar_archive (const char *archive_name, char *files[], size_t file_cnt)
{
static const char zeros[512];
int archive_fd;
- bool success;
+ bool success
= true
;
bool write_error = false;
size_t i;