Changeset fbcfc4da in mainline for uspace/srv/vfs/vfs_file.c


Ignore:
Timestamp:
2009-12-03T19:25:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9510be2
Parents:
cb3d641a (diff), 22e6802 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_file.c

    rcb3d641a rfbcfc4da  
    8989        unsigned int i;
    9090        if (desc)
    91                 i = MAX_OPEN_FILES;
     91                i = MAX_OPEN_FILES - 1;
    9292        else
    9393                i = 0;
     
    111111                        i--;
    112112                } else {
    113                         if (i == MAX_OPEN_FILES)
     113                        if (i == MAX_OPEN_FILES - 1)
    114114                                break;
    115115                       
Note: See TracChangeset for help on using the changeset viewer.