I don't know anymore what I did with these files, but they seem to have changed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1448 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <Messenger.h>
|
#include <Messenger.h>
|
||||||
|
#include <string.h>
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "PortPool.h"
|
#include "PortPool.h"
|
||||||
#include "DataExchange.h"
|
#include "DataExchange.h"
|
||||||
@@ -40,11 +41,11 @@ public:
|
|||||||
initit _initit;
|
initit _initit;
|
||||||
|
|
||||||
|
|
||||||
void
|
status_t
|
||||||
request_data::SendReply(status_t result, reply_data *reply, int replysize) const
|
request_data::SendReply(status_t result, reply_data *reply, int replysize) const
|
||||||
{
|
{
|
||||||
reply->result = result;
|
reply->result = result;
|
||||||
SendToPort(reply_port, 0, reply, replysize);
|
return SendToPort(reply_port, 0, reply, replysize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -100,7 +101,7 @@ status_t SendToPort(port_id sendport, int32 msgcode, void *msg, int size)
|
|||||||
status_t rv;
|
status_t rv;
|
||||||
rv = write_port(sendport, msgcode, msg, size);
|
rv = write_port(sendport, msgcode, msg, size);
|
||||||
if (rv != B_OK)
|
if (rv != B_OK)
|
||||||
TRACE("SendToPort: write_port failed\n");
|
TRACE("SendToPort: write_port failed, port %#lx, error %#lx (%s)\n", sendport, rv, strerror(rv));
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -114,7 +115,7 @@ status_t QueryPort(port_id requestport, int32 msgcode, request_data *request, in
|
|||||||
|
|
||||||
rv = write_port(requestport, msgcode, request, requestsize);
|
rv = write_port(requestport, msgcode, request, requestsize);
|
||||||
if (rv != B_OK) {
|
if (rv != B_OK) {
|
||||||
TRACE("QueryPort: write_port failed\n");
|
TRACE("QueryPort: write_port failed, port %#lx, error %#lx (%s)\n", requestport, rv, strerror(rv));
|
||||||
_PortPool->PutPort(request->reply_port);
|
_PortPool->PutPort(request->reply_port);
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
@@ -123,7 +124,7 @@ status_t QueryPort(port_id requestport, int32 msgcode, request_data *request, in
|
|||||||
_PortPool->PutPort(request->reply_port);
|
_PortPool->PutPort(request->reply_port);
|
||||||
|
|
||||||
if (rv < B_OK)
|
if (rv < B_OK)
|
||||||
TRACE("QueryPort: read_port failed\n");
|
TRACE("QueryPort: read_port failed, port %#lx, error %#lx (%s)\n", request->reply_port, rv, strerror(rv));
|
||||||
|
|
||||||
return (rv < B_OK) ? rv : reply->result;
|
return (rv < B_OK) ? rv : reply->result;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -543,7 +543,7 @@ BMediaNode::operator new(size_t size,
|
|||||||
const nothrow_t &) throw()
|
const nothrow_t &) throw()
|
||||||
{
|
{
|
||||||
CALLED();
|
CALLED();
|
||||||
return ::operator new(size,nothrow);
|
return ::operator new(size, nothrow);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -558,7 +558,7 @@ BMediaNode::operator delete(void * ptr,
|
|||||||
const nothrow_t &) throw()
|
const nothrow_t &) throw()
|
||||||
{
|
{
|
||||||
CALLED();
|
CALLED();
|
||||||
::operator delete(ptr,nothrow);
|
::operator delete(ptr, nothrow);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************
|
/*************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user