Skip to content
Snippets Groups Projects
  • rswindell's avatar
    aacb43ac
    If smb_getmsgidx() is called with a negative offset, it actually sets the · aacb43ac
    rswindell authored
    correct offset (from the beginning of the index) in the msg struct.
    smb_putmsgidx() will now return an error if asked to write to an index record
    offset past the end of the file (typically leaving a "hole" of zeroes in the
    index file).
    smb_putmsgidx() and smb_putmsghdr() now returns the result of the final
    fflush() call (normally 0, same as SMB_SUCCESS).
    aacb43ac
    History
    If smb_getmsgidx() is called with a negative offset, it actually sets the
    rswindell authored
    correct offset (from the beginning of the index) in the msg struct.
    smb_putmsgidx() will now return an error if asked to write to an index record
    offset past the end of the file (typically leaving a "hole" of zeroes in the
    index file).
    smb_putmsgidx() and smb_putmsghdr() now returns the result of the final
    fflush() call (normally 0, same as SMB_SUCCESS).