diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-01-08 21:18:03 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-01-08 21:18:03 +0000 |
commit | f2d1dd6ec19fef9721f3a7ade587ca207636ef6b (patch) | |
tree | 5514e1f84555d15a73dc8d252148bfef9e8d86a5 /finance/openhbci/files/patch-aa | |
parent | Update to version 4241 (diff) |
Add openhbci, client-side implementation of the HBCI
specification.
PR: 42601
Submitted by: Heiner Strauss <heiner@bilch.com>
Notes
Notes:
svn path=/head/; revision=72765
Diffstat (limited to 'finance/openhbci/files/patch-aa')
-rw-r--r-- | finance/openhbci/files/patch-aa | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/finance/openhbci/files/patch-aa b/finance/openhbci/files/patch-aa new file mode 100644 index 000000000000..df7bb9c2264a --- /dev/null +++ b/finance/openhbci/files/patch-aa @@ -0,0 +1,56 @@ +*** src/openhbci/core/posix/directory.cpp Mon Sep 9 15:52:41 2002 +*************** +*** 117,123 **** + + + string Directory::workingDirectory(){ +! char buffer[PATH_MAX]; + + if (!getcwd(buffer,sizeof(buffer))) + throw Error("Directory::workingDirectory()", +--- 117,123 ---- + + + string Directory::workingDirectory(){ +! char buffer[MAXNAMLEN]; + + if (!getcwd(buffer,sizeof(buffer))) + throw Error("Directory::workingDirectory()", +*** src/openhbci/core/posix/inetaddress.h Mon Sep 9 15:52:41 2002 +*************** +*** 31,38 **** + #define C_INEDADDRESS_H + + #include <string> +- #include <sys/socket.h> + #include <sys/types.h> + #include <sys/time.h> + #include <netinet/in.h> + #include <netdb.h> +--- 31,38 ---- + #define C_INEDADDRESS_H + + #include <string> + #include <sys/types.h> ++ #include <sys/socket.h> + #include <sys/time.h> + #include <netinet/in.h> + #include <netdb.h> +*** src/openhbci/core/posix/socket.cpp Mon Sep 9 15:52:41 2002 +*************** +*** 453,459 **** + p=data.c_str(); + i=data.length(); + while(i) { +! j=send(_sock,p,i,MSG_NOSIGNAL); + if (j<=0) + return Error("Socket::writeData", + ERROR_LEVEL_NORMAL, +--- 453,459 ---- + p=data.c_str(); + i=data.length(); + while(i) { +! j=send(_sock,p,i,MSG_EOF); + if (j<=0) + return Error("Socket::writeData", + ERROR_LEVEL_NORMAL, |