Changeset 0cee850 in rtems


Ignore:
Timestamp:
Oct 21, 2003, 6:20:24 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
843805f7
Parents:
da08b6b
Message:

2003-10-21 Ralf Corsepius <corsepiu@…>

  • src/dosfs/msdos_file.c (msdos_file_read, msdos_file_write): Use '0' as initial value for ret instead of RC_OK.

2003-10-21 Ralf Corsepius <corsepiu@…>

  • src/dosfs/msdos_conv.c: Remove isupper, islower, toupper, tolower (Unused).
Location:
cpukit/libfs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/ChangeLog

    rda08b6b r0cee850  
     12003-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * src/dosfs/msdos_file.c (msdos_file_read, msdos_file_write):
     4        Use '0' as initial value for ret instead of RC_OK.
     5
     62003-10-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     7
     8        * src/dosfs/msdos_conv.c: Remove isupper, islower, toupper, tolower
     9        (Unused).
     10
    1112003-09-26      Joel Sherrill <joel@OARcorp.com>
    212
  • cpukit/libfs/src/dosfs/msdos_conv.c

    rda08b6b r0cee850  
    163163        return seconds + lastseconds;
    164164}
    165 
    166 /*
    167  * Cheezy macros to do case detection and conversion for the ascii
    168  * character set.  DOESN'T work for ebcdic.
    169  */
    170 #define isupper(c)      (c >= 'A'  &&  c <= 'Z')
    171 #define islower(c)      (c >= 'a'  &&  c <= 'z')
    172 #define toupper(c)      (c & ~' ')
    173 #define tolower(c)      (c | ' ')
    174165
    175166static const u_char msdos_map[] = {
  • cpukit/libfs/src/dosfs/msdos_file.c

    rda08b6b r0cee850  
    147147msdos_file_read(rtems_libio_t *iop, void *buffer, unsigned32 count)
    148148{
    149     ssize_t            ret = RC_OK;
     149    ssize_t            ret = 0;
    150150    rtems_status_code  sc = RTEMS_SUCCESSFUL;
    151151    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;
     
    180180msdos_file_write(rtems_libio_t *iop,const void *buffer, unsigned32 count)
    181181{
    182     ssize_t            ret = RC_OK;
     182    ssize_t            ret = 0;
    183183    rtems_status_code  sc = RTEMS_SUCCESSFUL;
    184184    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;
Note: See TracChangeset for help on using the changeset viewer.