Re: help with C program

1999-07-20 Thread David FRYDMAN
Your problem comes that after  scanf, the file pointer don't point at the end of stdin. it points to the first caracter scanf did not return (if you pressed "abc\n" your getchar will return '\n') you can solve the problem easely by adding     fseek(stdin,0,SEEK_END); before using getchar()   by t

[Fwd: Linux limitations]

1999-05-22 Thread David FRYDMAN
here are the information for this disk: fdisk gives: Disk /dev/hdc: 255 heads, 63 sectors, 523 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /dev/hdc1 1 523 4200966 83 Linux and df:

Re: Linux limitations

1999-05-22 Thread David FRYDMAN
I don't know what is the limitation of ext2 but I'm using one disk of 4.2GB with only one ext2. So the limitation of ext2 is at least 4.2GB and probably more. Oren Shomron wrote: > I read an article which points out two limitations of Linux - 2GB of > RAM and 2GB > file sizes. My question is, a