403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
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/databases/tcl-Mysql/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/databases/tcl-Mysql/files/patch-const-error
--- sql-mysql.h	Mon Sep 14 06:51:37 1998
+++ sql-mysql.h	Wed Nov 10 17:40:15 2004
@@ -31,4 +31,4 @@
 	Sql_row *fetchrow(int resHandle=0);
 
-	char    *getErrorMsg();
+	const char    *getErrorMsg();
 };
--- sql-interface.h	Mon Sep 14 06:52:41 1998
+++ sql-interface.h	2014-07-13 12:30:48.000000000 -0400
@@ -13,4 +13,6 @@
 #define SQL_INTERFACE_H
 
+#include <cstddef>
+
 class Sql_row;
 
@@ -54,5 +54,5 @@
 
 	// Get the error message, if there was one, for the last message
-	virtual char *getErrorMsg()        { return NULL; }
+	virtual const char *getErrorMsg()        { return NULL; }
 
 	// Virtual destructor
--- sql-manager.h	Wed Jun  9 22:47:25 1999
+++ sql-manager.h	Wed Nov 10 17:55:13 2004
@@ -13,5 +13,5 @@
 
   	// The last error message
-	char *errmsg;
+	const char *errmsg;
 
  public:
@@ -26,5 +26,5 @@
 
 	// Get the error message, if there was one, for the last message
-	char *getErrorMsg();
+	const char *getErrorMsg();
 
 };
--- sql-manager.cc	Wed Jun  9 22:50:23 1999
+++ sql-manager.cc	Wed Nov 10 18:07:41 2004
@@ -28,5 +28,5 @@
 
 // ---------------------------------------------------------
-char *
+const char *
 Manager_sql::getErrorMsg() {
 	return errmsg;

Youez - 2016 - github.com/yon3zu
LinuXploit