[Ttssh2-commit] [8577] 未使用変数削除、ファイルヘッダの copyright を修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2020年 3月 8日 (日) 00:12:51 JST


Revision: 8577
          https://osdn.net/projects/ttssh2/scm/svn/commits/8577
Author:   zmatsuo
Date:     2020-03-08 00:12:50 +0900 (Sun, 08 Mar 2020)
Log Message:
-----------
未使用変数削除、ファイルヘッダの copyright を修正

- 未使用変数に copyright 文字列が入っていた
- ファイルヘッダを置き換えて、cpyright をファイルヘッダに入れた

Modified Paths:
--------------
    trunk/ttpmenu/registry.cpp
    trunk/ttpmenu/ttpmenu.cpp
    trunk/ttpmenu/winmisc.cpp
    trunk/ttpmenu/winmisc.h

-------------- next part --------------
Modified: trunk/ttpmenu/registry.cpp
===================================================================
--- trunk/ttpmenu/registry.cpp	2020-03-06 15:21:54 UTC (rev 8576)
+++ trunk/ttpmenu/registry.cpp	2020-03-07 15:12:50 UTC (rev 8577)
@@ -1,15 +1,34 @@
+/*
+ * Copyright (C) S.Hayakawa NTT-IT 1998-2002
+ * (C) 2002-2020 TeraTerm Project
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ *    derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 //\x95ۑ\xB6\x90\xE6\x82\xC9ini\x83t\x83@\x83C\x83\x8B\x82\xF0\x8Eg\x97p\x82\xB5\x82\xBD\x82\xA2\x8Fꍇ\x82́A0\x83o\x83C\x83g\x82̃t\x83@\x83C\x83\x8B\x82ł悢\x82̂\xC5ttpmenu.exe\x82Ɠ\xAF\x82\xB6\x83t\x83H\x83\x8B\x83_\x82\xC9ttpmenu.ini\x82\xF0\x97p\x88ӂ\xB7\x82\xE9
 #define		STRICT
-static char *Registry_id = 
-	"@(#)Copyright (C) NTT-IT 1998  -- registry.cpp --  Ver1.00b1";
-/* ==========================================================================
-	Project Name		: Universal Library
-	Outline				: Registry Function
-	Create				: 1998-02-17(Tue)
-	Update				: 
-	Copyright			: S.Hayakawa				NTT-IT
-	Reference			: 
-   ======1=========2=========3=========4=========5=========6=========7======= */
 #include	"registry.h"
 #include	"tchar.h"
 #include	"stdio.h"

Modified: trunk/ttpmenu/ttpmenu.cpp
===================================================================
--- trunk/ttpmenu/ttpmenu.cpp	2020-03-06 15:21:54 UTC (rev 8576)
+++ trunk/ttpmenu/ttpmenu.cpp	2020-03-07 15:12:50 UTC (rev 8577)
@@ -1,11 +1,31 @@
-/* ==========================================================================
-	Project Name		: TeraTerm Menu
-	Outline				: TeraTerm Menu Function
-	Version				: 0.94
-	Create				: 1998-11-22(Sun)
-	Update				: 2002-10-02(Wed)
-	Reference			: Copyright (C) S.Hayakawa 1997-2002
-   ======1=========2=========3=========4=========5=========6=========7======= */
+/*
+ * Copyright (C) S.Hayakawa NTT-IT 1998-2002
+ * (C) 2002-2020 TeraTerm Project
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ *    derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
 #define		STRICT
 
 #include	<windows.h>

Modified: trunk/ttpmenu/winmisc.cpp
===================================================================
--- trunk/ttpmenu/winmisc.cpp	2020-03-06 15:21:54 UTC (rev 8576)
+++ trunk/ttpmenu/winmisc.cpp	2020-03-07 15:12:50 UTC (rev 8577)
@@ -1,14 +1,33 @@
+/*
+ * Copyright (C) S.Hayakawa NTT-IT 1998-2002
+ * (C) 2002-2020 TeraTerm Project
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ *    derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 #define		STRICT
-static char *WinMisc_id = 
-	"@(#)Copyright (C) NTT-IT 1998-2002  -- winmisc.cpp --  Ver1.00b2";
-/* ==========================================================================
-	Project Name		: Universal Library
-	Outline				: WinMisc Function
-	Create				: 1998-02-20(Wed)
-	Update				: 2002-09-25(Wed)
-	Copyright			: S.Hayakawa				NTT-IT
-	Reference			: 
-   ======1=========2=========3=========4=========5=========6=========7======= */
 #include	"winmisc.h"
 
 

Modified: trunk/ttpmenu/winmisc.h
===================================================================
--- trunk/ttpmenu/winmisc.h	2020-03-06 15:21:54 UTC (rev 8576)
+++ trunk/ttpmenu/winmisc.h	2020-03-07 15:12:50 UTC (rev 8577)
@@ -1,14 +1,35 @@
+/*
+ * Copyright (C) S.Hayakawa NTT-IT 1998-2002
+ * (C) 2002-2020 TeraTerm Project
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ *    derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 #ifndef WINMISC_H
 #define	WINMISC_H
-/* @(#)Copyright (C) NTT-IT 1998-2002   -- winmisc.h -- Ver1.00b2 */
-/* ========================================================================
-	Project  Name			: Universal Library
-	Outline					: WinMisc function Header
-	Create					: 1998-02-20(Wed)
-	Update					: 2002-08-13(Tue)
-	Copyright				: S.Hayakawa				NTT-IT
-    Reference				: 
-	======================================================================== */
+
 #include	<windows.h>
 #include	<tchar.h>
 


Ttssh2-commit メーリングリストの案内
Back to archive index