On 05/05/11 20:20, Sylvain Munaut wrote:
Hi,
This is the first patch in the series, I'll start little by little.
IMHO, Altough it's good to split the patch and replace subsysem by subsystem, it shouldn't be "spread out" too much in time because it creates a bunch of API incompatible librairies in the mean time.
I'll resend a bigger patchset then and put it in a branch.
JFYI: I'm including the regular expression in the patch description. Thus, you can use this to get your branches in sync with changes in less than one minute.
s/struct timer_list/struct osmo_timer_list/g s/bsc_add_timer/osmo_timer_add/g s/bsc_schedule_timer/osmo_timer_schedule/g s/bsc_del_timer/osmo_timer_del/g s/bsc_timer_pending/osmo_timer_pending/g s/bsc_nearest_timer/osmo_timers_nearest/g s/bsc_prepare_timers/osmo_timers_prepare/g s/bsc_update_timers/osmo_timers_update/g s/bsc_timer_check/osmo_timers_check/g
put this into /tmp/replace.txt, then you can use this small script:
cat /tmp/replace.txt | while read REPLACE do find ./ -type f -exec sed -i "$REPLACE" {} ; done
Probably there are people with more scripting skills here that would make it in one single line, but this is enough for me.