summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-10-12 04:02:08 +0000
committerMichael Krufky <devnull@localhost>2005-10-12 04:02:08 +0000
commit723e8923174092825f6ffe13559fe0abc6f38552 (patch)
tree963ebbbe1a0cd70aa4785e72659f68b0cb94ee86 /v4l
parent4bb3fbe1741d0b0e1f04eab0558c60435f847d98 (diff)
downloadmediapointer-dvb-s2-723e8923174092825f6ffe13559fe0abc6f38552.tar.gz
mediapointer-dvb-s2-723e8923174092825f6ffe13559fe0abc6f38552.tar.bz2
* ../v4l/scripts/strip-trailing-whitespaces.sh:
- Updated script to function in new tree layout. Must be called from top-level. * ../Makefile: - Automatically strip trailing whitespaces before creating Changelog entry.
Diffstat (limited to 'v4l')
-rw-r--r--v4l/ChangeLog22
-rw-r--r--v4l/scripts/strip-trailing-whitespaces.sh5
2 files changed, 26 insertions, 1 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index 05e9e077a..082e9118e 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,25 @@
+2005-10-11 23:56 mkrufky
+
+ * ../v4l/scripts/strip-trailing-whitespaces.sh:
+ - Updated script to function in new tree layout.
+ Must be called from top-level.
+
+ * ../Makefile:
+ - Automatically strip trailing whitespaces before
+ creating Changelog entry.
+
+ * ../linux/Documentation/video4linux/README.cx88:
+ * ../linux/Documentation/video4linux/README.saa7134:
+ * ../linux/Documentation/video4linux/bttv/Sound-FAQ:
+ * ../linux/Documentation/video4linux/bttv/Tuners:
+ * ../linux/Documentation/video4linux/cx88/hauppauge-wintv-cx88-ir.txt:
+ * ../linux/Documentation/video4linux/lifeview.txt:
+ * ../linux/drivers/media/video/ir-kbd-i2c.c:
+ * ../linux/drivers/media/video/wm8775.c: (wm8775_write):
+ - Strip trailing whitespaces (for the last time!)
+
+ Signed-off-by: Michael Krufky <mkrufky@m1k.net>
+
2005-10-12 03:11 mkrufky
* ../linux/Documentation/video4linux/CARDLIST.saa7134:
diff --git a/v4l/scripts/strip-trailing-whitespaces.sh b/v4l/scripts/strip-trailing-whitespaces.sh
index 6e6c7d8bb..ea4f28752 100644
--- a/v4l/scripts/strip-trailing-whitespaces.sh
+++ b/v4l/scripts/strip-trailing-whitespaces.sh
@@ -5,7 +5,10 @@ WORK="${TMPDIR-/tmp}/${0##*/}-$$"
mkdir "$WORK" || exit 1
trap 'rm -rf "$WORK"' EXIT
-for file in *.[ch]; do
+for file in `find linux -type d | grep -v CVS | grep -v .cvsignore` ; do
+ mkdir -p "$WORK/${file}"
+done
+for file in `find linux -type f | grep -v CVS | grep -v .cvsignore` ; do
tmpfile="$WORK/${file}.$$"
perl -ne 's/[ \t]+$//; print' < "${file}" > "${tmpfile}"
diff -u "${file}" "${tmpfile}" | sed \