This commit is contained in:
larryh%netscape.com 2000-07-19 22:03:36 +00:00
Родитель 11675cf4d1
Коммит 42c7a98b9b
4 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -348,7 +348,7 @@ PR_IMPLEMENT(PRInt32) PR_EmulateSendFile(
PRFileInfo info;
PRIOVec iov[3];
PRFileMap *mapHandle = NULL;
void *addr;
void *addr = (void*)0; /* initialized to some arbitrary value. Keeps compiler warnings down. */
PRUint32 file_mmap_offset, alignment;
PRInt64 zero64;
PROffset64 file_mmap_offset64;

Просмотреть файл

@ -970,7 +970,7 @@ PR_IMPLEMENT(PRRecvWait*) PR_WaitRecvReady(PRWaitGroup *group)
** it is still full of if's with continue and goto.
*/
PRStatus st;
while (PR_CLIST_IS_EMPTY(&group->io_ready))
do
{
st = PR_WaitCondVar(group->io_complete, PR_INTERVAL_NO_TIMEOUT);
if (_prmw_running != group->state)
@ -979,7 +979,7 @@ PR_IMPLEMENT(PRRecvWait*) PR_WaitRecvReady(PRWaitGroup *group)
goto aborted;
}
if (_MW_ABORTED(st) || (NULL == group->poller)) break;
}
} while (PR_CLIST_IS_EMPTY(&group->io_ready));
/*
** The thread is interrupted and has to leave. It might

Просмотреть файл

@ -419,7 +419,7 @@ Convert(ScanfState *state, const char *fmt)
{
const char *cPtr;
int ch;
char *cArg;
char *cArg = NULL;
state->converted = PR_FALSE;
cPtr = fmt;

Просмотреть файл

@ -625,7 +625,7 @@ extern PRFileMap * _md_ImportFileMapFromString(
PRInt32 osfd;
PRIntn prot; /* really: a PRFileMapProtect */
PRFileDesc *fd;
PRFileMap *fm;
PRFileMap *fm = NULL; /* default return value */
PRFileInfo64 info;
PR_sscanf( fmstring, "%ld:%d", &osfd, &prot );