Menu

#38 attr/xattr.h is a Linux only "thing"

v1.0 (example)
closed-fixed
nobody
None
5
2019-03-01
2018-01-29
Mikhail T.
No

There is no <attr/xattr.h> on FreeBSD and the file (src/function.c) compiles fine on the OS without the include. if the include is necessary on Linux, please, consider the patch below.

The patch is against 0.6.1 -- 0.6.0 did not have this problem.

1 Attachments

Discussion

  • Mikhail Kshevetskiy

    probably fixed

     
  • Mikhail T.

    Mikhail T. - 2018-02-01

    Sorry, the 398e8169ea6d3d854af0173b1e66bf13c124f901 is not a fix -- there is no sys/xattr.h on FreeBSD either. If you think, the include is necessary at all -- have you tried compiling without it? -- then it should be protected by #ifdef __linux__, I think...

     
  • Mikhail Kshevetskiy

    not needed under linux anymore, so just removed.

     
  • Mikhail Kshevetskiy

    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.