VirtualBox

Ignore:
Timestamp:
Nov 21, 2023 2:04:02 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160334
Message:

libs/xpcom/nsprpub: Now that there is no one left querying the extended error information we can drop thatcode completely, bugref:10545

Location:
trunk/src/libs/xpcom18a4/nsprpub/pr
Files:
5 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/prosdep.h

    r101869 r102209  
    7272
    7373#include "md/_unixos.h"
    74 #include "md/_unix_errors.h"
    7574
    7675#else
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/nspr.h

    r102200 r102209  
    4242#include "prclist.h"
    4343#include "prcvar.h"
    44 #include "prerror.h"
    4544#include "prinit.h"
    4645#include "prinrval.h"
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h

    r102203 r102209  
    255255    PRUint32 tpdLength;             /* thread's current vector length */
    256256    void **privateData;             /* private data vector or NULL */
    257     PRErrorCode errorCode;          /* current NSPR error code | zero */
    258     PRInt32 osErrorCode;            /* mapping of errorCode | zero */
    259     PRIntn  errorStringLength;      /* textLength from last call to PR_SetErrorText() */
    260     PRInt32 errorStringSize;        /* malloc()'d size of buffer | zero */
    261     char *errorString;              /* current error string | NULL */
    262257
    263258    pthread_t id;                   /* pthread identifier for the thread */
  • trunk/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptsynch.c

    r102202 r102209  
    369369    if (rv != 0)
    370370    {
    371         _PR_MD_MAP_DEFAULT_ERROR(rv);
    372371        return PR_FAILURE;
    373372    }
     
    375374
    376375aborted:
    377     PR_SetError(PR_PENDING_INTERRUPT_ERROR, 0);
    378376    thred->state &= ~PT_THREAD_ABORTED;
    379377    return PR_FAILURE;
     
    410408    if (NULL == cvar)
    411409    {
    412         PR_SetError(PR_OUT_OF_MEMORY_ERROR, 0);
    413410        return NULL;
    414411    }
  • trunk/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c

    r102202 r102209  
    148148
    149149    PR_Free(thred->privateData);
    150     if (NULL != thred->errorString)
    151         PR_Free(thred->errorString);
    152150    if (NULL != thred->syspoll_list)
    153151        PR_Free(thred->syspoll_list);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette