Ticket #258: typos-2012-04-26.diff

File typos-2012-04-26.diff, 3.9 KB (added by Steven Levine, 12 years ago)

Corrects some typos

  • emx/include/InnoTekLIBC/fork.h

     
    411411    /** Flag indicating whether or not the stack needs to be allocated.
    412412     * This is only set when fork() is called from threads other than 1. */
    413413    int                     fStackAlloc;
    414     /** Pointer to the instruction starint the return sequence for __fork().
     414    /** Pointer to the instruction starting the return sequence for __fork().
    415415     * Pratically speaking, set esp=pvStackRet and jump here. */
    416416    void                   *pvForkRet;
    417417
  • emx/src/lib/sys/sharedpm.c

     
    373373#endif
    374374
    375375    /*
    376      * Check if we've already registered (we're allways registred).
     376     * Check if we've already registered (we're always registered).
    377377     * If we have we'll simply return.
    378378     */
    379379    if (gpSPMSelf)
  • emx/src/lib/sys/libcfork.c

     
    342342 *
    343343 * @param   pModule     Pointer to the fork module structure for the
    344344 *                      module which is to registered.
    345  * @param   fExecutable Indicator that the call origins from crt0.s and
     345 * @param   fExecutable Indicator that the call originates from crt0.s and
    346346 *                      the final forking should start. The function
    347347 *                      will not return if this flag is set and the process
    348348 *                      was forked.
     
    651651    LIBCLOG_ENTER("__libc_Back_processFork:\n");
    652652
    653653    /*
    654      * Determin fxsave/fxrstor support.
     654     * Determine fxsave/fxrstor support.
    655655     */
    656656    static int fHaveFXSR = -1;
    657657    if (fHaveFXSR == -1)
     
    798798
    799799    /*
    800800     * Check if we have an executable in the module list.
    801      * It's impossible to pull of a fork without the executable being ready for it!
     801     * It's impossible to pull off a fork without the executable being ready for it!
    802802     */
    803803    if (forkParCanFork(pModules))
    804804    {
     
    10581058 * The fork buffer is owned by the caller upon successful return. The child
    10591059 * will go directly into wait on the mutex. I.e. the event sems are only used
    10601060 * for accessing the mutex, and the mutex is the semaphore to wait on. This is
    1061  * much more reliable than sleeping on event sems, since mutex sems gets
    1062  * invalidate if an owner dies.
     1061 * much more reliable than sleeping on event sems, since mutex sems get
     1062 * invalidated if an owner dies.
    10631063 *
    10641064 * The handle is created with buffer flushing disabled.
    10651065 *
     
    12321232 * Executes the child forked process and waits for it to finish the initial
    12331233 * child run.
    12341234 *
    1235  * The for buffer will be released before DosExecPgm() so the child can
     1235 * The fork buffer will be released before DosExecPgm() so the child can
    12361236 * do init time processing of the DosEx stuff for instance. After DosExecPgm()
    12371237 * we'll be wait on the event semaphore and subseqently on the mutex till
    12381238 * we obtain owner ship of the buffer again. The buffer will then contain
     
    24862486    }
    24872487
    24882488    /*
    2489      * Rest the buffer.
     2489     * Reset the buffer.
    24902490     */
    24912491    if (rc >= 0)
    24922492        forkBthBufferReset(pForkHandle);
  • emx/src/lib/sys/signals.c

     
    875875                  (void *)pvXcptOrQueued, fFlags);
    876876
    877877    /*
    878      * Can't be to careful!
     878     * Can't be too careful!
    879879     */
    880880    LIBC_ASSERTM(!__libc_back_signalSemIsOwner(), "Thread owns the signal semaphore!!! Bad boy!!\n");
    881881    if (!__SIGSET_SIG_VALID(iSignalNo) || iSignalNo == 0)