You can subscribe to this list here.
2006 |
Jan
|
Feb
(52) |
Mar
(83) |
Apr
(37) |
May
(23) |
Jun
(9) |
Jul
(10) |
Aug
(30) |
Sep
(4) |
Oct
(9) |
Nov
(10) |
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(3) |
Feb
(20) |
Mar
(3) |
Apr
|
May
(10) |
Jun
(17) |
Jul
(11) |
Aug
(6) |
Sep
(6) |
Oct
|
Nov
(15) |
Dec
(15) |
2008 |
Jan
(12) |
Feb
(1) |
Mar
(13) |
Apr
(7) |
May
(4) |
Jun
(37) |
Jul
(9) |
Aug
(7) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
(1) |
Feb
(11) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2010 |
Jan
(3) |
Feb
(1) |
Mar
|
Apr
|
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(4) |
Nov
(6) |
Dec
(2) |
2011 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
(3) |
Oct
(3) |
Nov
(6) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Dustin K. <da...@us...> - 2009-02-27 02:08:28
|
Update of /cvsroot/radmind/radmind-pc In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13924 Modified Files: Makefile Log Message: Updated internal buffers to handle string security descriptors up to 128k. Index: Makefile =================================================================== RCS file: /cvsroot/radmind/radmind-pc/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 25 Feb 2009 16:44:12 -0000 1.2 --- Makefile 27 Feb 2009 02:08:16 -0000 1.3 *************** *** 2,5 **** --- 2,6 ---- LIBSNET_D=c:\src\libsnet32 SRC_D=c:\src\radmind-pc + VERSION=0.0.0 COMM_SRC_D=$(SRC_D)\common *************** *** 17,21 **** -D_RADMIND_TLS_CA=\"\" -D_RADMIND_TLS_CERT=\"\" -D_RADMIND_PATH=\"c:/radmind\" \ -D_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\" -D_RADMIND_HOST=\"\" \ ! -D_RADMIND_AUTHLEVEL=0 KTCHECK_OBJ=$(FS_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ --- 18,22 ---- -D_RADMIND_TLS_CA=\"\" -D_RADMIND_TLS_CERT=\"\" -D_RADMIND_PATH=\"c:/radmind\" \ -D_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\" -D_RADMIND_HOST=\"\" \ ! -D_RADMIND_AUTHLEVEL=0 -DVERSION=\"$(VERSION)\" KTCHECK_OBJ=$(FS_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ |
From: Dustin K. <da...@us...> - 2009-02-27 02:08:28
|
Update of /cvsroot/radmind/radmind-pc/fs In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13924/fs Modified Files: ntfsdiff.c transcript.c transcript.h Log Message: Updated internal buffers to handle string security descriptors up to 128k. Index: transcript.h =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/transcript.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** transcript.h 14 Dec 2005 20:25:09 -0000 1.6 --- transcript.h 27 Feb 2009 02:08:16 -0000 1.7 *************** *** 32,38 **** char pi_type; char pi_name[ MAX_PATH ]; ! char pi_first_line[ MAX_PATH + 20 ]; char pi_time_size_string[ 128 ]; ! char pi_sec_string[ 2048 ]; char pi_chksum_b64[ 29 ]; int pi_minus; --- 32,38 ---- char pi_type; char pi_name[ MAX_PATH ]; ! char pi_first_line[ 3*MAX_PATH + 20 ]; char pi_time_size_string[ 128 ]; ! char pi_sec_string[ 131072 ]; char pi_chksum_b64[ 29 ]; int pi_minus; Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/transcript.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** transcript.c 13 Jun 2007 16:17:40 -0000 1.17 --- transcript.c 27 Feb 2009 02:08:16 -0000 1.18 *************** *** 28,33 **** t_parse( struct transcript *tran ) { ! char line[ _MAX_PATH + 2048 ]; ! char temp[ 2048 ]; int length; char *epath; --- 28,33 ---- t_parse( struct transcript *tran ) { ! char line[ 131072 ]; ! char temp[ 131072 ]; int length; char *epath; *************** *** 39,43 **** //Also skip registry lines. do { ! if (( fgets( line, _MAX_PATH + 2048 , tran->t_in )) == NULL ) { tran->t_eof = 1; return; --- 39,43 ---- //Also skip registry lines. do { ! if (( fgets( line, 131072 , tran->t_in )) == NULL ) { tran->t_eof = 1; return; Index: ntfsdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ntfsdiff.c,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** ntfsdiff.c 25 Feb 2009 12:29:49 -0000 1.26 --- ntfsdiff.c 27 Feb 2009 02:08:16 -0000 1.27 *************** *** 96,100 **** //Retrieve string representation of security info and place it in pathinfo struct. ! char ret_string[ 2048 ]; PSECURITY_DESCRIPTOR sd = NULL; char *own_str = NULL; --- 96,100 ---- //Retrieve string representation of security info and place it in pathinfo struct. ! char ret_string[ 131072 ]; PSECURITY_DESCRIPTOR sd = NULL; char *own_str = NULL; *************** *** 111,115 **** else { ! char temp_str[ 2048 ]; char *find_paren_ptr; char *find_ptr; --- 111,115 ---- else { ! char temp_str[ 131072 ]; char *find_paren_ptr; char *find_ptr; *************** *** 204,207 **** --- 204,208 ---- DWORD err; struct transcript *tran = NULL; + // Files with names longer than MAX_PATH are inaccessible but can exist in the filesystem char temp[ _MAX_PATH + 2 ]; char ntemp[ _MAX_PATH ]; *************** *** 209,213 **** char *qpenc_temp = NULL; char start_string[ 2048 ]; ! char fl_string[ _MAX_PATH*3 + 20 ]; char ts_string[ 128 ]; int x = 0; --- 210,214 ---- char *qpenc_temp = NULL; char start_string[ 2048 ]; ! char fl_string[ 3*_MAX_PATH + 20 ]; char ts_string[ 128 ]; int x = 0; |
From: Dustin K. <da...@us...> - 2009-02-25 16:44:24
|
Update of /cvsroot/radmind/radmind-pc In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4643 Modified Files: Makefile Log Message: Working makefile. Index: Makefile =================================================================== RCS file: /cvsroot/radmind/radmind-pc/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 25 Feb 2009 15:53:03 -0000 1.1 --- Makefile 25 Feb 2009 16:44:12 -0000 1.2 *************** *** 26,30 **** $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj NTFSDIFF_OBJ=$(FS_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ ! $(FS_OBJ_D)\code.obj $(OBJ_D)getopt.obj $(FS_OBJ_D)\llist.obj \ $(FS_OBJ_D)\ntfsdiff.obj $(FS_OBJ_D)\pathcmp.obj \ $(FS_OBJ_D)\transcript.obj $(OBJ_D)\version.obj \ --- 26,30 ---- $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj NTFSDIFF_OBJ=$(FS_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ ! $(FS_OBJ_D)\code.obj $(OBJ_D)\getopt.obj $(FS_OBJ_D)\llist.obj \ $(FS_OBJ_D)\ntfsdiff.obj $(FS_OBJ_D)\pathcmp.obj \ $(FS_OBJ_D)\transcript.obj $(OBJ_D)\version.obj \ *************** *** 36,40 **** $(OBJ_D)\rmdirs.obj $(OBJ_D)\tls.obj $(FS_OBJ_D)\transcript.obj \ $(FS_OBJ_D)\update.obj $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj ! LCREATE_OBJ=$(REG_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ $(FS_OBJ_D)\code.obj $(FS_OBJ_D)\connect.obj $(OBJ_D)\getopt.obj \ $(FS_OBJ_D)\lcreate.obj $(FS_OBJ_D)\list.obj $(FS_OBJ_D)\llist.obj \ --- 36,40 ---- $(OBJ_D)\rmdirs.obj $(OBJ_D)\tls.obj $(FS_OBJ_D)\transcript.obj \ $(FS_OBJ_D)\update.obj $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj ! LCREATE_OBJ=$(FS_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ $(FS_OBJ_D)\code.obj $(FS_OBJ_D)\connect.obj $(OBJ_D)\getopt.obj \ $(FS_OBJ_D)\lcreate.obj $(FS_OBJ_D)\list.obj $(FS_OBJ_D)\llist.obj \ *************** *** 43,47 **** $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj REGDIFF_OBJ=$(REG_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(REG_OBJ_D)\chksum.obj \ ! $(REG_OBJ_D)\code.obj $(OBJ_D)getopt.obj $(REG_OBJ_D)\llist.obj \ $(REG_OBJ_D)\pathcmp.obj $(REG_OBJ_D)\regdiff.obj \ $(REG_OBJ_D)\transcript.obj $(OBJ_D)\version.obj \ --- 43,47 ---- $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj REGDIFF_OBJ=$(REG_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(REG_OBJ_D)\chksum.obj \ ! $(REG_OBJ_D)\code.obj $(OBJ_D)\getopt.obj $(REG_OBJ_D)\llist.obj \ $(REG_OBJ_D)\pathcmp.obj $(REG_OBJ_D)\regdiff.obj \ $(REG_OBJ_D)\transcript.obj $(OBJ_D)\version.obj \ *************** *** 64,68 **** EX_LIBS=ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib kernel32.lib \ user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib \ ! ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib LINK=link --- 64,68 ---- EX_LIBS=ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib kernel32.lib \ user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib \ ! ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib LINK=link *************** *** 80,83 **** --- 80,85 ---- MKLIB=lib MLFLAGS=/nologo + RADMIND_D=c:\radmind + CLIENT_D=$(RADMIND_D)\client INC=-I$(OPENSSL_D)\include -I$(COMM_SRC_D) -I$(LIBSNET_D) *************** *** 86,89 **** --- 88,103 ---- LIB_INC=-I$(OPENSSL_D)\lib + OBJS=$(OBJ_D)\base64.obj $(OBJ_D)\getopt.obj $(OBJ_D)\mkdirs.obj $(OBJ_D)\rmdirs.obj \ + $(OBJ_D)\tls.obj $(OBJ_D)\version.obj $(FS_OBJ_D)\argcargv.obj $(FS_OBJ_D)\chksum.obj \ + $(FS_OBJ_D)\code.obj $(FS_OBJ_D)\connect.obj $(FS_OBJ_D)\ktcheck.obj \ + $(FS_OBJ_D)\lapply.obj $(FS_OBJ_D)\lcreate.obj $(FS_OBJ_D)\list.obj $(FS_OBJ_D)\llist.obj \ + $(FS_OBJ_D)\ntfsdiff.obj $(FS_OBJ_D)\pathcmp.obj $(FS_OBJ_D)\retr.obj $(FS_OBJ_D)\stor.obj \ + $(FS_OBJ_D)\transcript.obj $(FS_OBJ_D)\update.obj $(FS_OBJ_D)\winwrap.obj \ + $(REG_OBJ_D)\argcargv.obj $(REG_OBJ_D)\chksum.obj $(REG_OBJ_D)\code.obj \ + $(REG_OBJ_D)\connect.obj $(REG_OBJ_D)\list.obj $(REG_OBJ_D)\llist.obj \ + $(REG_OBJ_D)\pathcmp.obj $(REG_OBJ_D)\regapply.obj $(REG_OBJ_D)\regcreate.obj \ + $(REG_OBJ_D)\regdiff.obj $(REG_OBJ_D)\retr.obj $(REG_OBJ_D)\stor.obj $(REG_OBJ_D)\transcript.obj \ + $(REG_OBJ_D)\update.obj $(REG_OBJ_D)\winwrap.obj + all: ktcheck ntfsdiff lapply lcreate regdiff regapply regcreate *************** *** 94,116 **** ktcheck: libsnet.lib $(KTCHECK_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(KTCHECK_OBJ) ntfsdiff: $(NTFSDIFF_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(NTFSDIFF_OBJ) lapply: libsnet.lib $(LAPPLY_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(LAPPLY_OBJ) ! lcreate: libsnet.lib $(LAPPLY_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(LCREATE_OBJ) regdiff: $(REGDIFF_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(REGDIFF_OBJ) regapply: libsnet.lib $(REGAPPLY_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(REGAPPLY_OBJ) regcreate: libsnet.lib $(REGCREATE_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(REGCREATE_OBJ) $(OBJ_D)\base64.obj: $(COMM_SRC_D)\base64.c --- 108,130 ---- ktcheck: libsnet.lib $(KTCHECK_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@.exe $(EX_LIBS) $(KTCHECK_OBJ) ntfsdiff: $(NTFSDIFF_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@.exe $(EX_LIBS) $(NTFSDIFF_OBJ) lapply: libsnet.lib $(LAPPLY_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@.exe $(EX_LIBS) $(LAPPLY_OBJ) ! lcreate: libsnet.lib $(LCREATE_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@.exe $(EX_LIBS) $(LCREATE_OBJ) regdiff: $(REGDIFF_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@.exe $(EX_LIBS) $(REGDIFF_OBJ) regapply: libsnet.lib $(REGAPPLY_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@.exe $(EX_LIBS) $(REGAPPLY_OBJ) regcreate: libsnet.lib $(REGCREATE_OBJ) ! $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@.exe $(EX_LIBS) $(REGCREATE_OBJ) $(OBJ_D)\base64.obj: $(COMM_SRC_D)\base64.c *************** *** 186,189 **** --- 200,207 ---- $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\retr.obj /Tc$? + $(FS_OBJ_D)\stor.obj: $(FS_SRC_D)\stor.c + - $(MKDIR) $(FS_OBJ_D) + $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\stor.obj /Tc$? + $(FS_OBJ_D)\transcript.obj: $(FS_SRC_D)\transcript.c - $(MKDIR) $(FS_OBJ_D) *************** *** 242,245 **** --- 260,267 ---- $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\retr.obj /Tc$? + $(REG_OBJ_D)\stor.obj: $(REG_SRC_D)\stor.c + - $(MKDIR) $(REG_OBJ_D) + $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\stor.obj /Tc$? + $(REG_OBJ_D)\transcript.obj: $(REG_SRC_D)\transcript.c - $(MKDIR) $(REG_OBJ_D) *************** *** 254,257 **** --- 276,284 ---- $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\winwrap.obj /Tc$? + install: + - $(MKDIR) $(CLIENT_D) + $(CP) $(OUT_D)\* $(RADMIND_D) + $(CP) $(OPENSSL_D)\bin\*.dll $(RADMIND_D) + clean: - $(RMRF) $(TMP_D) |
From: Dustin K. <da...@us...> - 2009-02-25 15:53:10
|
Update of /cvsroot/radmind/radmind-pc In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv366 Added Files: Makefile Log Message: First attempt at a makefile. --- NEW FILE: Makefile --- OPENSSL_D=c:\src\openssl LIBSNET_D=c:\src\libsnet32 SRC_D=c:\src\radmind-pc COMM_SRC_D=$(SRC_D)\common FS_SRC_D=$(SRC_D)\fs REG_SRC_D=$(SRC_D)\reg TMP_D=$(SRC_D)\temp OBJ_D=$(TMP_D) FS_OBJ_D=$(TMP_D)\fs REG_OBJ_D=$(TMP_D)\reg # Set your compiler options PLATFORM=VC-WIN32 CC=cl CFLAG= /MT /O2 /c /nologo -DWIN32 -D_CRT_SECURE_NO_DEPRECATE -I. \ -D_RADMIND_TLS_CA=\"\" -D_RADMIND_TLS_CERT=\"\" -D_RADMIND_PATH=\"c:/radmind\" \ -D_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\" -D_RADMIND_HOST=\"\" \ -D_RADMIND_AUTHLEVEL=0 KTCHECK_OBJ=$(FS_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ $(FS_OBJ_D)\code.obj $(FS_OBJ_D)\connect.obj $(OBJ_D)\getopt.obj \ $(FS_OBJ_D)\ktcheck.obj $(FS_OBJ_D)\list.obj $(FS_OBJ_D)\llist.obj \ $(OBJ_D)\mkdirs.obj $(FS_OBJ_D)\pathcmp.obj $(FS_OBJ_D)\retr.obj \ $(OBJ_D)\rmdirs.obj $(OBJ_D)\tls.obj $(FS_OBJ_D)\transcript.obj \ $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj NTFSDIFF_OBJ=$(FS_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ $(FS_OBJ_D)\code.obj $(OBJ_D)getopt.obj $(FS_OBJ_D)\llist.obj \ $(FS_OBJ_D)\ntfsdiff.obj $(FS_OBJ_D)\pathcmp.obj \ $(FS_OBJ_D)\transcript.obj $(OBJ_D)\version.obj \ $(FS_OBJ_D)\winwrap.obj LAPPLY_OBJ=$(FS_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ $(FS_OBJ_D)\code.obj $(FS_OBJ_D)\connect.obj $(OBJ_D)\getopt.obj \ $(FS_OBJ_D)\lapply.obj $(FS_OBJ_D)\list.obj $(FS_OBJ_D)\llist.obj \ $(OBJ_D)\mkdirs.obj $(FS_OBJ_D)\pathcmp.obj $(FS_OBJ_D)\retr.obj \ $(OBJ_D)\rmdirs.obj $(OBJ_D)\tls.obj $(FS_OBJ_D)\transcript.obj \ $(FS_OBJ_D)\update.obj $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj LCREATE_OBJ=$(REG_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(FS_OBJ_D)\chksum.obj \ $(FS_OBJ_D)\code.obj $(FS_OBJ_D)\connect.obj $(OBJ_D)\getopt.obj \ $(FS_OBJ_D)\lcreate.obj $(FS_OBJ_D)\list.obj $(FS_OBJ_D)\llist.obj \ $(OBJ_D)\mkdirs.obj $(FS_OBJ_D)\pathcmp.obj $(FS_OBJ_D)\retr.obj \ $(FS_OBJ_D)\stor.obj $(OBJ_D)\tls.obj $(FS_OBJ_D)\transcript.obj \ $(OBJ_D)\version.obj $(FS_OBJ_D)\winwrap.obj REGDIFF_OBJ=$(REG_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(REG_OBJ_D)\chksum.obj \ $(REG_OBJ_D)\code.obj $(OBJ_D)getopt.obj $(REG_OBJ_D)\llist.obj \ $(REG_OBJ_D)\pathcmp.obj $(REG_OBJ_D)\regdiff.obj \ $(REG_OBJ_D)\transcript.obj $(OBJ_D)\version.obj \ $(REG_OBJ_D)\winwrap.obj REGAPPLY_OBJ=$(REG_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(REG_OBJ_D)\chksum.obj \ $(REG_OBJ_D)\code.obj $(REG_OBJ_D)\connect.obj $(OBJ_D)\getopt.obj \ $(REG_OBJ_D)\list.obj $(REG_OBJ_D)\llist.obj $(OBJ_D)\mkdirs.obj\ $(FS_OBJ_D)\pathcmp.obj $(REG_OBJ_D)\regapply.obj \ $(REG_OBJ_D)\retr.obj $(OBJ_D)\rmdirs.obj $(OBJ_D)\tls.obj \ $(REG_OBJ_D)\transcript.obj $(REG_OBJ_D)\update.obj \ $(OBJ_D)\version.obj $(REG_OBJ_D)\winwrap.obj REGCREATE_OBJ=$(REG_OBJ_D)\argcargv.obj $(OBJ_D)\base64.obj $(REG_OBJ_D)\chksum.obj \ $(REG_OBJ_D)\code.obj $(REG_OBJ_D)\connect.obj $(OBJ_D)\getopt.obj \ $(REG_OBJ_D)\list.obj $(REG_OBJ_D)\llist.obj $(OBJ_D)\mkdirs.obj \ $(REG_OBJ_D)\pathcmp.obj $(REG_OBJ_D)\regcreate.obj \ $(REG_OBJ_D)\retr.obj $(REG_OBJ_D)\stor.obj $(OBJ_D)\tls.obj \ $(REG_OBJ_D)\transcript.obj $(OBJ_D)\version.obj \ $(REG_OBJ_D)\winwrap.obj EX_LIBS=ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib kernel32.lib \ user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib \ ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib LINK=link LFLAGS=/nologo /subsystem:console /LIBPATH:$(OPENSSL_D)\lib /LIBPATH:$(TMP_D) /MACHINE:X86 # The output directory for everything intersting OUT_D=$(SRC_D)\bin # The output directory for all the temporary muck TMP_D=$(SRC_D)\temp CP=copy RM=del /Q RMRF=rmdir /S /Q MKDIR=mkdir MKLIB=lib MLFLAGS=/nologo INC=-I$(OPENSSL_D)\include -I$(COMM_SRC_D) -I$(LIBSNET_D) FS_INC=-I$(OPENSSL_D)\include -I$(COMM_SRC_D) -I$(FS_SRC_D) -I$(LIBSNET_D) REG_INC=-I$(OPENSSL_D)\include -I$(COMM_SRC_D) -I$(REG_SRC_D) -I$(LIBSNET_D) LIB_INC=-I$(OPENSSL_D)\lib all: ktcheck ntfsdiff lapply lcreate regdiff regapply regcreate libsnet.lib: $(LIBSNET_D)\libsnet\snet.c - $(MKDIR) $(TMP_D) $(CC) $(CFLAG) $(INC) /c /Fo$(TMP_D)\snet.obj /Tc$? $(MKLIB) $(MLFLAGS) /OUT:$(TMP_D)\libsnet.lib $(TMP_D)\snet.obj ktcheck: libsnet.lib $(KTCHECK_OBJ) $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(KTCHECK_OBJ) ntfsdiff: $(NTFSDIFF_OBJ) $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(NTFSDIFF_OBJ) lapply: libsnet.lib $(LAPPLY_OBJ) $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(LAPPLY_OBJ) lcreate: libsnet.lib $(LAPPLY_OBJ) $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(LCREATE_OBJ) regdiff: $(REGDIFF_OBJ) $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(REGDIFF_OBJ) regapply: libsnet.lib $(REGAPPLY_OBJ) $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(REGAPPLY_OBJ) regcreate: libsnet.lib $(REGCREATE_OBJ) $(LINK) $(LFLAGS) /OUT:$(OUT_D)\$@ $(EX_LIBS) $(REGCREATE_OBJ) $(OBJ_D)\base64.obj: $(COMM_SRC_D)\base64.c - $(MKDIR) $(OBJ_D) $(CC) $(CFLAG) $(INC) /Fo$(OBJ_D)\base64.obj /Tc$? $(OBJ_D)\getopt.obj: $(COMM_SRC_D)\getopt.c - $(MKDIR) $(OBJ_D) $(CC) $(CFLAG) $(INC) /Fo$(OBJ_D)\getopt.obj /Tc$? $(OBJ_D)\mkdirs.obj: $(COMM_SRC_D)\mkdirs.c - $(MKDIR) $(OBJ_D) $(CC) $(CFLAG) $(INC) /Fo$(OBJ_D)\mkdirs.obj /Tc$? $(OBJ_D)\rmdirs.obj: $(COMM_SRC_D)\rmdirs.c - $(MKDIR) $(OBJ_D) $(CC) $(CFLAG) $(INC) /Fo$(OBJ_D)\rmdirs.obj /Tc$? $(OBJ_D)\tls.obj: $(COMM_SRC_D)\tls.c - $(MKDIR) $(OBJ_D) $(CC) $(CFLAG) $(INC) /Fo$(OBJ_D)\tls.obj /Tc$? $(OBJ_D)\version.obj: $(COMM_SRC_D)\version.c - $(MKDIR) $(OBJ_D) $(CC) $(CFLAG) $(INC) /Fo$(OBJ_D)\version.obj /Tc$? $(FS_OBJ_D)\argcargv.obj: $(FS_SRC_D)\argcargv.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\argcargv.obj /Tc$? $(FS_OBJ_D)\chksum.obj: $(FS_SRC_D)\chksum.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\chksum.obj /Tc$? $(FS_OBJ_D)\code.obj: $(FS_SRC_D)\code.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\code.obj /Tc$? $(FS_OBJ_D)\connect.obj: $(FS_SRC_D)\connect.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\connect.obj /Tc$? $(FS_OBJ_D)\ktcheck.obj: $(FS_SRC_D)\ktcheck.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\ktcheck.obj /Tc$? $(FS_OBJ_D)\lapply.obj: $(FS_SRC_D)\lapply.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\lapply.obj /Tc$? $(FS_OBJ_D)\lcreate.obj: $(FS_SRC_D)\lcreate.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\lcreate.obj /Tc$? $(FS_OBJ_D)\list.obj: $(COMM_SRC_D)\list.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\list.obj /Tc$? $(FS_OBJ_D)\llist.obj: $(FS_SRC_D)\llist.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\llist.obj /Tc$? $(FS_OBJ_D)\ntfsdiff.obj: $(FS_SRC_D)\ntfsdiff.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\ntfsdiff.obj /Tc$? $(FS_OBJ_D)\pathcmp.obj: $(FS_SRC_D)\pathcmp.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\pathcmp.obj /Tc$? $(FS_OBJ_D)\retr.obj: $(FS_SRC_D)\retr.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\retr.obj /Tc$? $(FS_OBJ_D)\transcript.obj: $(FS_SRC_D)\transcript.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\transcript.obj /Tc$? $(FS_OBJ_D)\update.obj: $(FS_SRC_D)\update.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\update.obj /Tc$? $(FS_OBJ_D)\winwrap.obj: $(FS_SRC_D)\winwrap.c - $(MKDIR) $(FS_OBJ_D) $(CC) $(CFLAG) $(FS_INC) /Fo$(FS_OBJ_D)\winwrap.obj /Tc$? $(REG_OBJ_D)\argcargv.obj: $(REG_SRC_D)\argcargv.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\argcargv.obj /Tc$? $(REG_OBJ_D)\chksum.obj: $(REG_SRC_D)\chksum.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\chksum.obj /Tc$? $(REG_OBJ_D)\code.obj: $(REG_SRC_D)\code.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\code.obj /Tc$? $(REG_OBJ_D)\connect.obj: $(REG_SRC_D)\connect.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\connect.obj /Tc$? $(REG_OBJ_D)\list.obj: $(COMM_SRC_D)\list.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\list.obj /Tc$? $(REG_OBJ_D)\llist.obj: $(REG_SRC_D)\llist.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\llist.obj /Tc$? $(REG_OBJ_D)\pathcmp.obj: $(REG_SRC_D)\pathcmp.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\pathcmp.obj /Tc$? $(REG_OBJ_D)\regapply.obj: $(REG_SRC_D)\regapply.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\regapply.obj /Tc$? $(REG_OBJ_D)\regcreate.obj: $(REG_SRC_D)\regcreate.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\regcreate.obj /Tc$? $(REG_OBJ_D)\regdiff.obj: $(REG_SRC_D)\regdiff.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\regdiff.obj /Tc$? $(REG_OBJ_D)\retr.obj: $(REG_SRC_D)\retr.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\retr.obj /Tc$? $(REG_OBJ_D)\transcript.obj: $(REG_SRC_D)\transcript.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\transcript.obj /Tc$? $(REG_OBJ_D)\update.obj: $(REG_SRC_D)\update.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\update.obj /Tc$? $(REG_OBJ_D)\winwrap.obj: $(REG_SRC_D)\winwrap.c - $(MKDIR) $(REG_OBJ_D) $(CC) $(CFLAG) $(REG_INC) /Fo$(REG_OBJ_D)\winwrap.obj /Tc$? clean: - $(RMRF) $(TMP_D) - $(RM) $(OUT_D)\* |
From: Dustin K. <da...@us...> - 2009-02-25 12:49:36
|
Update of /cvsroot/radmind/radmind-pc/fs In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17608/fs Modified Files: ktcheck.c lapply.c lcreate.c ntfsdiff.c update.c Log Message: Fixed strtoul calls and version.c compatibility issues from last commit. Index: lcreate.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/lcreate.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lcreate.c 13 Jun 2007 16:17:40 -0000 1.3 --- lcreate.c 25 Feb 2009 12:29:49 -0000 1.4 *************** *** 76,83 **** int showprogress = 0; - char checksumlist[] = ""; char child_test_root[] = ""; ! extern char *ca, *cert, *privatekey; static void --- 76,82 ---- int showprogress = 0; char child_test_root[] = ""; ! extern char *ca, *cert, *privatekey, *checksumlist; static void Index: lapply.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/lapply.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** lapply.c 13 Jun 2007 16:17:40 -0000 1.8 --- lapply.c 25 Feb 2009 12:29:49 -0000 1.9 *************** *** 57,62 **** char transcript_str[ 2048 ] = { 0 }; char prepath[ MAX_PATH ] = { 0 }; ! extern char *version; ! //, *checksumlist; extern off_t lsize; --- 57,61 ---- char transcript_str[ 2048 ] = { 0 }; char prepath[ MAX_PATH ] = { 0 }; ! extern char *version, *checksumlist; extern off_t lsize; *************** *** 66,70 **** SSL_CTX *ctx; ! char *checksumlist = "", *child_test_root = ""; extern char *ca, *cert, *privatekey; --- 65,69 ---- SSL_CTX *ctx; ! char *child_test_root = ""; extern char *ca, *cert, *privatekey; Index: ntfsdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ntfsdiff.c,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** ntfsdiff.c 25 Feb 2009 02:12:30 -0000 1.25 --- ntfsdiff.c 25 Feb 2009 12:29:49 -0000 1.26 *************** *** 30,36 **** #define APPNAME "ntfsdiff" ! extern char *version; char *appname = APPNAME; - char chksumlist[] = "sha1, sha, md5, md4, md2, dss1, mdc2, ripemd160"; const EVP_MD *md; char *child_test_root; --- 30,35 ---- #define APPNAME "ntfsdiff" ! extern char *version, *checksumlist; char *appname = APPNAME; const EVP_MD *md; char *child_test_root; *************** *** 518,522 **** NULL, NULL, fsName, (DWORD)MAX_PATH ); printf( "File system : %s\n", fsName); ! printf( "Supported checksum types: %s\n", chksumlist ); } exit( 0 ); --- 517,521 ---- NULL, NULL, fsName, (DWORD)MAX_PATH ); printf( "File system : %s\n", fsName); ! printf( "Supported checksum types: %s\n", checksumlist ); } exit( 0 ); Index: update.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/update.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** update.c 25 Feb 2009 02:12:30 -0000 1.4 --- update.c 25 Feb 2009 12:29:49 -0000 1.5 *************** *** 113,118 **** times.modtime = inttime_to_utime( ft.QuadPart );*/ ! tran_ft.dwHighDateTime = strtoul( targv[ 6 ] ); ! tran_ft.dwLowDateTime = strtoul( targv[ 7 ] ); t_handle = CreateFile( path, FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, 0, NULL, OPEN_EXISTING, 0, NULL ); --- 113,118 ---- times.modtime = inttime_to_utime( ft.QuadPart );*/ ! tran_ft.dwHighDateTime = strtoul( targv[ 6 ], NULL, 0 ); ! tran_ft.dwLowDateTime = strtoul( targv[ 7 ], NULL, 0 ); t_handle = CreateFile( path, FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, 0, NULL, OPEN_EXISTING, 0, NULL ); Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ktcheck.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ktcheck.c 13 Jun 2007 16:17:40 -0000 1.7 --- ktcheck.c 25 Feb 2009 12:29:49 -0000 1.8 *************** *** 78,83 **** extern struct timeval timeout; ! char *checksumlist = "", *child_test_root = ""; ! extern char *version, *ca, *cert, *privatekey; void --- 78,83 ---- extern struct timeval timeout; ! char *child_test_root = ""; ! extern char *version, *ca, *cert, *privatekey, *checksumlist; void |
From: Dustin K. <da...@us...> - 2009-02-25 12:49:32
|
Update of /cvsroot/radmind/radmind-pc/reg In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17608/reg Modified Files: regapply.c regcreate.c regdiff.c Log Message: Fixed strtoul calls and version.c compatibility issues from last commit. Index: regcreate.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regcreate.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** regcreate.c 25 Feb 2009 02:12:30 -0000 1.7 --- regcreate.c 25 Feb 2009 12:29:49 -0000 1.8 *************** *** 76,83 **** int showprogress = 0; - char checksumlist[] = ""; char child_test_root[] = ""; ! extern char *ca, *cert, *privatekey; static void --- 76,82 ---- int showprogress = 0; char child_test_root[] = ""; ! extern char *ca, *cert, *privatekey, *checksumlist; static void Index: regapply.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regapply.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** regapply.c 13 Jun 2007 16:17:40 -0000 1.7 --- regapply.c 25 Feb 2009 12:29:49 -0000 1.8 *************** *** 70,75 **** SSL_CTX *ctx; ! char *checksumlist = "", *child_test_root = ""; ! extern char *version, *ca, *cert, *privatekey; struct node { --- 70,75 ---- SSL_CTX *ctx; ! char *child_test_root = ""; ! extern char *version, *ca, *cert, *privatekey, *checksumlist; struct node { Index: regdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regdiff.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** regdiff.c 13 Jun 2007 16:17:41 -0000 1.13 --- regdiff.c 25 Feb 2009 12:29:49 -0000 1.14 *************** *** 61,67 **** #define APPNAME "regdiff" ! extern char *version; char *appname = APPNAME; - char chksumlist[] = "sha1, sha, md5, md4, md2, dss1, mdc2, ripemd160"; const EVP_MD *md; char *child_test_root; --- 61,66 ---- #define APPNAME "regdiff" ! extern char *version, *checksumlist; char *appname = APPNAME; const EVP_MD *md; char *child_test_root; *************** *** 340,344 **** printf( "%s\nVersion : %s\n", appname, version ); PrintWindowsVersion(); ! printf( "Supported checksum types: %s\n", chksumlist ); exit( 0 ); --- 339,343 ---- printf( "%s\nVersion : %s\n", appname, version ); PrintWindowsVersion(); ! printf( "Supported checksum types: %s\n", checksumlist ); exit( 0 ); |
From: Dustin K. <da...@us...> - 2009-02-25 03:17:07
|
Update of /cvsroot/radmind/radmind-pc/reg In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5832/reg Modified Files: pathcmp.c regcreate.c Log Message: Fixes bugs 1451645 (sort order problems--actually affected registry as well), 1381982 (ntfsdiff fl_string buffer size issue), and 1386652 (regcreate usage message). Also fixed a problem where lapply would set the time incorrectly because of a signedness problem. Cleaned up a couple references to missing files. Index: regcreate.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regcreate.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** regcreate.c 13 Jun 2007 16:17:41 -0000 1.6 --- regcreate.c 25 Feb 2009 02:12:30 -0000 1.7 *************** *** 280,284 **** if ( err || ( argc - optind != 1 )) { ! fprintf( stderr, "usage: lcreate [ -%%FlnNrTV ] [ -q | -v | -i ] " ); fprintf( stderr, "[ -c checksum ] " ); fprintf( stderr, "[ -h host ] [ -p port ] " ); --- 280,284 ---- if ( err || ( argc - optind != 1 )) { ! fprintf( stderr, "usage: regcreate [ -%%FlnNrTV ] [ -q | -v | -i ] " ); fprintf( stderr, "[ -c checksum ] " ); fprintf( stderr, "[ -h host ] [ -p port ] " ); Index: pathcmp.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/pathcmp.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pathcmp.c 13 Jun 2007 16:17:40 -0000 1.3 --- pathcmp.c 25 Feb 2009 02:12:30 -0000 1.4 *************** *** 50,54 **** do { ! rc = ( tolower( *p1 ) - tolower( *p2 )); if ( rc != 0 ) { if (( *p2 != '\0' ) && ( *p1 == '\\' )) { --- 50,54 ---- do { ! rc = ( toupper( *p1 ) - toupper( *p2 )); if ( rc != 0 ) { if (( *p2 != '\0' ) && ( *p1 == '\\' )) { |
From: Dustin K. <da...@us...> - 2009-02-25 03:17:01
|
Update of /cvsroot/radmind/radmind-pc/common In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5832/common Modified Files: getopt.c Added Files: version.c Log Message: Fixes bugs 1451645 (sort order problems--actually affected registry as well), 1381982 (ntfsdiff fl_string buffer size issue), and 1386652 (regcreate usage message). Also fixed a problem where lapply would set the time incorrectly because of a signedness problem. Cleaned up a couple references to missing files. Index: getopt.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/common/getopt.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** getopt.c 14 Dec 2005 20:25:09 -0000 1.2 --- getopt.c 25 Feb 2009 02:12:29 -0000 1.3 *************** *** 37,41 **** #include <stdio.h> ! #include "tailor.h" /* Comment out all this code if we are using the GNU C Library, and are not --- 37,41 ---- #include <stdio.h> ! //#include "tailor.h" /* Comment out all this code if we are using the GNU C Library, and are not --- NEW FILE: version.c --- /* * Copyright (c) 2003 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ //#include "config.h" char *version = VERSION; char *checksumlist = "sha1\nsha\nmd5\nmd2\ndss1\nmdc2\nripemd160"; |
From: Dustin K. <da...@us...> - 2009-02-25 03:16:59
|
Update of /cvsroot/radmind/radmind-pc/fs In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5832/fs Modified Files: ntfsdiff.c pathcmp.c update.c Log Message: Fixes bugs 1451645 (sort order problems--actually affected registry as well), 1381982 (ntfsdiff fl_string buffer size issue), and 1386652 (regcreate usage message). Also fixed a problem where lapply would set the time incorrectly because of a signedness problem. Cleaned up a couple references to missing files. Index: ntfsdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ntfsdiff.c,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** ntfsdiff.c 13 Jun 2007 16:17:40 -0000 1.24 --- ntfsdiff.c 25 Feb 2009 02:12:30 -0000 1.25 *************** *** 210,214 **** char *qpenc_temp = NULL; char start_string[ 2048 ]; ! char fl_string[ _MAX_PATH + 20 ]; char ts_string[ 128 ]; int x = 0; --- 210,214 ---- char *qpenc_temp = NULL; char start_string[ 2048 ]; ! char fl_string[ _MAX_PATH*3 + 20 ]; char ts_string[ 128 ]; int x = 0; Index: update.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/update.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** update.c 14 Dec 2005 20:25:09 -0000 1.3 --- update.c 25 Feb 2009 02:12:30 -0000 1.4 *************** *** 113,118 **** times.modtime = inttime_to_utime( ft.QuadPart );*/ ! tran_ft.dwHighDateTime = atoi( targv[ 6 ] ); ! tran_ft.dwLowDateTime = atoi( targv[ 7 ] ); t_handle = CreateFile( path, FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, 0, NULL, OPEN_EXISTING, 0, NULL ); --- 113,118 ---- times.modtime = inttime_to_utime( ft.QuadPart );*/ ! tran_ft.dwHighDateTime = strtoul( targv[ 6 ] ); ! tran_ft.dwLowDateTime = strtoul( targv[ 7 ] ); t_handle = CreateFile( path, FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, 0, NULL, OPEN_EXISTING, 0, NULL ); Index: pathcmp.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/pathcmp.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pathcmp.c 13 Jun 2007 16:17:40 -0000 1.2 --- pathcmp.c 25 Feb 2009 02:12:30 -0000 1.3 *************** *** 50,54 **** do { ! rc = ( tolower( *p1 ) - tolower( *p2 )); if ( rc != 0 ) { if (( *p2 != '\0' ) && ( *p1 == '/' )) { --- 50,54 ---- do { ! rc = ( toupper( *p1 ) - toupper( *p2 )); if ( rc != 0 ) { if (( *p2 != '\0' ) && ( *p1 == '/' )) { |
From: Patrick M. <ume...@us...> - 2009-02-23 15:42:54
|
Update of /cvsroot/radmind/radmind In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31823 Modified Files: ra.sh Log Message: Only use $USERNAME if $USERAUTH is enabled. Index: ra.sh =================================================================== RCS file: /cvsroot/radmind/radmind/ra.sh,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** ra.sh 5 Jun 2008 00:08:07 -0000 1.44 --- ra.sh 23 Feb 2009 15:42:48 -0000 1.45 *************** *** 443,447 **** USERNAME="-U ${USERNAME}" fi ! lcreate ${PROGRESS} -w ${TLSLEVEL} ${USERAUTH} ${USERNAME} \ ${CHECKSUM} -h ${SERVER} ${FTMP} if [ $? -ne 0 ]; then --- 443,447 ---- USERNAME="-U ${USERNAME}" fi ! lcreate ${PROGRESS} -w ${TLSLEVEL} ${USERAUTH} ${USERAUTH:+USERNAME} \ ${CHECKSUM} -h ${SERVER} ${FTMP} if [ $? -ne 0 ]; then |
From: Andrew M. <fit...@us...> - 2009-01-29 02:09:07
|
Update of /cvsroot/radmind/radmind In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21666 Modified Files: transcript.c Log Message: Fix bug 2541171. Patch from bawood at umich dot edu. Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind/transcript.c,v retrieving revision 1.129 retrieving revision 1.130 diff -C2 -d -r1.129 -r1.130 *** transcript.c 7 Aug 2008 01:04:39 -0000 1.129 --- transcript.c 29 Jan 2009 02:06:17 -0000 1.130 *************** *** 254,257 **** --- 254,262 ---- exit( 2 ); } + if (( epath = convert_path_type( epath )) == NULL ) { + fprintf( stderr, "%s: line %d: path too long\n", + tran->t_fullname, tran->t_linenum ); + exit( 2 ); + } strcpy( tran->t_pinfo.pi_link, epath ); break; |
From: Andrew M. <fit...@us...> - 2008-12-11 22:26:43
|
Update of /cvsroot/radmind/radmind/contrib In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1995 Added Files: fsspy.c Log Message: Proof-of-concept code using Apple's FSEvents API. Can be used with fsdiff. --- NEW FILE: fsspy.c --- /* * Copyright 2008 The Regents of The University of Michigan * All Rights Reserved. * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose and without fee is hereby granted, * provided that the above copyright notice appears in all copies and * that both that copyright notice and this permission notice appear * in supporting documentation, and that the name of The University * of Michigan not be the software without specific, written prior * permission. This software is supplied as is without expressed or * implied warranties of any kind. * * Written by Andrew Mortensen, Dec. 2008. */ /* * To compile: gcc -g -framework CoreFoundation -framework CoreServices \ -o fsspy fsspy.c * */ #include <CoreFoundation/CoreFoundation.h> #include <CoreServices/CoreServices.h> #include <sys/types.h> #include <sys/param.h> #include <sys/times.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> extern int errno; struct event { char *e_path; unsigned long long e_id; unsigned long e_flags; struct event *e_next; }; struct event *event_head = NULL; int debug = 0; int case_sensitive = 1; int delayed_print = 0; int all_paths = 0; char *prefix = NULL; int ischild( char *child, char *parent ) { int rc, len; if ( parent == NULL ) { return( 1 ); } if (( len = strlen( parent )) > strlen( child )) { return( 0 ); } if ( len == 1 && *parent == '/' ) { return(( *child == '/' )); } if ( case_sensitive ) { rc = strncmp( parent, child, len ); } else { rc = strncasecmp( parent, child, len ); } if ( rc == 0 && ( child[ len ] == '/' || child[ len ] == '\0' )) { return( 1 ); } return( 0 ); } struct event * event_new( char *path, unsigned long long id, unsigned long flags ) { struct event *new; int len; if (( new = (struct event *)malloc( sizeof( struct event ))) == NULL ) { return( NULL ); } /* user may have specified a prefix for the path. */ len = strlen( path ) + 1; if ( prefix != NULL ) { len += strlen( prefix ); } if (( new->e_path = (char *)malloc( len )) == NULL ) { free( new ); return( NULL ); } if ( prefix != NULL ) { strcpy( new->e_path, prefix ); strcat( new->e_path, path ); } else { strcpy( new->e_path, path ); } /* the fsevents API returns paths with a trailing slash. chop it. */ len = strlen( new->e_path ); if ( new->e_path[ len - 1 ] == '/' ) { new->e_path[ len - 1 ] = '\0'; } new->e_id = id; new->e_flags = flags; new->e_next = NULL; return( new ); } void event_insert( struct event **head, struct event *new ) { struct event **cur; struct event *tmp; int rc; /* must use while loop here since we're traversing and (maybe) deleting. */ cur = head; while ( *cur != NULL ) { if ( !all_paths && ischild( new->e_path, (*cur)->e_path )) { /* drop new node. we've already got the parent in the list. */ free( new->e_path ); free( new ); return; } else if ( !all_paths && ischild((*cur)->e_path, new->e_path )) { /* the new node is the cur parent. drop cur. */ tmp = *cur; *cur = (*cur)->e_next; free( tmp->e_path ); free( tmp ); /* the deletion takes care of the increment. */ } else { if ( case_sensitive ) { rc = strcmp( new->e_path, (*cur)->e_path ); } else { rc = strcasecmp( new->e_path, (*cur)->e_path ); } if ( rc == 0 ) { /* new is already in the list. drop it. */ free( new->e_path ); free( new ); return; } else if ( rc < 0 ) { break; } else { cur = &(*cur)->e_next; } } } new->e_next = *cur; *cur = new; } void event_print( struct event **head ) { struct event *cur, *tmp; for ( cur = *head; cur != NULL; cur = tmp ) { printf( "%s\n", cur->e_path ); tmp = cur->e_next; free( cur->e_path ); free( cur ); } *head = NULL; } void fsevent_callback( ConstFSEventStreamRef ref, void *info, size_t nevents, void *eventpaths, const FSEventStreamEventFlags eflags[], const FSEventStreamEventId eids[] ) { struct event *new; char **paths = eventpaths; int i; time_t now; #define FSEVENTID "ID" #define FSEVENTFLAGS "Flags" #define FSEVENTPATH "Path" if ( debug && nevents > 0 ) { printf( "# %-8s %-10s %s\n", FSEVENTID, FSEVENTFLAGS, FSEVENTPATH ); } for ( i = 0; i < nevents; i++ ) { if (( new = event_new( paths[ i ], eids[ i ], eflags[ i ] )) == NULL ) { perror( "event_new: malloc" ); exit( 2 ); } event_insert( &event_head, new ); if ( debug ) { printf( "%-10llu %-10lu %s\n", eids[ i ], eflags[ i ], paths[ i ] ); } } if ( nevents > 0 && !delayed_print ) { event_print( &event_head ); } } /* called when the user-specified run time ends */ void timer_callback( CFRunLoopRef runloop, void *info ) { FSEventStreamRef fsstream = (FSEventStreamRef)info; /* block until all events are cleared. */ FSEventStreamFlushSync( fsstream ); CFRunLoopStop( CFRunLoopGetCurrent()); } int main( int ac, char *av[] ) { CFStringRef *paths = NULL; CFArrayRef watchpaths = NULL; FSEventStreamRef fsstream = NULL; CFAbsoluteTime latency = 2.0; CFRunLoopTimerRef timer; SInt32 runloop_rc; int watchtime = 0; int c; int i; int err = 0; extern int optind; extern char *optarg; while (( c = getopt( ac, av, "adIl:p:t:w" )) != -1 ) { switch ( c ) { case 'a': /* print all paths regardless of overlap. */ all_paths = 1; break; case 'd': /* debug */ debug = 1; break; case 'I': /* case-insensitive path comparisons */ case_sensitive = 0; break; case 'l': /* latency */ errno = 0; latency = strtod( optarg, NULL ); if ( errno ) { fprintf( stderr, "strtod %s: %s\n", optarg, strerror( errno )); exit( 1 ); } if ( latency < 0.0 ) { fprintf( stderr, "latency cannot be negative\n" ); exit( 1 ); } break; case 'p': /* prefix for path output. */ if (( prefix = strdup( optarg )) == NULL ) { perror( "strdup" ); exit( 2 ); } break; case 't': /* time in seconds to watch given paths */ errno = 0; watchtime = strtoul( optarg, NULL, 10 ); if ( errno ) { fprintf( stderr, "strtoul %s: %s\n", optarg, strerror( errno )); exit( 1 ); } break; case 'w': /* print paths after watchtime elapses. */ delayed_print = 1; break; default: err++; break; } } if ( delayed_print && !watchtime ) { err++; } if ( err || ( ac - optind ) < 1 ) { fprintf( stderr, "usage: %s [ -adI ] [ -l delay_in_seconds ] " "[ -p path_prefix ] [ -t run_time_in_seconds [ -w ]] " "path1 [path2 path3 ... pathN]\n", av[ 0 ] ); exit( 1 ); } if (( paths = ( CFStringRef * )malloc(( ac - 1 ) * sizeof( CFStringRef ))) == NULL ) { perror( "malloc" ); exit( 2 ); } for ( i = 1; i < ac; i++ ) { paths[ i - 1 ] = CFStringCreateWithCString( kCFAllocatorDefault, av[ i ], kCFStringEncodingUTF8 ); if ( paths[ i - 1 ] == NULL ) { fprintf( stderr, "%s: failed to create CFStringRef\n", av[ i ] ); exit( 2 ); } } watchpaths = CFArrayCreate( kCFAllocatorDefault, ( const void ** )paths, ac - 1, &kCFTypeArrayCallBacks ); if ( watchpaths == NULL ) { fprintf( stderr, "CFArrayCreate failed\n" ); exit( 2 ); } for ( i = 0; i < ( ac - 1 ); i++ ) { CFRelease( paths[ i ] ); } free( paths ); fsstream = FSEventStreamCreate( kCFAllocatorDefault, &fsevent_callback, NULL, watchpaths, kFSEventStreamEventIdSinceNow, latency, kFSEventStreamCreateFlagNone ); if ( fsstream == NULL ) { fprintf( stderr, "FSEventStreamCreate failed\n" ); exit( 2 ); } /* line buffering to make sure we get the output */ setlinebuf( stdout ); FSEventStreamScheduleWithRunLoop( fsstream, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode ); if ( !FSEventStreamStart( fsstream )) { fprintf( stderr, "FSEventStreamStart failed\n" ); exit( 2 ); } if ( watchtime ) { CFRunLoopTimerContext context = { 0, fsstream, NULL, NULL, NULL }; timer = CFRunLoopTimerCreate( kCFAllocatorDefault, watchtime + CFAbsoluteTimeGetCurrent(), 0, 0, 0, (CFRunLoopTimerCallBack)timer_callback, &context ); if ( timer == NULL ) { fprintf( stderr, "CFRunLoopTimerCreate failed\n" ); exit( 2 ); } CFRunLoopAddTimer( CFRunLoopGetCurrent(), timer, kCFRunLoopDefaultMode ); } CFRunLoopRun(); if ( delayed_print ) { event_print( &event_head ); } FSEventStreamStop( fsstream ); FSEventStreamInvalidate( fsstream ); FSEventStreamRelease( fsstream ); if ( prefix != NULL ) { free( prefix ); } return( 0 ); } |
From: Andrew M. <fit...@us...> - 2008-08-26 17:35:20
|
Update of /cvsroot/radmind/CVSROOT In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15426 Modified Files: avail Log Message: umjarod has access to radmind-pc only. Index: avail =================================================================== RCS file: /cvsroot/radmind/CVSROOT/avail,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** avail 19 Dec 2007 20:05:43 -0000 1.2 --- avail 26 Aug 2008 17:35:15 -0000 1.3 *************** *** 1,3 **** unavail ! avail|fitterhappier,umeditor,wescraig,umjarod ! avail|da_king|radmind/radmind-pc --- 1,3 ---- unavail ! avail|fitterhappier,umeditor,wescraig ! avail|da_king,umjarod|radmind/radmind-pc |
From: Andrew M. <fit...@us...> - 2008-08-19 17:50:02
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14167 Modified Files: connect.c Log Message: Temporary storage of errno doesn't need to be a global. Index: connect.c =================================================================== RCS file: /cvsroot/radmind/radmind/connect.c,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** connect.c 6 Jan 2008 21:31:39 -0000 1.32 --- connect.c 19 Aug 2008 17:49:56 -0000 1.33 *************** *** 43,47 **** extern SSL_CTX *ctx; - int connectsn2_errno = 0; #ifdef HAVE_ZLIB --- 43,46 ---- *************** *** 61,64 **** --- 60,64 ---- int s; int one = 1; + int connectsn2_errno = 0; SNET *sn = NULL; struct protoent *proto; *************** *** 86,89 **** --- 86,90 ---- if ( verbose ) printf( "failed: %s\n", strerror( errno )); (void)close( s ); + errno = connectsn2_errno; return( NULL ); } *************** *** 154,158 **** } fprintf( stderr, "connection to %s failed: %s\n", ! inet_ntoa( sin.sin_addr ), strerror( connectsn2_errno )); fprintf( stderr, "%s: connection failed\n", host ); return( NULL ); --- 155,159 ---- } fprintf( stderr, "connection to %s failed: %s\n", ! inet_ntoa( sin.sin_addr ), strerror( errno )); fprintf( stderr, "%s: connection failed\n", host ); return( NULL ); |
From: Andrew M. <fit...@us...> - 2008-08-07 01:04:43
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8839 Modified Files: transcript.c Log Message: Special files are unaffected by exclude patterns. Updated description of excludes in fsdiff manpage. Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind/transcript.c,v retrieving revision 1.128 retrieving revision 1.129 diff -C2 -d -r1.128 -r1.129 *** transcript.c 6 Aug 2008 16:00:42 -0000 1.128 --- transcript.c 7 Aug 2008 01:04:39 -0000 1.129 *************** *** 716,720 **** /* If we match an exclude pattern, pretend we don't see it */ ! if ( t_exclude( begin_tran->t_pinfo.pi_name )) { if ( exclude_warnings ) { fprintf( stderr, "Warning: excluding %s\n", --- 716,721 ---- /* If we match an exclude pattern, pretend we don't see it */ ! if ( begin_tran->t_type != T_SPECIAL && ! t_exclude( begin_tran->t_pinfo.pi_name )) { if ( exclude_warnings ) { fprintf( stderr, "Warning: excluding %s\n", |
From: Andrew M. <fit...@us...> - 2008-08-07 01:04:43
|
Update of /cvsroot/radmind/radmind/man In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8839/man Modified Files: fsdiff.1 Log Message: Special files are unaffected by exclude patterns. Updated description of excludes in fsdiff manpage. Index: fsdiff.1 =================================================================== RCS file: /cvsroot/radmind/radmind/man/fsdiff.1,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** fsdiff.1 14 Jan 2008 17:03:18 -0000 1.15 --- fsdiff.1 7 Aug 2008 01:04:39 -0000 1.16 *************** *** 203,211 **** Lines beginning with "#" are comments, and are skipped. A comment must be on a line by itself. Blank lines are also skipped. Exclude lines are ! wildcard patterns (see radmind(8) DESCRIPTION) of paths on disk that will be ignored completely, that is, fsdiff will not care if an object matching an exclude line is present or absent, and will not print out anything ! relating to it. Exclude patterns will not affect things already in a ! transcript. .sp If there is no command file, the transcript used is the null transcript. --- 203,212 ---- Lines beginning with "#" are comments, and are skipped. A comment must be on a line by itself. Blank lines are also skipped. Exclude lines are ! wildcard patterns (see radmind(8) DESCRIPTION) of paths that will be ignored completely, that is, fsdiff will not care if an object matching an exclude line is present or absent, and will not print out anything ! relating to it. Exclude patterns apply to objects on the filesystem and ! paths in transcripts. Only special files are unaffected by excludes. For ! help determining which files you are excluding, use the -W flag. .sp If there is no command file, the transcript used is the null transcript. |
From: Andrew M. <fit...@us...> - 2008-08-06 16:01:08
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv877 Modified Files: transcript.c Log Message: Fix [Bug 2038036]: Infinite loops possible in fsdiff with excludes. Excludes now apply to transcript lines as well as the file system. Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind/transcript.c,v retrieving revision 1.127 retrieving revision 1.128 diff -C2 -d -r1.127 -r1.128 *** transcript.c 30 Jul 2008 19:56:54 -0000 1.127 --- transcript.c 6 Aug 2008 16:00:42 -0000 1.128 *************** *** 715,718 **** --- 715,728 ---- } + /* If we match an exclude pattern, pretend we don't see it */ + if ( t_exclude( begin_tran->t_pinfo.pi_name )) { + if ( exclude_warnings ) { + fprintf( stderr, "Warning: excluding %s\n", + begin_tran->t_pinfo.pi_name ); + } + transcript_parse( begin_tran ); + continue; + } + /* Don't look outside of the initial path. */ |
From: Patrick M. <ume...@us...> - 2008-08-04 14:29:26
|
Update of /cvsroot/radmind/radmind/OS_X In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv9608 Modified Files: Info.plist RadmindTools.info Log Message: Allow Radmind to be installed on non-boot volumes. [FEATURE REQUEST #2025217] Index: Info.plist =================================================================== RCS file: /cvsroot/radmind/radmind/OS_X/Info.plist,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Info.plist 10 Mar 2004 22:18:06 -0000 1.1 --- Info.plist 4 Aug 2008 14:29:21 -0000 1.2 *************** *** 24,32 **** <false/> <key>IFPkgFlagRelocatable</key> ! <false/> <key>IFPkgFlagRestartAction</key> <string>NoRestart</string> <key>IFPkgFlagRootVolumeOnly</key> ! <true/> <key>IFPkgFlagUpdateInstalledLanguages</key> <false/> --- 24,32 ---- <false/> <key>IFPkgFlagRelocatable</key> ! <true/> <key>IFPkgFlagRestartAction</key> <string>NoRestart</string> <key>IFPkgFlagRootVolumeOnly</key> ! <false/> <key>IFPkgFlagUpdateInstalledLanguages</key> <false/> Index: RadmindTools.info =================================================================== RCS file: /cvsroot/radmind/radmind/OS_X/RadmindTools.info,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RadmindTools.info 25 Jul 2003 20:09:04 -0000 1.1 --- RadmindTools.info 4 Aug 2008 14:29:21 -0000 1.2 *************** *** 4,8 **** DefaultLocation / ! Relocatable NO NeedsAuthorization YES --- 4,8 ---- DefaultLocation / ! Relocatable YES NeedsAuthorization YES *************** *** 10,14 **** InstallOnly NO DisableStop NO ! rootVolumeOnly YES RequiresReboot NO UseUserMask YES --- 10,14 ---- InstallOnly NO DisableStop NO ! rootVolumeOnly NO RequiresReboot NO UseUserMask YES |
From: Patrick M. <ume...@us...> - 2008-08-01 00:21:46
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32499 Modified Files: ktcheck.c lapply.c Log Message: Add -e to ktcheck and lapply to allow changing the event type that is reported to the radmind server. [Patch #1951140] Thanks Karl Kuehn of Stanford University for the patch. Index: lapply.c =================================================================== RCS file: /cvsroot/radmind/radmind/lapply.c,v retrieving revision 1.146 retrieving revision 1.147 diff -C2 -d -r1.146 -r1.147 *** lapply.c 7 Jun 2008 14:26:54 -0000 1.146 --- lapply.c 1 Aug 2008 00:21:42 -0000 1.147 *************** *** 251,258 **** int force = 0; int use_randfile = 0; ! char **capa = NULL; /* capabilities */ while (( c = getopt( argc, argv, ! "%c:CFh:iInp:P:qru:Vvw:x:y:z:Z:" )) != EOF ) { switch( c ) { case '%': --- 251,259 ---- int force = 0; int use_randfile = 0; ! char **capa = NULL; /* capabilities */ ! char * event = "lapply"; /* report event type */ while (( c = getopt( argc, argv, ! "%c:Ce:Fh:iInp:P:qru:Vvw:x:y:z:Z:" )) != EOF ) { switch( c ) { case '%': *************** *** 274,277 **** --- 275,282 ---- break; + case 'e': /* set the event label for reporting */ + event = optarg; + break; + case 'F': force = 1; *************** *** 729,733 **** if ( network ) { if ( report ) { ! if ( report_event( sn, "lapply", "Changes applied successfully" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); --- 734,738 ---- if ( network ) { if ( report ) { ! if ( report_event( sn, event, "Changes applied successfully" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); *************** *** 754,759 **** if ( change ) { if ( network && report ) { ! if ( report_event( sn, "lapply", ! "Error, changes made" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); } --- 759,763 ---- if ( change ) { if ( network && report ) { ! if ( report_event( sn, event, "Error, changes made" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); } *************** *** 761,765 **** } else { if ( network && report ) { ! if ( report_event( sn, "lapply", "Error, no changes made" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); --- 765,769 ---- } else { if ( network && report ) { ! if ( report_event( sn, event, "Error, no changes made" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.135 retrieving revision 1.136 diff -C2 -d -r1.135 -r1.136 *** ktcheck.c 27 Jun 2008 17:00:30 -0000 1.135 --- ktcheck.c 1 Aug 2008 00:21:42 -0000 1.136 *************** *** 55,59 **** int createspecial( SNET *sn, struct list *special_list ); int getstat( SNET *sn, char *description, char *stats ); ! int read_kfile( char * ); SNET *sn; --- 55,59 ---- int createspecial( SNET *sn, struct list *special_list ); int getstat( SNET *sn, char *description, char *stats ); ! int read_kfile( char *, char * ); SNET *sn; *************** *** 564,570 **** char tempfile[ MAXPATHLEN ]; char **capa = NULL; /* capabilities */ while (( c = getopt( argc, argv, ! "Cc:D:h:IiK:np:P:qrvVw:x:y:z:Z:" )) != EOF ) { switch( c ) { case 'C': /* clean up dir containing command.K */ --- 564,571 ---- char tempfile[ MAXPATHLEN ]; char **capa = NULL; /* capabilities */ + char *event = "ktcheck"; /* report event type */ while (( c = getopt( argc, argv, ! "Cc:D:e:h:IiK:np:P:qrvVw:x:y:z:Z:" )) != EOF ) { switch( c ) { case 'C': /* clean up dir containing command.K */ *************** *** 586,589 **** --- 587,594 ---- break; + case 'e': /* set the event label for reporting */ + event = optarg; + break; + case 'h': host = optarg; *************** *** 764,772 **** case 2: ! if ( report ) report_event( sn, "ktcheck", "Error" ); exit( 2 ); } ! if ( read_kfile( base_kfile ) != 0 ) { exit( 2 ); } --- 769,781 ---- case 2: ! if ( report ) { ! if ( report_event( sn, event, "Error" ) != 0 ) { ! fprintf( stderr, "warning: could not report event\n" ); ! } ! } exit( 2 ); } ! if ( read_kfile( base_kfile, event ) != 0 ) { exit( 2 ); } *************** *** 882,886 **** if ( update ) { if ( report ) { ! if ( report_event( sn, "ktcheck", "Updates retrieved" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); } --- 891,895 ---- if ( update ) { if ( report ) { ! if ( report_event( sn, event, "Updates retrieved" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); } *************** *** 888,892 **** } else { if ( report ) { ! if ( report_event( sn, "ktcheck", "Updates available" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); } --- 897,901 ---- } else { if ( report ) { ! if ( report_event( sn, event, "Updates available" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); } *************** *** 895,899 **** } else { if ( report ) { ! if ( report_event( sn, "ktcheck", "No updates needed" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); } --- 904,908 ---- } else { if ( report ) { ! if ( report_event( sn, event, "No updates needed" ) != 0 ) { fprintf( stderr, "warning: could not report event\n" ); } *************** *** 915,919 **** int ! read_kfile( char * kfile ) { int ac, minus = 0; --- 924,928 ---- int ! read_kfile( char * kfile, char * event ) { int ac, minus = 0; *************** *** 987,994 **** break; case 2: ! if ( report ) report_event( sn, "ktcheck", "Error" ); goto error; } ! if ( read_kfile( path ) != 0 ) { exit( 2 ); } --- 996,1007 ---- break; case 2: ! if ( report ) { ! if ( report_event( sn, event, "Error" ) != 0 ) { ! fprintf( stderr, "warning: could not report event\n" ); ! } ! } goto error; } ! if ( read_kfile( path, event ) != 0 ) { exit( 2 ); } *************** *** 1024,1028 **** break; case 2: ! if ( report ) report_event( sn, "ktcheck", "Error" ); exit( 2 ); } --- 1037,1045 ---- break; case 2: ! if ( report ) { ! if ( report_event( sn, event, "Error" ) != 0 ) { ! fprintf( stderr, "warning: could not report event\n" ); ! } ! } exit( 2 ); } *************** *** 1049,1053 **** } if ( !update && change ) { ! if ( report ) report_event( sn, "ktcheck", "Updates available" ); exit( 1 ); } --- 1066,1074 ---- } if ( !update && change ) { ! if ( report ) { ! if ( report_event( sn, event, "Updates available" ) != 0 ) { ! fprintf( stderr, "warning: could not report event\n" ); ! } ! } exit( 1 ); } |
From: Patrick M. <ume...@us...> - 2008-07-31 20:54:04
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3057 Modified Files: fsdiff.c Log Message: Reordered path_prefix cleanup code to better deal with relative paths. Index: fsdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind/fsdiff.c,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** fsdiff.c 30 Jul 2008 19:56:54 -0000 1.81 --- fsdiff.c 31 Jul 2008 20:54:00 -0000 1.82 *************** *** 357,377 **** len = strlen( path_prefix ); - /* Determine if called with relative or absolute pathing. Path is relative - * if it's just '.' or starts with './'. File names that start with a '.' - * are absolute. - */ - if ( path_prefix[ 0 ] == '.' ) { - if ( len == 1 ) { - tran_format = T_RELATIVE; - } else if ( path_prefix[ 1 ] == '/' ) { - tran_format = T_RELATIVE; - } - } else { - tran_format = T_ABSOLUTE; - } - /* Clip trailing '/' */ if (( len > 1 ) && ( path_prefix[ len - 1 ] == '/' )) { ! path_prefix[ len - 1] = '\0'; } --- 357,364 ---- len = strlen( path_prefix ); /* Clip trailing '/' */ if (( len > 1 ) && ( path_prefix[ len - 1 ] == '/' )) { ! path_prefix[ len - 1 ] = '\0'; ! len--; } *************** *** 385,389 **** case '.': ! if ( path_prefix[ 1 ] == '/' ) { break; } --- 372,377 ---- case '.': ! /* Don't rewrite '.' or paths starting with './' */ ! if (( len == 1 ) || ( path_prefix[ 1 ] == '/' )) { break; } *************** *** 398,401 **** --- 386,405 ---- } + /* Determine if called with relative or absolute pathing. Path is relative + * if it's just '.' or starts with './'. File names that start with a '.' + * are absolute. + */ + if ( path_prefix[ 0 ] == '.' ) { + if ( len == 1 ) { + tran_format = T_RELATIVE; + } else if ( path_prefix[ 1 ] == '/' ) { + tran_format = T_RELATIVE; + } else { + tran_format = T_ABSOLUTE; + } + } else { + tran_format = T_ABSOLUTE; + } + if ( radstat( path_prefix, &st, &type, &afinfo ) != 0 ) { perror( path_prefix ); |
From: Patrick M. <ume...@us...> - 2008-07-31 20:26:16
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv23672 Modified Files: twhich.c Log Message: Using correct variable; twhich doesn't have a path_prefix Index: twhich.c =================================================================== RCS file: /cvsroot/radmind/radmind/twhich.c,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** twhich.c 30 Jul 2008 19:56:54 -0000 1.48 --- twhich.c 31 Jul 2008 20:26:12 -0000 1.49 *************** *** 192,199 **** * are absolute. */ ! if ( path_prefix[ 0 ] == '.' ) { if ( len == 1 ) { tran_format = T_RELATIVE; ! } else if ( path_prefix[ 1 ] == '/' ) { tran_format = T_RELATIVE; } --- 192,199 ---- * are absolute. */ ! if ( pattern[ 0 ] == '.' ) { if ( len == 1 ) { tran_format = T_RELATIVE; ! } else if ( pattern[ 1 ] == '/' ) { tran_format = T_RELATIVE; } |
From: Patrick M. <ume...@us...> - 2008-07-30 19:56:59
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14267 Modified Files: fsdiff.c lfdiff.c transcript.c transcript.h twhich.c Log Message: Automatically convert paths between absolute and relative paths based on the path given to fsdiff. [PATCH 2020818] Index: transcript.h =================================================================== RCS file: /cvsroot/radmind/radmind/transcript.h,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** transcript.h 15 Jan 2008 20:04:03 -0000 1.43 --- transcript.h 30 Jul 2008 19:56:54 -0000 1.44 *************** *** 11,14 **** --- 11,17 ---- #define T_SPECIAL 3 + #define T_RELATIVE 0 + #define T_ABSOLUTE 1 + #define T_MOVE_TRAN 1 #define T_MOVE_FS 2 Index: fsdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind/fsdiff.c,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -d -r1.80 -r1.81 *** fsdiff.c 17 Jul 2008 18:15:55 -0000 1.80 --- fsdiff.c 30 Jul 2008 19:56:54 -0000 1.81 *************** *** 33,36 **** --- 33,37 ---- int lastpercent = -1; int case_sensitive = 1; + int tran_format = -1; extern int exclude_warnings; const EVP_MD *md; *************** *** 354,359 **** path_prefix = argv[ optind ]; - /* Clip trailing '/' */ len = strlen( path_prefix ); if (( len > 1 ) && ( path_prefix[ len - 1 ] == '/' )) { path_prefix[ len - 1] = '\0'; --- 355,375 ---- path_prefix = argv[ optind ]; len = strlen( path_prefix ); + + /* Determine if called with relative or absolute pathing. Path is relative + * if it's just '.' or starts with './'. File names that start with a '.' + * are absolute. + */ + if ( path_prefix[ 0 ] == '.' ) { + if ( len == 1 ) { + tran_format = T_RELATIVE; + } else if ( path_prefix[ 1 ] == '/' ) { + tran_format = T_RELATIVE; + } + } else { + tran_format = T_ABSOLUTE; + } + + /* Clip trailing '/' */ if (( len > 1 ) && ( path_prefix[ len - 1 ] == '/' )) { path_prefix[ len - 1] = '\0'; Index: twhich.c =================================================================== RCS file: /cvsroot/radmind/radmind/twhich.c,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** twhich.c 7 Jun 2008 14:29:02 -0000 1.47 --- twhich.c 30 Jul 2008 19:56:54 -0000 1.48 *************** *** 24,27 **** --- 24,28 ---- int case_sensitive = 1; + int tran_format = -1; /* *************** *** 184,187 **** --- 185,203 ---- if ( len > 1 && pattern[ len - 1 ] == '/' ) { pattern[ len - 1 ] = '\0'; + len--; + } + + /* Determine if called with relative or absolute pathing. Path is relative + * if it's just '.' or starts with './'. File names that start with a '.' + * are absolute. + */ + if ( path_prefix[ 0 ] == '.' ) { + if ( len == 1 ) { + tran_format = T_RELATIVE; + } else if ( path_prefix[ 1 ] == '/' ) { + tran_format = T_RELATIVE; + } + } else { + tran_format = T_ABSOLUTE; } Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind/transcript.c,v retrieving revision 1.126 retrieving revision 1.127 diff -C2 -d -r1.126 -r1.127 *** transcript.c 12 Mar 2008 17:15:55 -0000 1.126 --- transcript.c 30 Jul 2008 19:56:54 -0000 1.127 *************** *** 29,32 **** --- 29,33 ---- #include "wildcard.h" + char * convert_path_type( char *path ); int read_kfile( char *kfile, int location ); static void t_remove( int type, char *shortname ); *************** *** 37,40 **** --- 38,42 ---- extern int edit_path; extern int case_sensitive; + extern int tran_format; static char *kdir; static struct list *kfile_list; *************** *** 50,53 **** --- 52,104 ---- FILE *outtran; + char * + convert_path_type( char *path ) + { + int len = 0; + static char buf[ MAXPATHLEN ]; + + len = strlen( path ); + + if ( len == 1 ) { + if (( tran_format == T_ABSOLUTE ) && ( path[ 0 ] == '.' )) { + buf[ 0 ] = '/'; + buf[ 1 ] = '\0'; + } else if (( tran_format == T_RELATIVE ) && ( path[ 0 ] == '/' )) { + buf[ 0 ] = '.'; + buf[ 1 ] = '\0'; + } else { + /* Nothing to convert */ + return( path ); + } + } else { + if (( tran_format == T_ABSOLUTE ) && ( path[ 0 ] == '.' )) { + if ( path[ 1 ] == '/' ) { + /* Move past leading '.' */ + path++; + if ( snprintf( buf, sizeof( buf ), "%s", + path ) >= MAXPATHLEN ) { + return( NULL ); + } + } else { + /* Instert leading '/' */ + if ( snprintf( buf, sizeof( buf ), "/%s", + path ) >= MAXPATHLEN ) { + return( NULL ); + } + } + } else if (( tran_format == T_RELATIVE ) && ( path[ 0 ] == '/' )) { + /* Instert leading '.' */ + if ( snprintf( buf, sizeof( buf ), ".%s", path ) >= MAXPATHLEN ) { + return( NULL ); + } + } else { + /* Nothing to convert */ + return( path ); + } + } + + return( buf ); + } + void transcript_parse( struct transcript *tran ) *************** *** 106,109 **** --- 157,168 ---- exit( 2 ); } + + /* Convert path to match transcript type */ + if (( epath = convert_path_type( epath )) == NULL ) {; + fprintf( stderr, "%s: line %d: path too long\n", tran->t_fullname, + tran->t_linenum ); + exit( 2 ); + } + if ( pathcasecmp( epath, tran->t_pinfo.pi_name, case_sensitive ) < 0 ) { fprintf( stderr, "%s: line %d: bad sort order\n", *************** *** 937,941 **** char fullpath[ MAXPATHLEN ]; char *subpath; ! char *d_pattern; char **av; FILE *fp; --- 996,1000 ---- char fullpath[ MAXPATHLEN ]; char *subpath; ! char *d_pattern, *path; char **av; FILE *fp; *************** *** 1052,1057 **** if (( d_pattern = decode( av[ 1 ] )) == NULL ) { fprintf( stderr, "%s: line %d: decode buffer too small\n", ! kfile, linenum ); } if ( minus ) { list_remove( exclude_list, d_pattern ); --- 1111,1124 ---- if (( d_pattern = decode( av[ 1 ] )) == NULL ) { fprintf( stderr, "%s: line %d: decode buffer too small\n", ! kfile, linenum ); ! } ! ! /* Convert path to match transcript type */ ! if (( d_pattern = convert_path_type( d_pattern )) == NULL ) { ! fprintf( stderr, "%s: line %d: path too long\n", ! kfile, linenum ); ! exit( 2 ); } + if ( minus ) { list_remove( exclude_list, d_pattern ); *************** *** 1067,1077 **** case 's': /* special */ if ( minus ) { ! if ( list_check( special_list, av[ 1 ] )) { ! list_remove( special_list, av[ 1 ] ); } } else { ! if ( !list_check( special_list, av[ 1 ] )) { ! if ( list_insert( special_list, av[ 1 ] ) != 0 ) { perror( "list_insert" ); return( -1 ); --- 1134,1153 ---- case 's': /* special */ + path = av[ 1 ]; + + /* Convert path to match transcript type */ + if (( path = convert_path_type( path )) == NULL ) { + fprintf( stderr, "%s: line %d: path too long\n", + kfile, linenum ); + exit( 2 ); + } + if ( minus ) { ! if ( list_check( special_list, path )) { ! list_remove( special_list, path ); } } else { ! if ( !list_check( special_list, path )) { ! if ( list_insert( special_list, path ) != 0 ) { perror( "list_insert" ); return( -1 ); Index: lfdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind/lfdiff.c,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** lfdiff.c 7 Jun 2008 14:26:54 -0000 1.66 --- lfdiff.c 30 Jul 2008 19:56:54 -0000 1.67 *************** *** 47,50 **** --- 47,51 ---- int cksum = 0; int case_sensitive = 1; + int tran_format = -1; int create_prefix = 0; int quiet = 1; *************** *** 114,118 **** main( int argc, char **argv, char **envp ) { ! int c, i, tac, err = 0; int special = 0, diffargc = 0; int fd; --- 115,119 ---- main( int argc, char **argv, char **envp ) { ! int c, i, tac, err = 0, len; int special = 0, diffargc = 0; int fd; *************** *** 336,339 **** --- 337,355 ---- } file = argv[ optind ]; + len = strlen( file ); + + /* Determine if called with relative or absolute pathing. Path is relative + * if it's just '.' or starts with './'. File names that start with a '.' + * are absolute. + */ + if ( file[ 0 ] == '.' ) { + if ( len == 1 ) { + tran_format = T_RELATIVE; + } else if ( file[ 1 ] == '/' ) { + tran_format = T_RELATIVE; + } + } else { + tran_format = T_ABSOLUTE; + } if ( authlevel != 0 ) { |
From: Andrew M. <fit...@us...> - 2008-07-29 20:14:46
|
Update of /cvsroot/radmind/radmind-assistant/rte In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv24210 Modified Files: NSMutableDictionary(RXAdditions).m Log Message: Support for new symlink transcript lines. Index: NSMutableDictionary(RXAdditions).m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rte/NSMutableDictionary(RXAdditions).m,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** NSMutableDictionary(RXAdditions).m 29 Aug 2006 01:26:08 -0000 1.8 --- NSMutableDictionary(RXAdditions).m 29 Jul 2008 20:14:43 -0000 1.9 *************** *** 109,112 **** --- 109,122 ---- case 'h': + dict = + [ NSMutableDictionary dictionaryWithObjectsAndKeys: + [ NSString stringWithFormat: @"%d", index ], @"tindex", + [ NSString stringWithUTF8String: targv[ 0 ]], @"type", + @"-", @"perm", @"-", @"owner", @"-", @"group", + [ NSString stringWithUTF8String: decode( targv[ 1 ] )], @"path", + @"????", @"dest", + [ NSString stringWithFormat: @"%c", plusminus ], @"pm", nil ]; + break; + case 'l': dict = *************** *** 114,126 **** [ NSString stringWithFormat: @"%d", index ], @"tindex", [ NSString stringWithUTF8String: targv[ 0 ]], @"type", [ NSString stringWithUTF8String: decode( targv[ 1 ] )], @"path", @"????", @"dest", [ NSString stringWithFormat: @"%c", plusminus ], @"pm", nil ]; ! if ( tac == 3 ) { ! char *dest = decode( targv[ 2 ] ); ! ! [ dict setObject: [ NSString stringWithUTF8String: dest ] forKey: @"dest" ]; ! } break; --- 124,151 ---- [ NSString stringWithFormat: @"%d", index ], @"tindex", [ NSString stringWithUTF8String: targv[ 0 ]], @"type", + @"-", @"perm", @"-", @"owner", @"-", @"group", [ NSString stringWithUTF8String: decode( targv[ 1 ] )], @"path", @"????", @"dest", [ NSString stringWithFormat: @"%c", plusminus ], @"pm", nil ]; ! switch ( tac ) { ! case 3: /* old symlink format */ ! [ dict setObject: ! [ NSString stringWithUTF8String: decode( targv[ 2 ] ) ] ! forKey: @"dest" ]; ! break; ! ! case 6: /* lchown/lchmod supported */ ! [ dict setObject: ! [ NSString stringWithUTF8String: decode( targv[ 5 ] ) ] ! forKey: @"dest" ]; ! [ dict setObject: [ NSString stringWithUTF8String: targv[ 2 ]] ! forKey: @"perm" ]; ! [ dict setObject: [ NSString stringWithUTF8String: targv[ 3 ]] ! forKey: @"owner" ]; ! [ dict setObject: [ NSString stringWithUTF8String: targv[ 4 ]] ! forKey: @"group" ]; ! break; ! } break; *************** *** 207,211 **** withArgv: targv line: l ]; - if ( dict ) { NSMutableAttributedString *attrString; --- 232,235 ---- |
From: Patrick M. <ume...@us...> - 2008-07-17 18:42:13
|
Update of /cvsroot/radmind/radmind/man In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22354 Modified Files: ktcheck.1 lapply.1 Log Message: Add -e to ktcheck and lapply to allow changing the event type that is rerorted to the radmind server. [Patch #1951140] Thanks Karl Kuehn of Stanford University for the patch. Index: lapply.1 =================================================================== RCS file: /cvsroot/radmind/radmind/man/lapply.1,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** lapply.1 28 Nov 2007 21:31:03 -0000 1.19 --- lapply.1 17 Jul 2008 18:42:10 -0000 1.20 *************** *** 11,14 **** --- 11,16 ---- .BI \-c\ checksum ] [ + .BI \-e\ event + ] [ .BI \-h\ host ] [ *************** *** 89,92 **** --- 91,98 ---- create missing intermediate directories. .TP 19 + .BI \-e\ event + the event type to report. This is limited to a single word, containing no + white space. By default this is "lapply". + .TP 19 .BI \-h\ host specifies the radmind server, by default Index: ktcheck.1 =================================================================== RCS file: /cvsroot/radmind/radmind/man/ktcheck.1,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ktcheck.1 7 Jun 2008 00:40:30 -0000 1.21 --- ktcheck.1 17 Jul 2008 18:42:10 -0000 1.22 *************** *** 11,14 **** --- 11,16 ---- .BI \-D\ path ] [ + .BI \-e\ event + ] [ .BI \-c\ checksum ] [ *************** *** 83,86 **** --- 85,92 ---- .BR _RADMIND_PATH . .TP 19 + .BI \-e\ event + the event type to report. This is limited to a single word, containing no + white space. By default this is "ktcheck". + .TP 19 .BI \-I case-insensitive special.T, case-insensitive clean-up. |
From: Patrick M. <ume...@us...> - 2008-07-17 18:16:00
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12512 Modified Files: fsdiff.c Log Message: If path doesn't contain a directory, canonicalize it by prepending "./". This allows paths to be dynamically converted between relative and absolute paths without breaking sort order. Index: fsdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind/fsdiff.c,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** fsdiff.c 3 Nov 2007 15:25:45 -0000 1.79 --- fsdiff.c 17 Jul 2008 18:15:55 -0000 1.80 *************** *** 259,263 **** int finish = 0; struct stat st; ! char type; struct applefileinfo afinfo; --- 259,263 ---- int finish = 0; struct stat st; ! char type, buf[ MAXPATHLEN ]; struct applefileinfo afinfo; *************** *** 360,363 **** --- 360,385 ---- } + /* If path_prefix doesn't contain a directory, canonicalize it by + * prepending a "./". This allow paths to be dynamically converted between + * relative and absolute paths without breaking sort order. + */ + switch( path_prefix[ 0 ] ) { + case '/': + break; + + case '.': + if ( path_prefix[ 1 ] == '/' ) { + break; + } + default: + if ( snprintf( buf, sizeof( buf ), "./%s", + path_prefix ) >= MAXPATHLEN ) { + fprintf( stderr, "path too long\n" ); + exit( 2 ); + } + path_prefix = buf; + break; + } + if ( radstat( path_prefix, &st, &type, &afinfo ) != 0 ) { perror( path_prefix ); |