diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-12 08:30:33 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-12 08:30:33 +0000 |
commit | d5b41b948b766b16d75dba967971d6e9ad2e255c (patch) | |
tree | 62d609d3e20979a367c74467c2640f619adea076 /security/botan/files | |
parent | upgrade to 0.9.3 (diff) |
upgrade to 1.2.1
PR: 51903
Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Notes
Notes:
svn path=/head/; revision=80806
Diffstat (limited to 'security/botan/files')
-rw-r--r-- | security/botan/files/patch-pipe_io.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/security/botan/files/patch-pipe_io.cpp b/security/botan/files/patch-pipe_io.cpp deleted file mode 100644 index 25c4bd7ce15e..000000000000 --- a/security/botan/files/patch-pipe_io.cpp +++ /dev/null @@ -1,34 +0,0 @@ ---- src/pipe_io.cpp.orig Fri May 10 10:10:27 2002 -+++ src/pipe_io.cpp Fri May 10 10:10:57 2002 -@@ -33,12 +33,12 @@ - { - static const u32bit BUFFERSIZE = DEFAULT_BUFFERSIZE; - SecureBuffer<byte, BUFFERSIZE> buffer; -- while(!std::ferror(stream) && pipe.remaining()) -+ while(!ferror(stream) && pipe.remaining()) - { - u32bit got = pipe.read(buffer, BUFFERSIZE); -- std::fwrite(buffer, 1, got, stream); -+ fwrite(buffer, 1, got, stream); - } -- if(std::ferror(stream)) -+ if(ferror(stream)) - throw Stream_IO_Error("Pipe output operator (stdio) has failed"); - return stream; - } -@@ -67,12 +67,12 @@ - { - static const u32bit BUFFERSIZE = DEFAULT_BUFFERSIZE; - SecureBuffer<byte, BUFFERSIZE> buffer; -- while(!std::ferror(stream) && !std::feof(stream)) -+ while(!ferror(stream) && !feof(stream)) - { -- u32bit got = std::fread(buffer, 1, BUFFERSIZE, stream); -+ u32bit got = fread(buffer, 1, BUFFERSIZE, stream); - pipe.write(buffer, got); - } -- if(std::ferror(stream)) -+ if(ferror(stream)) - throw Stream_IO_Error("Pipe input operator (stdio) has failed"); - return stream; - } |