/[baselayout]/trunk/src/librc-depend.c
Gentoo

Log of /trunk/src/librc-depend.c

Parent Directory Parent Directory | Revision Log Revision Log



Revision 2889 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 15:43:19 2007 UTC (6 years, 10 months ago) by uberlord
File length: 22525 byte(s)
Diff to previous 2886
Don't be an ass - don't free the 2nd list. Instead just empty it.

Revision 2886 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 14:08:56 2007 UTC (6 years, 10 months ago) by uberlord
File length: 22363 byte(s)
Diff to previous 2883
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.

Revision 2883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 12:04:51 2007 UTC (6 years, 10 months ago) by uberlord
File length: 22407 byte(s)
Diff to previous 2882
    API change! rc_ls_dir, rc_get_config and rc_get_list no longer take
    a starting list as a first argument. Instead, use rc_strlist_join
    to append or prepend the new list to an existing list.

Revision 2882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 11:36:55 2007 UTC (6 years, 10 months ago) by uberlord
File length: 22324 byte(s)
Diff to previous 2841
    API change! rc_strlist_add and friends now take char *** instead of
    char ** and return a pointer to the item added instead of the new
    list head. This is so we can easily tell if the item was successfully
    added or not instead of iterating through the list looking for it.

    list = rc_strlist_add (list, item);
    becomes
    rc_strlist_add (&list, item);

Revision 2841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 17 13:23:02 2007 UTC (6 years, 11 months ago) by uberlord
File length: 22528 byte(s)
Diff to previous 2834
needsme should always be valid too

Revision 2834 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 16 16:53:20 2007 UTC (6 years, 11 months ago) by uberlord
File length: 22441 byte(s)
Diff to previous 2831
Add esyslog support

Revision 2831 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 15 14:49:41 2007 UTC (6 years, 11 months ago) by uberlord
File length: 22436 byte(s)
Diff to previous 2828
    `config /etc/fstab' can now be used in depend() functions to show that
    the deptree should be regenerated if /etc/fstab has changed.

Revision 2828 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 9 14:33:20 2007 UTC (6 years, 11 months ago) by uberlord
File length: 21348 byte(s)
Diff to previous 2786
Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code.

Revision 2786 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 21 12:49:51 2007 UTC (7 years ago) by uberlord
File length: 21337 byte(s)
Diff to previous 2768
    RC_DEPEND_STRICT now controls dependency strictness.
    If yes then we only use services in the boot and default runlevels,
    regradless of service state.
    If no then we take into account coldplugged services and the state
    of currently running services.
    Fixes #185640.

Revision 2768 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 11 12:06:37 2007 UTC (7 years ago) by uberlord
File length: 24452 byte(s)
Diff to previous 2739
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.

Revision 2739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 2 22:05:38 2007 UTC (7 years ago) by uberlord
File length: 24475 byte(s)
Diff to previous 2634
Make the provided code a little more readable and fix a bug when calculating provided services changing from single to default runlevel

Revision 2634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 19 14:54:35 2007 UTC (7 years, 3 months ago) by uberlord
File length: 24084 byte(s)
Diff to previous 2597
strdup -> rc_xstrdup

Revision 2597 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 13 14:08:16 2007 UTC (7 years, 3 months ago) by vapier
File length: 24060 byte(s)
Diff to previous 2572
kill off internal relocations for librc.so

Revision 2572 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 16:11:20 2007 UTC (7 years, 3 months ago) by uberlord
File length: 24045 byte(s)
Diff to previous 2571
Change veinfo and friends to einfov. Rationale - we may need veinfo to support va_list in the future.

Revision 2571 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 14:03:37 2007 UTC (7 years, 3 months ago) by uberlord
File length: 23954 byte(s)
Diff to previous 2569
int -> time_t

Revision 2569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 11:24:58 2007 UTC (7 years, 3 months ago) by uberlord
File length: 23951 byte(s)
Diff to previous 2556
Fix indentation

Revision 2556 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 7 08:46:42 2007 UTC (7 years, 3 months ago) by uberlord
File length: 21319 byte(s)
Diff to previous 2550
We don't use err.h

Revision 2550 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 01:04:07 2007 UTC (7 years, 3 months ago) by uberlord
File length: 21336 byte(s)
Diff to previous 2549
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults

Revision 2549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 15:01:09 2007 UTC (7 years, 3 months ago) by uberlord
File length: 21348 byte(s)
Diff to previous 2547
We now compile on OpenBSD (no idea if it works or not yet)

Revision 2547 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Apr 5 11:18:42 2007 UTC (7 years, 3 months ago) by uberlord
File length: 21319 byte(s)
    Rewrite the core parts in C. We now provide librc so other programs can
    query runlevels, services and state without using bash. We also provide
    libeinfo so other programs can easily use our informational functions.

    As such, we have dropped the requirement of using bash as the init script
    shell. We now use /bin/sh and have strived to make the scripts as portable
    as possible. Shells that work are bash and dash. busybox works provided
    you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
    should disable find too.
    zsh and ksh do not work at this time.

    Networking support is currently being re-vamped also as it was heavily bash
    array based. As such, a new config format is available like so
    config_eth0="1.2.3.4/24 5.6.7.8/16"
    or like so
    config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"

    We will still support the old bash array format provided that /bin/sh IS
    a link it bash.

    ChangeLog for baselayout-1 can be found in our SVN repo.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sticky Revision:
(Current path doesn't exist after revision 3108)

  ViewVC Help
Powered by ViewVC 1.1.20