diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-10-23 14:25:16 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-10-23 14:25:16 +0000 |
commit | a2f328dedde101e04cd0d0ce62028b23d939062a (patch) | |
tree | 40f5268dd8e473158e6208ea0965ee2dae5a9d20 /security/steghide/files/patch-src-bmpfile.cc | |
parent | - Install documentation (both included text files and the manual available (diff) |
Update to 0.5.1
Notes
Notes:
svn path=/head/; revision=91962
Diffstat (limited to 'security/steghide/files/patch-src-bmpfile.cc')
-rw-r--r-- | security/steghide/files/patch-src-bmpfile.cc | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/security/steghide/files/patch-src-bmpfile.cc b/security/steghide/files/patch-src-bmpfile.cc deleted file mode 100644 index 527e2a90ac5a..000000000000 --- a/security/steghide/files/patch-src-bmpfile.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- src/bmpfile.cc.orig Thu Sep 26 21:46:06 2002 -+++ src/bmpfile.cc Thu Sep 26 21:54:46 2002 -@@ -21,6 +21,8 @@ - #include <stdio.h> - #include <stdlib.h> - #include <assert.h> -+#include <string> -+#include <vector> - - #include <libintl.h> - #define _(S) gettext (S) -@@ -305,7 +307,7 @@ - bmi_win.ncolors = bmi_win.bmih.biClrUsed ; - } - -- bmi_win.colors = vector<RGBQUAD> (bmi_win.ncolors) ; -+ bmi_win.colors = std::vector<RGBQUAD> (bmi_win.ncolors) ; - for (unsigned int i = 0 ; i < bmi_win.ncolors ; i++) { - bmi_win.colors[i].rgbBlue = getBinIO()->read8() ; - bmi_win.colors[i].rgbGreen = getBinIO()->read8() ; -@@ -371,7 +373,7 @@ - } - } - -- bmi_os2.colors = vector<RGBTRIPLE> (bmi_os2.ncolors) ; -+ bmi_os2.colors = std::vector<RGBTRIPLE> (bmi_os2.ncolors) ; - for (unsigned int i = 0 ; i < bmi_os2.ncolors ; i++) { - bmi_os2.colors[i].rgbtBlue = getBinIO()->read8() ; - bmi_os2.colors[i].rgbtGreen = getBinIO()->read8() ; -@@ -550,7 +552,7 @@ - paddinglength = 4 - (linelength % 4) ; - } - -- bitmap = vector<vector<unsigned char> > (height) ; -+ bitmap = std::vector<std::vector<unsigned char> > (height) ; - for (long line = height - 1 ; line >= 0 ; line--) { - for (long posinline = 0 ; posinline < linelength ; posinline++) { - bitmap[line].push_back (getBinIO()->read8()) ; -@@ -622,7 +624,7 @@ - } - } - -- for (vector<unsigned char>::iterator i = atend.begin() ; i != atend.end() ; i++) { -+ for (std::vector<unsigned char>::iterator i = atend.begin() ; i != atend.end() ; i++) { - getBinIO()->write8 (*i) ; - } - } |