Phil Dibowitz wrote:
> Stephen Warren wrote:
>> Attached is a patch that adds the following line to the end of all
>> *.cpp, *.c, *.h files.
>>
>> This might help keeping people like me with different vi defaults on-style!
>
> Though I was going to follow a different convention and put them near the
> top along with an $Id$ line, ala:
>...
> Feel free to resubmit, or just wait and I'll get it done in the next day or
> so.
No problem; here it is.
Index: concordance/concordance.c
===================================================================
RCS file: /cvsroot/concordance/concordance/concordance/concordance.c,v
retrieving revision 1.18
diff -u -p -r1.18 concordance.c
--- concordance/concordance.c 1 Apr 2008 05:32:59 -0000 1.18
+++ concordance/concordance.c 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -995,4 +999,3 @@ cleanup:
return err;
}
-
Index: consnoop/consnoop.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/consnoop/consnoop.cpp,v
retrieving revision 1.8
diff -u -p -r1.8 consnoop.cpp
--- consnoop/consnoop.cpp 9 Mar 2008 01:50:48 -0000 1.8
+++ consnoop/consnoop.cpp 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/binaryfile.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/binaryfile.cpp,v
retrieving revision 1.6
diff -u -p -r1.6 binaryfile.cpp
--- libconcord/binaryfile.cpp 26 Mar 2008 01:48:08 -0000 1.6
+++ libconcord/binaryfile.cpp 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -102,4 +106,3 @@ size_t binaryinfile::read(uint8_t *b, ui
{
return fread(b, len, 1, m_f);
}
-
Index: libconcord/binaryfile.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/binaryfile.h,v
retrieving revision 1.3
diff -u -p -r1.3 binaryfile.h
--- libconcord/binaryfile.h 3 Mar 2008 02:58:16 -0000 1.3
+++ libconcord/binaryfile.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/concordance.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/concordance.h,v
retrieving revision 1.8
diff -u -p -r1.8 concordance.h
--- libconcord/concordance.h 7 Mar 2008 21:25:06 -0000 1.8
+++ libconcord/concordance.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+
+ $Id$
+
Copyright 2007 Kevin Timmerman
This program is free software; you can redistribute it and/or modify
Index: libconcord/hid.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/hid.h,v
retrieving revision 1.4
diff -u -p -r1.4 hid.h
--- libconcord/hid.h 3 Mar 2008 02:58:16 -0000 1.4
+++ libconcord/hid.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/libconcord.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libconcord.cpp,v
retrieving revision 1.21
diff -u -p -r1.21 libconcord.cpp
--- libconcord/libconcord.cpp 1 Apr 2008 08:10:13 -0000 1.21
+++ libconcord/libconcord.cpp 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -1169,4 +1173,3 @@ void report_net_error(const char *msg)
debug("Net error: %s failed with error %s", msg, strerror(errno));
#endif
}
-
Index: libconcord/libconcord.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libconcord.h,v
retrieving revision 1.14
diff -u -p -r1.14 libconcord.h
--- libconcord/libconcord.h 31 Mar 2008 01:40:36 -0000 1.14
+++ libconcord/libconcord.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -398,4 +402,3 @@ int learn_ir_commands(char *file_name, i
#endif
#endif /* LIBCONCORD_H */
-
Index: libconcord/protocol.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/protocol.h,v
retrieving revision 1.6
diff -u -p -r1.6 protocol.h
--- libconcord/protocol.h 30 Mar 2008 10:01:46 -0000 1.6
+++ libconcord/protocol.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -104,4 +108,3 @@
#define RESPONSE_DONE 0xF0
#endif
-
Index: libconcord/protocol_z.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/protocol_z.h,v
retrieving revision 1.2
diff -u -p -r1.2 protocol_z.h
--- libconcord/protocol_z.h 30 Mar 2008 10:01:46 -0000 1.2
+++ libconcord/protocol_z.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/remote.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote.cpp,v
retrieving revision 1.28
diff -u -p -r1.28 remote.cpp
--- libconcord/remote.cpp 1 Apr 2008 07:49:11 -0000 1.28
+++ libconcord/remote.cpp 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -808,4 +812,3 @@ int CRemote::LearnIR(string *learn_strin
return err;
}
-
Index: libconcord/remote.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote.h,v
retrieving revision 1.15
diff -u -p -r1.15 remote.h
--- libconcord/remote.h 30 Mar 2008 10:01:46 -0000 1.15
+++ libconcord/remote.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/remote_info.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote_info.h,v
retrieving revision 1.7
diff -u -p -r1.7 remote_info.h
--- libconcord/remote_info.h 30 Mar 2008 10:01:46 -0000 1.7
+++ libconcord/remote_info.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/remote_z.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/remote_z.cpp,v
retrieving revision 1.15
diff -u -p -r1.15 remote_z.cpp
--- libconcord/remote_z.cpp 30 Mar 2008 23:17:09 -0000 1.15
+++ libconcord/remote_z.cpp 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -353,4 +357,3 @@ int CRemoteZ_Base::LearnIR(string *learn
{
return 0;
}
-
Index: libconcord/usblan.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/usblan.cpp,v
retrieving revision 1.10
diff -u -p -r1.10 usblan.cpp
--- libconcord/usblan.cpp 30 Mar 2008 23:17:09 -0000 1.10
+++ libconcord/usblan.cpp 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/usblan.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/usblan.h,v
retrieving revision 1.3
diff -u -p -r1.3 usblan.h
--- libconcord/usblan.h 30 Mar 2008 10:01:46 -0000 1.3
+++ libconcord/usblan.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/web.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/web.cpp,v
retrieving revision 1.21
diff -u -p -r1.21 web.cpp
--- libconcord/web.cpp 30 Mar 2008 23:17:09 -0000 1.21
+++ libconcord/web.cpp 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -273,4 +277,3 @@ int Post(uint8_t *xml, uint32_t xml_size
return Zap(server, http_header,post.c_str());
}
-
Index: libconcord/web.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/web.h,v
retrieving revision 1.7
diff -u -p -r1.7 web.h
--- libconcord/web.h 30 Mar 2008 10:01:46 -0000 1.7
+++ libconcord/web.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/xml_headers.h
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/xml_headers.h,v
retrieving revision 1.5
diff -u -p -r1.5 xml_headers.h
--- libconcord/xml_headers.h 30 Mar 2008 10:01:46 -0000 1.5
+++ libconcord/xml_headers.h 2 Apr 2008 03:35:09 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/libusb/libusbhid.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/libusb/libusbhid.cpp,v
retrieving revision 1.14
diff -u -p -r1.14 libusbhid.cpp
--- libconcord/libusb/libusbhid.cpp 30 Mar 2008 23:17:09 -0000 1.14
+++ libconcord/libusb/libusbhid.cpp 2 Apr 2008 03:35:10 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/win/usb_rtl.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/win/usb_rtl.cpp,v
retrieving revision 1.5
diff -u -p -r1.5 usb_rtl.cpp
--- libconcord/win/usb_rtl.cpp 30 Mar 2008 10:01:46 -0000 1.5
+++ libconcord/win/usb_rtl.cpp 2 Apr 2008 03:35:10 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
Index: libconcord/win/winhid.cpp
===================================================================
RCS file: /cvsroot/concordance/concordance/libconcord/win/winhid.cpp,v
retrieving revision 1.7
diff -u -p -r1.7 winhid.cpp
--- libconcord/win/winhid.cpp 30 Mar 2008 23:17:09 -0000 1.7
+++ libconcord/win/winhid.cpp 2 Apr 2008 03:35:10 -0000
@@ -1,4 +1,8 @@
/*
+ * vi: textwidth=78 tabstop=8 shiftwidth=8 noexpandtab:
+ *
+ * $Id$
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
concordance-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/concordance-devel