mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-25 03:00:54 +08:00
* libc/lseek.c: Modified after discussion with Eugeny S. Mints <jack@oktet.ru> to correct the behavior. There were two mistakes. First, iop->offset was incorrectly set for SEEK_END. Second, iop->offset should be left unmodified if there are errors. This modification attempts to fix both situations.