| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/archivers/libcabinet/files/ |
Upload File : |
--- bstring.cpp.orig 1999-10-24 11:29:53 UTC
+++ bstring.cpp
@@ -15,7 +15,7 @@
#include "bstring.h"
#include <string.h>
-#include <fstream.h>
+#include <fstream>
///////////////////////////////////////***************************************
@@ -91,7 +91,7 @@ b_string& b_string::operator += (const c
b_string b_string::operator + (const char* s)
{
- b_string temp = str;
+ b_string temp (str);
return temp += s;
}
@@ -150,7 +150,7 @@ b_string& b_string::StpCpy(const char* s
if(strlen(str) < strlen(s)) // If more memory is needed
*this = s; // Use assign function
else // If stpcpy can be used
- stpcpy(str, s); // Copy s into str
+ strcpy(str, s); // Copy s into str
}
return *this; // Return a refrence to this object
@@ -217,4 +217,4 @@ istream& operator >> (istream& input, b_
//*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/
-#endif
\ No newline at end of file
+#endif