Lind-Project / lind-wasm

https://lind-project.github.io/lind-wasm-docs/
Apache License 2.0
1 stars 1 forks source link

Implement dup3 #50

Open robinyuan1002 opened 6 days ago

robinyuan1002 commented 6 days ago

When I was testing uniq in coreutil, uniq tried to call dup3, but we don't have dup3. The solution I currently use is to call dup2 (uniq can run), but this gives up the functionality of the dup3 flags.

JustinCappos commented 5 days ago

From what I see, this seems trivial to implement. A PR would be welcome.

On Wed, Nov 20, 2024 at 12:33 AM Runbin Yuan @.***> wrote:

When I was testing uniq in coreutil, uniq tried to call dup3, but we don't have dup3. The solution I currently use is to call dup2 (uniq can run), but this gives up the functionality of the dup3 flags.

— Reply to this email directly, view it on GitHub https://github.com/Lind-Project/lind-wasm/issues/50, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGROD5AJUXFM2D4KVNIFU32BQNKZAVCNFSM6AAAAABSDW7NFCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3TINBUGY4TAMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>