This repository was archived by the owner on Apr 28, 2026. It is now read-only.
Add recipe for bash#60
Merged
jackpot51 merged 1 commit intoredox-os:masterfrom Aug 8, 2017
ids1024:bash
Merged
Conversation
jackpot51
reviewed
Aug 8, 2017
| #include "common.h" | ||
| #include "bashgetopt.h" | ||
|
|
||
| -#include <shtty.h> |
| { | ||
| /* ttsave() */ | ||
| termsave.fd = fd; | ||
| - ttgetattr (fd, &ttattrs); |
Member
There was a problem hiding this comment.
We technically have termios now, it should probably be implemented in newlib
| # include <unistd.h> | ||
| #endif | ||
|
|
||
| -#include <sys/ioctl.h> |
Member
There was a problem hiding this comment.
We also have winsize, using a dup buffer
| { | ||
| int e; | ||
|
|
||
| - if (setuid (current_user.uid) < 0) |
Member
There was a problem hiding this comment.
You should be able to use setuid
| break; | ||
|
|
||
| case SIG_SETMASK: | ||
| - old = sigsetmask (new); |
Member
There was a problem hiding this comment.
Maybe sigblock and sigsetmask can be implemented in terms of sigaction?
Member
|
Merging for now, but I left comments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.