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

Log of /trunk/src/librc-misc.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, 11 months ago) by uberlord
File length: 15339 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, 11 months ago) by uberlord
File length: 15290 byte(s)
Diff to previous 2885
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.

Revision 2885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 12:20:55 2007 UTC (6 years, 11 months ago) by uberlord
File length: 15301 byte(s)
Diff to previous 2883
API change! rc_config_env is renamed to rc_make_env and takes no argument.

Revision 2883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 12:04:51 2007 UTC (6 years, 11 months ago) by uberlord
File length: 15291 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, 11 months ago) by uberlord
File length: 15281 byte(s)
Diff to previous 2857
    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 2857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 28 16:28:33 2007 UTC (6 years, 11 months ago) by uberlord
File length: 15363 byte(s)
Diff to previous 2828
More path fixes thanks to Thomas Pani

Revision 2828 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 9 14:33:20 2007 UTC (7 years ago) by uberlord
File length: 15395 byte(s)
Diff to previous 2785
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 2785 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 19 21:44:55 2007 UTC (7 years, 1 month ago) by uberlord
File length: 15357 byte(s)
Diff to previous 2773
Skip some files in env-update like portage env-update for more robustness

Revision 2773 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 12 09:48:44 2007 UTC (7 years, 1 month ago) by uberlord
File length: 15356 byte(s)
Diff to previous 2755
Punt the RC_TTY variable

Revision 2755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 9 10:26:02 2007 UTC (7 years, 1 month ago) by uberlord
File length: 15768 byte(s)
Diff to previous 2714
Add an option to fork ldconfig in env-update, #182794. Also, preserve the entire line in /etc/env.d/foo if it begins with $

Revision 2714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 23 12:30:34 2007 UTC (7 years, 3 months ago) by uberlord
File length: 15694 byte(s)
Diff to previous 2706
RC_SYS should now set XEN0 correctly

Revision 2706 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 15 15:56:35 2007 UTC (7 years, 3 months ago) by uberlord
File length: 15691 byte(s)
Diff to previous 2676
/etc/conf.d/rc.$runlevel now works, #177869.

Revision 2676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 12:33:56 2007 UTC (7 years, 3 months ago) by uberlord
File length: 15494 byte(s)
Diff to previous 2650
    SSD_NICELEVEL can now affect the nicelevel for daemons started
    by start-stop-daemon, #175397.

Revision 2650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 24 11:29:19 2007 UTC (7 years, 3 months ago) by uberlord
File length: 15468 byte(s)
Diff to previous 2635
We now buffer stdout and stderr to a file and flush that when running in parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL.

Revision 2635 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 19 15:31:01 2007 UTC (7 years, 4 months ago) by uberlord
File length: 15030 byte(s)
Diff to previous 2634
Fix fstabinfo -p /

Revision 2634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 19 14:54:35 2007 UTC (7 years, 4 months ago) by uberlord
File length: 15034 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, 4 months ago) by vapier
File length: 15026 byte(s)
Diff to previous 2577
kill off internal relocations for librc.so

Revision 2577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 12:44:47 2007 UTC (7 years, 4 months ago) by uberlord
File length: 14796 byte(s)
Diff to previous 2569
Cuddle up to LKML C style

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

Revision 2567 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 10:33:44 2007 UTC (7 years, 4 months ago) by uberlord
File length: 15698 byte(s)
Diff to previous 2560
Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own.

Revision 2560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 8 16:03:48 2007 UTC (7 years, 4 months ago) by uberlord
File length: 15789 byte(s)
Diff to previous 2553
LIBDIR -> LIB. When interuppted, ensure service state is restored correctly. When stopping, don't uncoldplug too early.

Revision 2553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 08:37:15 2007 UTC (7 years, 4 months ago) by uberlord
File length: 15719 byte(s)
Diff to previous 2550
snprintf is better

Revision 2550 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 01:04:07 2007 UTC (7 years, 4 months ago) by uberlord
File length: 15689 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, 4 months ago) by uberlord
File length: 15628 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, 4 months ago) by uberlord
File length: 15602 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