Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Typo? S_IFLINK/S_IFLNK #130

@MichaelChirico

Description

@MichaelChirico

zip/src/rzip.c

Lines 18 to 19 in fa06515

#ifndef S_IFLINK
#define S_IFLNK 0120000 /* [XSI] symbolic link */

I only see S_IFLNK defined in <sys/stat.h>, is the mismatch here intentional?

https://pubs.opengroup.org/onlinepubs/7908799/xsh/sysstat.h.html

I do see some other references to S_IFLINK elsewhere:

https://www.google.com/search?q=%22S_IFLINK%22&rlz=1CACZQS_enUS1153US1153&oq=%22S_IFLINK%22&gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgoIARAAGIAEGKIEMgcIAhAAGO8FMgoIAxAAGIAEGKIEMgoIBBAAGKIEGIkFMgcIBRAAGO8F0gEINDAxOGowajSoAgCwAgA&sourceid=chrome&ie=UTF-8

So maybe it's indeed intentional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions