summaryrefslogtreecommitdiff
path: root/src/safeguard.c
diff options
context:
space:
mode:
authorCraig Silverstein <csilvers@khanacademy.org>2008-05-15 02:40:13 +0000
committerCraig Silverstein <csilvers@khanacademy.org>2008-05-15 02:40:13 +0000
commitb5f25c91c6251fb8320d9d679db9b26516a57aef (patch)
tree664b60eec3ea4138d0692868b6795bb196cf20ba /src/safeguard.c
parent91597ae8b96c670181d9cd40e02eddd248b7faf6 (diff)
downloaddistcc-git-b5f25c91c6251fb8320d9d679db9b26516a57aef.tar.gz
Add a consistent emacs-variable header to all source files. This
affects the way emacs users will see these files, when visiting them in emacs. In particular, tabs will show up as 4 spaces, which is (clearly) the setting the original distcc author used when writing the code. We also set an emacs variable to never insert new tabs, but use spaces instead. This will help stop the problem we have now with mixed tabs and spaces. In a future cleanup, we may replace all tabs with 4 spaces, and make other whitespace improvements. The final new variable set, is to set line-wrapping at 78 chars. Personally, I would have made it more like 72, but some existing files already had the 78 limit, so I just do that everywhere, to be consistent. Reviewed by fergus@google.com
Diffstat (limited to 'src/safeguard.c')
-rw-r--r--src/safeguard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/safeguard.c b/src/safeguard.c
index 37e39fb..0ce6561 100644
--- a/src/safeguard.c
+++ b/src/safeguard.c
@@ -1,4 +1,4 @@
-/* -*- c-file-style: "java"; indent-tabs-mode: nil; fill-column: 78 -*-
+/* -*- c-file-style: "java"; indent-tabs-mode: nil; tab-width: 4 fill-column: 78 -*-
*
* distcc -- A simple distributed compiler system
*