This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, libfortran] PR33985 access="stream",form="unformatted" doesn't buffer
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 3 Nov 2007 11:49:22 +0000
- Subject: Re: [patch, libfortran] PR33985 access="stream",form="unformatted" doesn't buffer
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; bh=WRLEOhDhvBGDmIy2jcNI4NyJlIe7MdomY3a6cdSNFBk=; b=q8nM7JcdCdWUCAU9FNxzMsRpzywdSjOO09/tGFJR0xvaBdKOEEu7N88Xz0Nvz73JyXesjQJnGfXq3N40gzwVU97F9tgMuHtNGWv3+3zMGZJeEUhogDmIkp7LNKgyN9RW7bIyDgHQ92NH8ZxPp+oeHCwLF6mYToSWz4NUJqvJqeY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=PytGbrrV+e+LnRMlhOp3P4F8lYwaKm5C4sZl33jajvrEsRz9cX+wWaqvcenGJvJzYeWQHYDKVsuVt9GK2adkz5bpFQZLAQLYCf8Ckrwkk1yEDBEC/M9N5Hl80yG92Lh9uSMeGG8/IwTMdg7Opbkrxrqq7C46YQiDDOe74l1rztk=
- References: <472C0D1D.6000201@verizon.net>
Hi Jerry,
The following patch regression tests fine on x86-64-Gnu-linux.
With strace with Thomas' example in the PR we now get this:
$ strace -etrace=write ./a.out
write(3, "\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26
\27\30\31\32\33\34\35\36\37"..., 256) = 256
The patch is OK to commit.
FX