diff options
author | JozanLeClerc <JozanLeClerc@noemail.net> | 2020-11-29 17:28:15 +0000 |
---|---|---|
committer | JozanLeClerc <JozanLeClerc@noemail.net> | 2020-11-29 17:28:15 +0000 |
commit | 4033b56755e6adab0327e09b9db3f8d98f7c505b (patch) | |
tree | 672153b54c55053356dcd7a782105a894ae87310 | |
parent | Big fix (diff) | |
download | bsdsetsid-4033b56755e6adab0327e09b9db3f8d98f7c505b.tar.gz bsdsetsid-4033b56755e6adab0327e09b9db3f8d98f7c505b.tar.bz2 bsdsetsid-4033b56755e6adab0327e09b9db3f8d98f7c505b.tar.xz bsdsetsid-4033b56755e6adab0327e09b9db3f8d98f7c505b.tar.zst bsdsetsid-4033b56755e6adab0327e09b9db3f8d98f7c505b.zip |
Fix
FossilOrigin-Name: 863df0056651152c468b4ddc577226154b98509a
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | src/c_fork.c | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -11,7 +11,7 @@ # ======================== # # bsdsetsid: Makefile -# Sun Nov 29 18:15:56 CET 2020 +# Sun Nov 29 18:27:43 CET 2020 # Joe # # BSD Makefile @@ -44,6 +44,7 @@ CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -Werror CFLAGS += -pedantic +CFLAGS += -march=native -O2 -pipe RM := rm -f MKDIR := mkdir -p diff --git a/src/c_fork.c b/src/c_fork.c index 224ea99..19d5a0e 100644 --- a/src/c_fork.c +++ b/src/c_fork.c @@ -39,7 +39,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * bsdsetsid: src/c_fork.c - * Sun Nov 29 18:22:53 CET 2020 + * Sun Nov 29 18:27:24 CET 2020 * Joe * * The program's main fork(2). @@ -126,7 +126,6 @@ c_fork_child } path = mem; u.ret = c_get_path(argv[1 + wopt], envp, &path); - printf("%s\n", path); if (u.ret == 1) { dprintf(STDERR_FILENO, "%s: PATH not set\n", C_PROGNAME); exit(EXIT_FAILURE); |