From 4bf0649377cc40eeaf5946e045d51900d52c0004 Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 8 Nov 2010 02:57:17 +0000 Subject: [PATCH] Comment fixes. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@35238 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/dos/finddosentry.c | 4 ++-- rom/dos/iofs_sendpkt.c | 2 +- rom/dos/namefromlock.c | 3 ++- rom/dos/sendpkt.c | 5 +++-- rom/dos/systemtaglist.c | 4 ++-- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/rom/dos/finddosentry.c b/rom/dos/finddosentry.c index 00ae13ae0a..f651aa6096 100644 --- a/rom/dos/finddosentry.c +++ b/rom/dos/finddosentry.c @@ -32,8 +32,8 @@ /* FUNCTION Looks for the next dos list entry with the right name. The list must be locked for this. There may be not more than one device - or assign node of the same name. There are no restrictions on - volume nodes. + or assign node of the same name. There are no such restrictions + on volume nodes. INPUTS dlist - the value given by LockDosList() or the last call to diff --git a/rom/dos/iofs_sendpkt.c b/rom/dos/iofs_sendpkt.c index 6e7c0ab970..1bf942fdea 100644 --- a/rom/dos/iofs_sendpkt.c +++ b/rom/dos/iofs_sendpkt.c @@ -42,7 +42,7 @@ void IOFS_SendPkt(struct DosPacket *dp, struct MsgPort *replyport, struct DosLib /* * Trying to emulate the packet system by rewriting the * packets to IO Requests. Sometimes there are too many - * parameters in the packet but thats fine. If there are + * parameters in the packet but that's fine. If there are * not enough parameters or the wrong type etc. then * it is more difficult to translate the packet. * diff --git a/rom/dos/namefromlock.c b/rom/dos/namefromlock.c index 08ec702575..43aeac8dcf 100644 --- a/rom/dos/namefromlock.c +++ b/rom/dos/namefromlock.c @@ -2,13 +2,14 @@ Copyright © 1995-2007, The AROS Development Team. All rights reserved. $Id$ - Desc: Retrieve thew full pathname from a lock. + Desc: Retrieve the full pathname from a lock. Lang: english */ #include #include #include #include "dos_intern.h" + #include struct MyExAllData diff --git a/rom/dos/sendpkt.c b/rom/dos/sendpkt.c index 94c359ad7c..80cc761983 100644 --- a/rom/dos/sendpkt.c +++ b/rom/dos/sendpkt.c @@ -1,11 +1,12 @@ /* - Copyright © 1995-2009, The AROS Development Team. All rights reserved. + Copyright © 1995-2010, The AROS Development Team. All rights reserved. $Id$ Desc: Lang: English */ +#define DEBUG 0 #include #include "dos_intern.h" #include @@ -61,7 +62,7 @@ { AROS_LIBFUNC_INIT - /* If port address is NULL, the called grabbed it manually from DosNode of IOFS handler. + /* If port address is NULL, the caller grabbed it manually from DosNode of IOFS handler. Forward the packet to emulator. */ if (!port) { D(bug("[DOS] SendPkt(): port is NULL, using IOFS\n")); diff --git a/rom/dos/systemtaglist.c b/rom/dos/systemtaglist.c index 93ab7d6bad..4afc7019b5 100644 --- a/rom/dos/systemtaglist.c +++ b/rom/dos/systemtaglist.c @@ -46,7 +46,7 @@ static BPTR DupFH(BPTR fh, LONG mode, struct DosLibrary * DOSBase); path will be used to find the command. Normally, the boot shell is used but other shells may be specified via tags. The tags are passed through to CreateNewProc() except those - who conflict with SystemTagList(). Currently, these are + that conflict with SystemTagList(). Currently, these are NP_Seglist NP_FreeSeglist @@ -72,7 +72,7 @@ static BPTR DupFH(BPTR fh, LONG mode, struct DosLibrary * DOSBase); RESULT - The return code of the command executed or -1 or if the command could + The return code of the command executed or -1 if the command could not run because the shell couldn't be created. If the command is not found, the shell will return an error code, usually RETURN_ERROR. -- 2.11.4.GIT