Skip to content

Commit

Permalink
Update copyright, remove GPL license text
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa committed Feb 19, 2015
1 parent 9698c37 commit b7bd893
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 73 deletions.
21 changes: 3 additions & 18 deletions UpdatePathVariable.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
/*
$Id$
Copyright (c) 2005-2006 Ross Smith II (http://smithii.com). All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
*/
// Copyright (c) 2005-2015 Ross Smith II. See Mit LICENSE in /LICENSE

/*
todo WM_SETTINGCHANGE isn't working right, research
Expand Down Expand Up @@ -58,7 +43,7 @@ int UpdatePathVariable(char *szVarName, char *szPath, int iUser, int iPrepend, i
DWORD rv = (DWORD) -1;

D(("UpdatePathVariable() start"));

for (;;)
{
char szVarValue[MAX_VALUE_LEN];
Expand Down Expand Up @@ -208,7 +193,7 @@ int UpdatePathVariable(char *szVarName, char *szPath, int iUser, int iPrepend, i

if (szNewPath)
free(szNewPath);

if (szExpandedPath)
free(szExpandedPath);

Expand Down
17 changes: 1 addition & 16 deletions UpdatePathVariable.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
/*
$Id$
Copyright (c) 2005-2006 Ross Smith II (http://smithii.com). All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
*/
// Copyright (c) 2005-2015 Ross Smith II. See Mit LICENSE in /LICENSE

#ifndef UPDATEPATHVARIABLE_H
#define UPDATEPATHVARIABLE_H
Expand Down
8 changes: 4 additions & 4 deletions nmake.mak
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
all:
$(MAKE)/f path_set.mak CFG="path_set - Win32 Release" all
$(MAKE)/f path_set.mak CFG="path_set - Win32 Debug" all
$(MAKE) /f path_set.mak CFG="path_set - Win32 Release" all
$(MAKE) /f path_set.mak CFG="path_set - Win32 Debug" all

clean:
$(MAKE)/f path_set.mak CFG="path_set - Win32 Release" clean
$(MAKE)/f path_set.mak CFG="path_set - Win32 Debug" clean
$(MAKE) /f path_set.mak CFG="path_set - Win32 Release" clean
$(MAKE) /f path_set.mak CFG="path_set - Win32 Debug" clean

realclean: clean
-cmd /c del /s *.bak
Expand Down
17 changes: 1 addition & 16 deletions path_set.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
/*
$Id$
Copyright (c) 2005-2006 Ross Smith II (http://smithii.com). All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
*/
// Copyright (c) 2005-2015 Ross Smith II. See Mit LICENSE in /LICENSE

/*
TODO:
Expand Down
23 changes: 4 additions & 19 deletions version.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
/*
$Id$
Copyright (c) 2002-2006 Ross Smith II (http://smithii.com). All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
*/
// Copyright (c) 2002-2015 Ross Smith II. See Mit LICENSE in /LICENSE

#define VER_INTERNAL_NAME "path_set"
#define VER_FILE_DESCRIPTION "Modify System/User Environment Variables"
#define VER_FILE_DESCRIPTION "Modify system and user environment variables"
#define VER_MAJOR 1
#define VER_MINOR 3
#define VER_STRING2 "1.3"
#define VER_MINOR 4
#define VER_STRING2 "1.4"

#include "ver_defaults.h"

0 comments on commit b7bd893

Please sign in to comment.