ino_t type definition

Joel Sherrill joel.sherrill at OARcorp.com
Fri Nov 9 13:14:40 UTC 2001



"Eugeny S. Mints" wrote:
> 
> Hi, All!
> 
> I investigated newlib-1.8.2 and 1.9.0 code and it seems
> ino_t type defined for rtems as short in both. It seems in
> this situation we will have a problem if, for example, create
> more than 65536 files in IMFS. Unfortunately, for my MSDOS
> fs implementation this is more important because of my
> ino-to-file assignment algorithm which often uses ino
> numbers greater than 0xFFFF. It seems int type more
> appropriate for ino_t.
> 
> Comments?

This seems unnecessarily limiting.  What does Cygwin and the other
newlib targets use?

The addition of __USE__MAIN__ for the sh-rtems target is forcing a 
new gcc patch and new gccnewlib RPMs so it seems reasonable to 
change this at the same time.  
 
>                                 Eugeny Mints
> 
> --
> Eugeny S. Mints
> OKTET Ltd.
> 1 Ulianovskaya st., Petergof, St.Petersburg, 198904 Russia
> Phone: +7(812)428-4384 Fax: +7(812)327-2246
> mailto:Eugeny.Mints at oktet.ru

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list