Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Uninitialized timespec fields in stat #19

@FrankHB

Description

@FrankHB

This commit removed some redundant assignments on implementation-specific fields. However, it also left some public ones uninitialized.

Probably adding this would be better:

st->st_atim.tv_nsec = 0;
st->st_mtim.tv_nsec = 0;
st->st_ctim.tv_nsec = 0;

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