From 1f97020ae6d660cee2fc0484ed54f971226ddaa4 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 9 Sep 2004 11:35:15 +0000 Subject: [PATCH] * fhandler_tape.cc (fhandler_dev_tape::open): Fix typo. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler_tape.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 088fba426..8ac747660 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-09-09 Corinna Vinschen + + * fhandler_tape.cc (fhandler_dev_tape::open): Fix typo. + 2004-09-09 Bas van Gompel * pipe.cc (create_selectable_pipe): Work around bug in Windows 95 diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc index ea8853722..5b7c69909 100644 --- a/winsup/cygwin/fhandler_tape.cc +++ b/winsup/cygwin/fhandler_tape.cc @@ -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