[Bug 162765] [patch] lseek(2) may return successful although no seek operation was actually performed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 13 15:53:53 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162765

--- Comment #6 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: gbe
Date: Mon Jul 13 15:52:58 UTC 2020
New revision: 363156
URL: https://svnweb.freebsd.org/changeset/base/363156

Log:
  lseek(2): Document the seek behavior better and update the POSIX compliance

  In certain situations lseek(2) will return successful although if no seek
  was performed. This can happen when operating on devices that don't support
  seeking (older tape drives) or when operating on changeable media devices
  (such as DVD or Blu-ray devices) without a medium inserted.

  Document this within the man page and update the POSIX compliance while here.

  PR:           162765
  Submitted by: arundel@
  Reported by:  arundel@
  Reviewed by:  bcr (mentor)
  Approved by:  bcr (mentor)
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D25646

Changes:
  head/lib/libc/sys/lseek.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list