Renamed CHECK_USER_ADDRESS() to IS_USER_ADDRESS() to make its function more clear.

Added our license to the updated source files.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6672 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-02-22 14:52:59 +00:00
parent faca9355a7
commit 38afe35e66
10 changed files with 113 additions and 94 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
/* This file contains the debugger */
/*
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
/*
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
@@ -531,7 +536,7 @@ _user_debug_output(const char *userString)
if (!sSerialDebugEnabled)
return;
if (!CHECK_USER_ADDRESS(userString)
if (!IS_USER_ADDRESS(userString)
|| user_strlcpy(string, userString, sizeof(string)) < B_OK)
return;