Changeset 612 for trunk/kernel/libk


Ignore:
Timestamp:
Jan 11, 2019, 6:35:07 PM (6 years ago)
Author:
alain
Message:

Fix several bugs in vfs.c, fatfs.c, and devfs.c to support
the <.> and <..> directory entries.

Location:
trunk/kernel/libk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/list.h

    r610 r612  
    7878
    7979/***************************************************************************
    80  * This macro returns the first element of a rooted double linked list.
     80 * This macro returns t pointer on the first element of a list.
    8181 ***************************************************************************
    8282 * @ root     : pointer on the list root
     
    8989
    9090/***************************************************************************
    91  * This macro returns the last element of a rooted double linked list.
     91 * This macro returns a pointer on the last element of a list.
    9292 ***************************************************************************
    9393 * @ root     : pointer on the list root
  • trunk/kernel/libk/xhtab.c

    r610 r612  
    238238        remote_busylock_release( XPTR( xhtab_cxy , &xhtab_ptr->lock ) );
    239239
    240         return EINVAL;
     240        return -1;
    241241    }
    242242    else                          // insert item if not found
Note: See TracChangeset for help on using the changeset viewer.