* fhandler_tape.cc (fhandler_dev_tape::open): Fix typo.

This commit is contained in:
Corinna Vinschen 2004-09-09 11:35:15 +00:00
parent 6423296840
commit 1f97020ae6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-09-09 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tape.cc (fhandler_dev_tape::open): Fix typo.
2004-09-09 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
* pipe.cc (create_selectable_pipe): Work around bug in Windows 95

View File

@ -1241,7 +1241,7 @@ fhandler_dev_tape::open (int flags, mode_t)
TAPE_SPACE_FILEMARKS, 1, true);
devbufsiz = mt->drive (driveno ())->dp ()->MaximumBlockSize;
devbuf = new char (devbufsiz);
devbuf = new char [devbufsiz];
devbufstart = devbufend = 0;
}
else