Changeset 2570


Ignore:
Timestamp:
Mar 7, 2006, 2:54:39 AM (19 years ago)
Author:
bird
Message:

#60: Fixed blunder in exec/spawn filehandle inheritance code.

Location:
branches/libc-0.6/src/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/libc-0.6/src/emx/ChangeLog.LIBC

    r2553 r2570  
    33TODO: open replace on RAMFS fails with error 32!
    44
     52006-03-06: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     6    - libc:
     7        o #60: Fixed blunder in exec/spawn filehandle inheritance code.
     8       
    592006-03-04: knut st. osmundsen <bird-gccos2-spam@anduin.net>
    610    - emxomfld:
  • TabularUnified branches/libc-0.6/src/emx/src/lib/sys/filehandles.c

    r2324 r2570  
    186186            {
    187187                case __LIBC_SPM_INH_FHB_TYPE_STANDARD:
    188                     for (i = 0; i < c; i++)
     188                    for (i = 0; i < c; i++, iFH++)
    189189                    {
    190190                        __LIBC_PFH pFH;
     
    205205
    206206                case __LIBC_SPM_INH_FHB_TYPE_DIRECTORY:
    207                     for (i = 0; i < c; i++)
     207                    for (i = 0; i < c; i++, iFH++)
    208208                    {
    209209                        const char *pszPath = u.pDirs->aHandles[i].offNativePath ? pInherit->pszStrings + u.pDirs->aHandles[i].offNativePath : NULL;
     
    222222
    223223                case __LIBC_SPM_INH_FHB_TYPE_SOCKET_44:
    224                     for (i = 0; i < c; i++)
     224                    for (i = 0; i < c; i++, iFH++)
    225225                    {
    226226                        int rc = TCPNAMEG44(AllocFHEx)(iFH, u.pSockets->aHandles[i].usSocket, u.pSockets->aHandles[i].fFlags, 0, NULL, NULL);
     
    237237
    238238                case __LIBC_SPM_INH_FHB_TYPE_SOCKET_43:
    239                     for (i = 0; i < c; i++)
     239                    for (i = 0; i < c; i++, iFH++)
    240240                    {
    241241                        int rc = TCPNAMEG43(AllocFHEx)(iFH, u.pSockets->aHandles[i].usSocket, u.pSockets->aHandles[i].fFlags, 0, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.