Skip to content

OpenBSD: File.open and File#lutime failures #9438

@headius

Description

@headius

These failures may be due to broken native access or missing constants, but I have not investigated more deeply.

File.lutime sets the access and modification time of each file
File.lutime uses the current times if two nil values are passed
File.lutime accepts an object that has a #to_path method
File.lutime accepts an object that has a #to_path method
File.lutime accepts numeric atime and mtime arguments
File.lutime may set nanosecond precision
File.lutime returns the number of filenames in the arguments
File.lutime sets the access and modification time for a regular file
File.lutime sets the access and modification time for a symlink
File.open opens a file that no exists when use File::TRUNC mode
File.open truncates the file when passed File::TRUNC mode
File.open can't read in a block when call open with File::TRUNC mode
File.open can't write in a block when call open with File::TRUNC mode
File.open raises an Errno::EEXIST if the file exists when open with File::RDONLY|File::TRUNC
File::Stat#sticky? returns true if the named file has the sticky bit, otherwise false
File.sticky? returns true if the named file has the sticky bit, otherwise false
FileTest.sticky? returns true if the named file has the sticky bit, otherwise false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions