Changeset 3cf8394 in rtems for c/src/libfs/src/imfs/imfs_link.c


Ignore:
Timestamp:
Feb 24, 1999, 8:58:47 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0ce4728
Parents:
32a98d2
Message:

Changed IMFS to use IMFS_NAME_MAX as the maximum length of a basename
rather then NAME_MAX. NAME_MAX is 255 and that lets IMFS chew up memory
too fast. Perhaps in the future, the places in IMFS that put a maximum
length name string on the stack and the jnode structure does not include
a maximu length name string can be fixed so this is not a problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libfs/src/imfs/imfs_link.c

    r32a98d2 r3cf8394  
    2929  IMFS_types_union   info;
    3030  IMFS_jnode_t      *new_node;
    31   char               new_name[ NAME_MAX + 1 ];
     31  char               new_name[ IMFS_NAME_MAX + 1 ];
    3232  int                i;
    3333
Note: See TracChangeset for help on using the changeset viewer.