Roy Marples
|
4c14666423
|
Punt the rc_strcatpaths function and use snprintf instead to save on expensive malloc calls.
|
2008-03-17 13:25:56 +00:00 |
|
Roy Marples
|
40930d7d0a
|
Use correct TAILQ_CONCAT macro when not defined.
|
2008-03-16 17:27:13 +00:00 |
|
Roy Marples
|
cb9da6a262
|
Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF.
|
2008-03-16 17:00:56 +00:00 |
|
Roy Marples
|
39dd08c539
|
Test access instead of euid.
|
2008-03-06 11:34:38 +00:00 |
|
Roy Marples
|
c5d174af17
|
When stopping localmount, set LC_ALL=C so bash doesn't lock /usr.
|
2008-03-04 22:52:48 +00:00 |
|
Roy Marples
|
a12dbdc6c9
|
Don't check for root in prefix.
|
2008-03-02 21:13:21 +00:00 |
|
Roy Marples
|
391d8de622
|
close fd doesn't seem good enough - whereas fcntl does the job.
|
2008-02-28 21:26:53 +00:00 |
|
Roy Marples
|
ad780077d2
|
Welcome to 2008.
|
2008-02-22 12:07:34 +00:00 |
|
Roy Marples
|
9e39a934b8
|
Fix an off-by-one error.
|
2008-02-19 21:45:01 +00:00 |
|
Roy Marples
|
e1e36b2872
|
keywords -> keyword
|
2008-02-19 14:36:22 +00:00 |
|
Roy Marples
|
08a5bdbcb3
|
RC_DEP_START/STOP should only be used for ordering services, and not the actual dependencies ofthe services themselves. This allows coldplugged services to satisfy the net dependency for rc ordering them correctly but not for services that require net and strict is on.
|
2008-02-03 23:27:16 +00:00 |
|
Roy Marples
|
ad04517623
|
Block signals to avoid fork /signal races.
|
2008-02-02 00:17:35 +00:00 |
|
Roy Marples
|
fef5d0af59
|
Constantise as much as possible so that it reduces COW usage.
|
2008-02-01 19:54:46 +00:00 |
|
Roy Marples
|
f2ce40d90b
|
Use sigaction over signal.
|
2008-02-01 13:20:19 +00:00 |
|
Roy Marples
|
1e9be161b9
|
Fix up deps for new scripts.
|
2008-01-31 18:01:20 +00:00 |
|
Roy Marples
|
649a710552
|
Quiet some more lint warnings.
|
2008-01-22 11:07:39 +00:00 |
|
Roy Marples
|
2007ed4b95
|
Prefer for (;;) over while (1)
|
2008-01-21 16:10:38 +00:00 |
|
Roy Marples
|
b6be36e5ea
|
Don't enforce a C99 compiler.
|
2008-01-18 11:27:49 +00:00 |
|
Mike Frysinger
|
6aab712cb4
|
strip trailing newlines
|
2008-01-14 05:05:22 +00:00 |
|
Roy Marples
|
87e4e4410c
|
Remove rc_service_plugable function and make it private as it needs to read from our config file.
|
2008-01-13 17:47:23 +00:00 |
|
Roy Marples
|
abde759d5b
|
Re-indent to a standard tw of 8.
|
2008-01-11 15:51:40 +00:00 |
|
Roy Marples
|
ddf25cbcb7
|
Compile without warnings on NetBSD
|
2008-01-09 23:22:04 +00:00 |
|
Roy Marples
|
43d0f3fc76
|
rc_getline keeps expanding it's malloced buffer until it has read a whole line or EOF. All functions which read into static buffers have been changed to use fhis function to avoid any potential overflows and to ensure we really do read a long long config line.
|
2008-01-07 12:29:30 +00:00 |
|
Roy Marples
|
8afb86a5de
|
Set include paths in Makefile instead of .c files
|
2008-01-06 13:47:39 +00:00 |
|
Roy Marples
|
e6c9bdf2a3
|
Add the missing changes from the recent Makefile updates
|
2008-01-05 20:43:32 +00:00 |
|
Roy Marples
|
ac21d75300
|
Add some .mk stubs to impersonate bsk .mk files to make writing our Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.
|
2008-01-05 19:25:55 +00:00 |
|