*: trailing empty lines removed

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-07-26 01:49:12 +02:00
parent 0f8960542f
commit ba2dcccd79
42 changed files with 15 additions and 46 deletions

View File

@ -133,4 +133,3 @@ Specifying the calling convention
For example, on Windows, you may make all functions use the stdcall For example, on Windows, you may make all functions use the stdcall
calling convention by defining XZ_FUNC=__stdcall when building and calling convention by defining XZ_FUNC=__stdcall when building and
using the functions from XZ Embedded. using the functions from XZ Embedded.

View File

@ -83,4 +83,3 @@ config WHICH
print out their pathnames. print out their pathnames.
endmenu endmenu

View File

@ -253,4 +253,3 @@ Tito Ragusa <farmatito@tiscali.it>
devfsd and size optimizations in strings, openvt and deallocvt. devfsd and size optimizations in strings, openvt and deallocvt.
=cut =cut

View File

@ -426,5 +426,3 @@ you're having difficulty following some of the steps outlined in this
document don't worry, the folks on the Busybox mailing list are a fairly document don't worry, the folks on the Busybox mailing list are a fairly
good-natured bunch and will work with you to help get your patches into shape good-natured bunch and will work with you to help get your patches into shape
or help you make contributions. or help you make contributions.

View File

@ -739,4 +739,3 @@ xargs Busybox specific options:
zcat POSIX options: None zcat POSIX options: None
zcat Busybox specific options: None zcat Busybox specific options: None

View File

@ -636,5 +636,3 @@ static inline int tid_geq(tid_t x, tid_t y)
int difference = (x - y); int difference = (x - y);
return (difference >= 0); return (difference >= 0);
} }

View File

@ -70,5 +70,3 @@ int main(int argc, char **argv)
exit(0); exit(0);
} }
#endif #endif

View File

@ -1,4 +1,3 @@
This boot floppy is made with Busybox, uClibc, and the Linux kernel. This boot floppy is made with Busybox, uClibc, and the Linux kernel.
Hit RETURN to boot or enter boot parameters at the prompt below. Hit RETURN to boot or enter boot parameters at the prompt below.

View File

@ -1,2 +1 @@
proc /proc proc defaults 0 0 proc /proc proc defaults 0 0

View File

@ -2,4 +2,3 @@
::respawn:-/bin/sh ::respawn:-/bin/sh
tty2::askfirst:-/bin/sh tty2::askfirst:-/bin/sh
::ctrlaltdel:/bin/umount -a -r ::ctrlaltdel:/bin/umount -a -r

View File

@ -5,4 +5,3 @@ echo -n "Processing /etc/profile... "
# no-op # no-op
echo "Done" echo "Done"
echo echo

View File

@ -102,4 +102,3 @@ then
rmdir $TARGET_DIR rmdir $TARGET_DIR
gzip -9 rootfs gzip -9 rootfs
fi fi

View File

@ -87,4 +87,3 @@ tty5::respawn:/sbin/getty 38400 tty6
::ctrlaltdel:/sbin/reboot ::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r ::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a ::shutdown:/sbin/swapoff -a

View File

@ -28,4 +28,3 @@
# define RB_POWER_OFF RB_HALT_SYSTEM # define RB_POWER_OFF RB_HALT_SYSTEM
# endif # endif
#endif #endif

View File

@ -8,4 +8,3 @@ that you wrote that is mis-attributed, do let me know so we can fix that up.
Erik Andersen Erik Andersen
<andersen@codepoet.org> <andersen@codepoet.org>

View File

@ -53,4 +53,3 @@ void FAST_FUNC selinux_preserve_fcontext(int fdesc)
setfscreatecon_or_die(context); setfscreatecon_or_die(context);
freecon(context); freecon(context);
} }

View File

@ -126,4 +126,3 @@ int FAST_FUNC ll_proto_a2n(unsigned short *id, char *buf)
*id = htons(i); *id = htons(i);
return 0; return 0;
} }

View File

@ -153,4 +153,3 @@ $(host-cshlib): %: $(host-cshobjs) FORCE
targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\ targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\
$(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs) $(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs)

View File

@ -168,5 +168,3 @@ cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@
quiet_cmd_gzip = GZIP $@ quiet_cmd_gzip = GZIP $@
cmd_gzip = gzip -f -9 < $< > $@ cmd_gzip = gzip -f -9 < $< > $@

View File

@ -397,4 +397,3 @@ int main(int argc, char **argv)
fflush(stdout); fflush(stdout);
return exitstatus; return exitstatus;
} }

View File

@ -5,3 +5,13 @@ grep -n -A1 -r $'^\t*{$' . | grep -B1 '.[ch]-[0-9]*-$'
# or (less surefire ones): # or (less surefire ones):
grep -n -B1 -r $'^\t*}' . | grep -A1 '.[ch]-[0-9]*-$' grep -n -B1 -r $'^\t*}' . | grep -A1 '.[ch]-[0-9]*-$'
grep -n -A1 -r $'^\t*{' . | grep -B1 '.[ch]-[0-9]*-$' grep -n -A1 -r $'^\t*{' . | grep -B1 '.[ch]-[0-9]*-$'
# find trailing empty lines
find -type f | xargs tail -1 | while read file; do
test x"$file" = x"" && continue
read lastline
#echo "|$file|$lastline"
if test x"$lastline" = x""; then
echo "$file"
fi
done

View File

@ -11,4 +11,3 @@ EOF
if [ ! "$?" -eq "0" ]; then if [ ! "$?" -eq "0" ]; then
echo -DKBUILD_NO_NLS; echo -DKBUILD_NO_NLS;
fi fi

View File

@ -2322,4 +2322,3 @@ char *zconf_curname(void)
{ {
return current_pos.file ? current_pos.file->name : "<none>"; return current_pos.file ? current_pos.file->name : "<none>";
} }

View File

@ -394,4 +394,3 @@ struct menu *menu_get_parent_menu(struct menu *menu)
} }
return menu; return menu;
} }

View File

@ -112,4 +112,3 @@ const char *str_get(struct gstr *gs)
{ {
return gs->s; return gs->s;
} }

View File

@ -228,4 +228,3 @@ kconf_id_lookup (register const char *str, register unsigned int len)
} }
return 0; return 0;
} }

View File

@ -2169,5 +2169,3 @@ void zconfdump(FILE *out)
#include "expr.c" #include "expr.c"
#include "symbol.c" #include "symbol.c"
#include "menu.c" #include "menu.c"

View File

@ -18,4 +18,3 @@ then
fi fi
objdump -d $1 | sed -n -e '/./{H;$!d}' -e "x;/^.[0-9a-fA-F]* <$2>:/p" objdump -d $1 | sed -n -e '/./{H;$!d}' -e "x;/^.[0-9a-fA-F]* <$2>:/p"

View File

@ -122,4 +122,3 @@ config SESTATUS
Displays the status of SELinux. Displays the status of SELinux.
endmenu endmenu

View File

@ -1,3 +1,2 @@
while true; do echo A; break; echo B; done while true; do echo A; break; echo B; done
echo OK:$? echo OK:$?

View File

@ -128,4 +128,3 @@ config LOGGER
problems that occur within programs and scripts. problems that occur within programs and scripts.
endmenu endmenu

View File

@ -1,2 +1 @@
test x$(basename $(pwd)) = x$(busybox basename $(pwd)) test x$(basename $(pwd)) = x$(busybox basename $(pwd))

View File

@ -1,2 +1 @@
test x$(dirname $(pwd)) = x$(busybox dirname $(pwd)) test x$(dirname $(pwd)) = x$(busybox dirname $(pwd))

View File

@ -56,4 +56,3 @@ busybox expr 0 \>= 1
if [ $? != 1 ] ; then if [ $? != 1 ] ; then
exit 1; exit 1;
fi; fi;

View File

@ -6,4 +6,3 @@ if [ $? != 0 ] ; then
exit 0; exit 0;
fi fi
exit 1; exit 1;

View File

@ -29,4 +29,3 @@ testing "readlink -f on a wierd dir" "readlink -f $TESTDIR/../$TESTFILE" "$PWD/$
# clean up # clean up
rm -r "$TESTLINK" "$TESTDIR" rm -r "$TESTLINK" "$TESTDIR"

View File

@ -1,2 +1 @@
busybox uptime busybox uptime