Update of /cvsroot/popfile/windows
In directory sc8-pr-cvs1:/tmp/cvs-serv27342
Modified Files:
CBP.nsh
Log Message:
Add copyright/GPL notice to CBP.ini.
Index: CBP.nsh
===================================================================
RCS file: /cvsroot/popfile/windows/CBP.nsh,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** CBP.nsh 1 Aug 2003 00:29:12 -0000 1.20
--- CBP.nsh 10 Aug 2003 19:35:35 -0000 1.21
***************
*** 45,49 ****
!else
!define CBP.nsh_included
!
#//////////////////////////////////////////////////////////////////////////////////////////////
#
--- 45,49 ----
!else
!define CBP.nsh_included
!
#//////////////////////////////////////////////////////////////////////////////////////////////
#
***************
*** 810,813 ****
--- 810,854 ----
# Now create the INI file for the "Create Buckets" custom page
#----------------------------------------------------------------------------------------------
+
+ ; Issue standard copyright and GPL notices
+
+ !define L_INI_HANDLE $R9
+ Push ${L_INI_HANDLE}
+
+ FileOpen ${L_INI_HANDLE} "$PLUGINSDIR\${CBP_C_INIFILE}" w
+
+ ; WARNING:
+ ; This 'FileWrite' uses a string which is only SIX characters less than the maximum allowed !
+
+ FileWrite ${L_INI_HANDLE} \
+ "#-------------------------------------------------------------------$\r$\n\
+ #$\r$\n\
+ # CBP.ini --- generated by the 'CBP_CreateINIfile' function$\r$\n\
+ #$\r$\n\
+ # Copyright (c) 2001-2003 John Graham-Cumming$\r$\n\
+ #$\r$\n\
+ # This file is part of POPFile$\r$\n\
+ #$\r$\n\
+ # POPFile is free software; you can redistribute it and/or modify$\r$\n\
+ # it under the terms of the GNU General Public License as published by$\r$\n\
+ # the Free Software Foundation; either version 2 of the License, or$\r$\n\
+ # (at your option) any later version.$\r$\n\
+ #$\r$\n\
+ # POPFile is distributed in the hope that it will be useful,$\r$\n\
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of$\r$\n\
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the$\r$\n\
+ # GNU General Public License for more details.$\r$\n\
+ #$\r$\n\
+ # You should have received a copy of the GNU General Public License$\r$\n\
+ # along with POPFile; if not, write to the Free Software$\r$\n\
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA$\r$\n\
+ #$\r$\n\
+ #-------------------------------------------------------------------$\r$\n\
+ $\r$\n"
+
+ FileClose ${L_INI_HANDLE}
+
+ Pop ${L_INI_HANDLE}
+ !undef L_INI_HANDLE
; The INI file header (all fields made visible)
|