php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #72984 Compatibility with Darwin, maybe BSD
Submitted: 2016-08-31 05:19 UTC Modified: 2021-06-13 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: dana at dana dot is Assigned: cmb (profile)
Status: No Feedback Package: xattr (PECL)
PHP Version: 7.0.10 OS: Darwin
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dana at dana dot is
New email:
PHP Version: OS:

 

 [2016-08-31 05:19 UTC] dana at dana dot is
Description:
------------
Hello!

The xattr extension is currently Linux-only (or at least glibc-only), but i don't think it would be complicated at all to fix that limitation. I have a proof-of-concept fork with Darwin compatibility here:

https://github.com/okdana/pecl-xattr/compare/compat/darwin

Everything seems to work (except xattr_supported(); need to revisit that), and as you can see it was pretty simple, so i was even going to move on to adding *BSD compatibility — but i wanted to check to see if this sort of change would be welcome.

Would you accept a patch/PR that adds compatibility with Darwin and/or BSD?

If so:

1. Do you have any comments on the direction i'm taking? I'm not much of a C programmer, so i'm not sure what the best practices are. Should i create a separate file for compatibility stuff maybe?

2. What are the guide-lines for contributing to the project? Do i just submit patches through here?

Thanks!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-04-06 17:18 UTC] cmb@php.net
I suggest to submit a pull request:
<https://github.com/php/pecl-file_system-xattr/pulls>
 [2021-06-02 13:30 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-06-02 13:30 UTC] cmb@php.net
Is this even still an isue with any of the actively supported PHP
versions[1] and latest xattr (1.4.0).

[1] <https://www.php.net/supported-versions.php>
 [2021-06-13 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 17:01:30 2024 UTC