• R/O
  • SSH
  • HTTPS

qrobosdk: コミット


コミットメタ情報

リビジョン1845 (tree)
日時2010-06-11 07:51:43
作者satofumi

ログメッセージ

fixed snprintf prototype

変更サマリ

差分

--- trunk/libs/range_sensor/c/scip_handler.c (revision 1844)
+++ trunk/libs/range_sensor/c/scip_handler.c (revision 1845)
@@ -24,7 +24,7 @@
2424 #define snprintf _snprintf
2525 #endif
2626
27-extern int snprintf(char *, size_t, const char *, ...);
27+//extern int snprintf(char *, size_t, const char *, ...);
2828
2929
3030 /*! \todo Standardize with urg_ctrl.c */
--- trunk/libs/range_sensor/ethernet_samples/captureIntensitySample.cpp (revision 1844)
+++ trunk/libs/range_sensor/ethernet_samples/captureIntensitySample.cpp (revision 1845)
@@ -23,6 +23,7 @@
2323 const char address[] = "192.168.0.10";
2424 short port = 10940;
2525
26+ UrgDevice urg;
2627 TcpipSocket tcpip;
2728 if (! tcpip.connect(address, port)) {
2829 printf("TcpipSocket::connect: %s\n", tcpip.what());
@@ -29,7 +30,6 @@
2930 exit(1);
3031 }
3132
32- UrgDevice urg;
3333 urg.setConnection(&tcpip);
3434 urg.loadParameter();
3535
--- trunk/libs/connection/qt/TcpipSocket.cpp (revision 1844)
+++ trunk/libs/connection/qt/TcpipSocket.cpp (revision 1845)
@@ -107,6 +107,7 @@
107107 return 0;
108108 }
109109
110+ // !!! 制御構造を見直す
110111 size_t filled = 0;
111112 do {
112113 int n = pimpl->socket_->read(&data[filled], count - filled);
旧リポジトリブラウザで表示