Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2017-04-12 | strerror is blot | Nick Shipp | -9/+14 | |
2017-02-14 | perror is not die | Nick Shipp | -0/+1 | |
2017-02-13 | Bring up lo interface (fix #1) | Nick Shipp | -2/+26 | |
2017-01-29 | Depend on dhcpcd starting wpa_supplicant | Nick Shipp | -13/+3 | |
2017-01-18 | Use config.h HOMEDIR | Nick Shipp | -1/+1 | |
2017-01-18 | Major nshp rewrite | Nick Shipp | -19/+234 | |
2016-09-23 | Use switch for fork() | FRIGN | -6/+4 | |
This saves us one local variable and 2 lines of code, while improving readability by using the switch-style we are used to from other suckless projects. We are allowed to check against -1, as POSIX clearly mandates for the RETURN VALUE: "Upon successful completion, fork() shall return 0 to the child process and shall return the process ID of the child process to the parent process. Both processes shall continue to execute from the fork() function. Otherwise, -1 shall be returned to the parent process, no child process shall be created, and errno shall be set to indicate the error." [http://pubs.opengroup.org/onlinepubs/9699919799/functions/fork.html] This way, checking against < 0 was overdoing it and it's sufficient to compare against -1, justifying the switch statement here. | ||||
2015-07-12 | config.def.h: align rc*cmd | Ypnose | -2/+2 | |
2015-06-16 | Put sinit out of its misery and bump it up to 1.0 | sin | -1/+1 | |
2015-02-18 | Prefix signal handlers with 'sig' | sin | -9/+9 | |
Apparently reboot() is an existing symbol on some BSD systems. | ||||
2015-02-03 | Update LICENSE year | sin | -1/+1 | |
2015-02-01 | Fix some mandoc lint warnings | sin | -5/+3 | |
2014-12-04 | Style fix | sin | -9/+9 | |
2014-12-04 | Don't use EXIT_{SUCCESS,FAILURE} | sin | -3/+3 | |
2014-12-04 | Just use $(OBJ) instead of hardcoded sinit.o | sin | -1/+1 | |
2014-12-04 | Bump up to 0.9.2 | sin | -1/+1 | |
2014-12-04 | Update LICENSE | sin | -1/+1 | |
2014-12-04 | Simplify Makefile | sin | -51/+28 | |
2014-12-04 | Update manpage | sin | -23/+55 | |
2014-08-18 | Update link to initscripts | sin | -1/+1 | |
2014-08-17 | Remove -Wno-unused-result and add -s | sin | -2/+2 | |
2014-08-16 | Reword sinit manpage - clarify confusion around utmp entries. | sin | -5/+7 | |
2014-08-05 | Bump up to 0.9.1 | sin | -1/+1 | |
2014-07-26 | Re-order includes | sin | -2/+2 | |
2014-04-23 | Mention /bin/rc.init in the manpage | sin | -0/+4 | |
2014-04-23 | Add sinit.8 manpage | sin | -3/+33 | |
2014-04-23 | Add dist target to Makefile | sin | -1/+10 | |
2014-04-21 | Break on first signal found | sin | -2/+5 | |
2014-04-19 | setpgid(0, 0) seems redundant after setsid() | sin | -1/+0 | |
2014-04-16 | Bump up to v0.9 - should be the final release | sin | -1/+1 | |
2014-04-09 | Be less hardcore and don't use -Werror | sin | -1/+1 | |
Use -Wno-unused-result as the compiler produces false positives. | ||||
2014-03-27 | Fix vertical indentation | sin | -5/+0 | |
2014-03-27 | Just block all signals | sin | -3/+1 | |
2014-03-08 | Bump up version to v0.8 | sin | -1/+1 | |
2014-03-08 | Remove util/ | sin | -82/+9 | |
2014-03-08 | Mark venprintf() as static explicitly, not just in the decl | sin | -2/+1 | |
2014-02-27 | Don't assume that $(DESTDIR)$(PREFIX)/bin exists | sin | -0/+1 | |
2014-02-16 | No need to setsid() early | sin | -1/+0 | |
2014-02-12 | Bump up to v0.7 | sin | -1/+1 | |
2014-02-12 | Sanitize working dir - default to "/" | sin | -0/+2 | |
2014-02-10 | It doesn't really matter what we return - just signal failure | sin | -2/+1 | |
2014-02-10 | Add -Wextra and -Werror by default | sin | -1/+1 | |
2014-02-10 | Use proper type for iterator | sin | -1/+1 | |
2014-02-10 | Bump up to v0.6 | sin | -1/+1 | |
2014-02-10 | Remove signalfd include header | sin | -1/+0 | |
2014-02-10 | Use sigwait() instead of signalfd() | sin | -13/+3 | |
2014-02-10 | Unblock signals before exec | sin | -1/+3 | |
2014-02-10 | No need to typedef | sin | -11/+9 | |
2014-02-10 | Don't clutter code | sin | -8/+3 | |
2014-02-09 | Simplify naming of variables | sin | -11/+11 | |