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: Andrew M. <fit...@us...> - 2008-06-23 20:53:10
|
Update of /cvsroot/radmind/radmind-assistant In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15080 Modified Files: RASTableView.h Log Message: Quiet compiler re: prototypes. Index: RASTableView.h =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/RASTableView.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RASTableView.h 6 May 2005 14:32:23 -0000 1.3 --- RASTableView.h 23 Jun 2008 20:53:07 -0000 1.4 *************** *** 19,21 **** --- 19,23 ---- - ( NSMenu * )menuForTable: ( id )tableview tableColumn: ( int )column row: ( int )row; + - ( BOOL )handleKeyEvent: ( NSEvent * )theEvent fromTable: ( id )tableView; + - ( void )handleChangedText: ( NSString * )string forTable: ( id )tableView; @end |
From: Andrew M. <fit...@us...> - 2008-06-23 20:52:32
|
Update of /cvsroot/radmind/radmind-assistant In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14694 Modified Files: RAEditorLauncher.m Log Message: Saner fallback finding Editor. Index: RAEditorLauncher.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/RAEditorLauncher.m,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** RAEditorLauncher.m 24 Feb 2006 22:16:55 -0000 1.10 --- RAEditorLauncher.m 23 Jun 2008 20:52:29 -0000 1.11 *************** *** 33,38 **** if (( rtepath = [[ NSWorkspace sharedWorkspace ] absolutePathForAppBundleWithIdentifier: bundleID ] ) == nil ) { ! rtepath = [[ NSBundle mainBundle ] ! pathForResource: editor ofType: @"app" ]; if ( rtepath == nil ) { NSRunAlertPanel( NSLocalizedString( @"Error", @"Error" ), --- 33,39 ---- if (( rtepath = [[ NSWorkspace sharedWorkspace ] absolutePathForAppBundleWithIdentifier: bundleID ] ) == nil ) { ! rtepath = [[ NSBundle mainBundle ] bundlePath ]; ! rtepath = [ rtepath stringByDeletingLastPathComponent ]; ! rtepath = [ rtepath stringByAppendingFormat: @"%@.app", editor ]; if ( rtepath == nil ) { NSRunAlertPanel( NSLocalizedString( @"Error", @"Error" ), *************** *** 82,86 **** NSRunAlertPanel( @"Error launching editing session.", @"Couldn't launch %@", @"OK", @"", @"", ! [[ altEditors objectAtIndex: i ] objectForKey: @"name" ] ); return( NO ); } --- 83,87 ---- NSRunAlertPanel( @"Error launching editing session.", @"Couldn't launch %@", @"OK", @"", @"", ! [[ altEditors objectAtIndex: i ] objectForKey: @"name" ] ); return( NO ); } |
From: Andrew M. <fit...@us...> - 2008-06-23 20:50:11
|
Update of /cvsroot/radmind/radmind-assistant In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv13873 Modified Files: RAAuthExec.m Log Message: Do the right thing. Index: RAAuthExec.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/RAAuthExec.m,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** RAAuthExec.m 26 Apr 2006 15:14:45 -0000 1.47 --- RAAuthExec.m 23 Jun 2008 20:50:06 -0000 1.48 *************** *** 355,359 **** if ( strlen( buf ) > 0 && lcontroller != nil ) { ! [ lcontroller addTextToLog: [ NSString stringWithFormat: @"%s", buf ] color: [ NSColor blackColor ] displayInPane: display ]; --- 355,360 ---- if ( strlen( buf ) > 0 && lcontroller != nil ) { ! [ lcontroller addTextToLog: ! [ NSString stringWithUTF8String: buf ] color: [ NSColor blackColor ] displayInPane: display ]; |
From: Andrew M. <fit...@us...> - 2008-06-18 21:21:43
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8708 Modified Files: SPEC Log Message: Added REPO spec. Index: SPEC =================================================================== RCS file: /cvsroot/radmind/radmind/SPEC,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SPEC 10 Feb 2006 19:31:38 -0000 1.4 --- SPEC 18 Jun 2008 21:21:41 -0000 1.5 *************** *** 57,58 **** --- 57,63 ---- S: 320 Ready to start "\r\n" S: 220 <compression> compression [optional-string] enabled "\r\n" + + REPOrt an event on the client + + C: REPO <event-to-report> <report-details> "\r\n" + S: 215 Report successful "\r\n" |
From: Andrew M. <fit...@us...> - 2008-06-18 21:17:26
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7437 Modified Files: README Log Message: Instructions for building from CVS. Index: README =================================================================== RCS file: /cvsroot/radmind/radmind/README,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** README 18 Jun 2008 20:55:21 -0000 1.7 --- README 18 Jun 2008 21:17:22 -0000 1.8 *************** *** 18,23 **** Download the source from http://radmind.org/ and uncompress it into a directory of your liking. The current development source is also ! available through an anonymous CVS server. See the radmind web site ! for more details. 2: Configure the software --- 18,23 ---- Download the source from http://radmind.org/ and uncompress it into a directory of your liking. The current development source is also ! available through an anonymous CVS server. See the "Building from CVS" ! section below for more details. 2: Configure the software *************** *** 72,75 **** --- 72,98 ---- % "env CPPFLAGS=-I/usr/kerberos/include ./configure" + ----------------- + Building from CVS + ----------------- + The Radmind Development Team occasionally asks for help testing a new feature + or bug fix. The best way to assist is to download the source code from the + CVS repository and build it manually. The following steps will result in + a build from CVS. + + 1) Download the source from CVS: + + cvs -d :pserver:ano...@ra...:/cvsroot/radmind \ + checkout radmind + + 2) Move into the new radmind directory: + + cd radmind + + 3) Download libsnet[1], the network library Radmind uses: + + sh bin/getsnet + + 4) Follow steps 2 and 3 from "More detailed instructions" for building, above. + ------------ Known Issues *************** *** 89,90 **** --- 112,118 ---- An archived e-mail discussion list has also been set up. See the website for details on how to join. + + ---------- + References + ---------- + [1]: http://sourceforge.net/projects/libsnet |
From: Andrew M. <fit...@us...> - 2008-06-18 21:07:56
|
Update of /cvsroot/radmind/radmind/bin In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3573 Added Files: getsnet Log Message: Script to retrieve libsnet from SF.net. --- NEW FILE: getsnet --- #! /bin/sh # getsnet: download libsnet source code from SF.net proj="libsnet" rev="${1}" cvsenv=":pserver:anonymous@${proj}.cvs.sourceforge.net:/cvsroot/${proj}" if [ -n "${rev}" ]; then rev="-r ${rev}" fi cvs -d "${cvsenv}" checkout ${rev} "${proj}" exit $? |
From: Andrew M. <fit...@us...> - 2008-06-18 20:56:16
|
Update of /cvsroot/radmind/radmind/bin In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31691/bin Log Message: Directory /cvsroot/radmind/radmind/bin added to the repository |
From: Andrew M. <fit...@us...> - 2008-06-18 20:55:26
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31304 Modified Files: README Log Message: radmind.org Index: README =================================================================== RCS file: /cvsroot/radmind/radmind/README,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** README 1 Oct 2004 15:20:04 -0000 1.6 --- README 18 Jun 2008 20:55:21 -0000 1.7 *************** *** 16,23 **** 1: Getting the source ! Download the source from http://rsug.itd.umich.edu/software/radmind and ! uncompress it into a directory of your liking. The current development ! source is also available through an anonymous CVS server. See the radmind ! web site for more details. 2: Configure the software --- 16,23 ---- 1: Getting the source ! Download the source from http://radmind.org/ and uncompress it into a ! directory of your liking. The current development source is also ! available through an anonymous CVS server. See the radmind web site ! for more details. 2: Configure the software *************** *** 83,89 **** ---------------- If you have any problems with this source, you may want ! to check http://rsug.itd.umich.edu/software/radmind to see if any problems ! have reports. You can also contact the radmind development team by ! e-mailing ra...@um.... An archived e-mail discussion list has also been set up. See the website --- 83,89 ---- ---------------- If you have any problems with this source, you may want ! to check http://radmind.org/ to see if any problems have ! reports. You can also contact the radmind development ! team by e-mailing ra...@um.... An archived e-mail discussion list has also been set up. See the website |
From: Andrew M. <fit...@us...> - 2008-06-17 00:13:16
|
Update of /cvsroot/radmind/radmind-assistant In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26210 Modified Files: RCMStepController.m Log Message: Eliminate unnecessary locking. Distributed Objects are protection enough. Index: RCMStepController.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/RCMStepController.m,v retrieving revision 1.108 retrieving revision 1.109 diff -C2 -d -r1.108 -r1.109 *** RCMStepController.m 27 Oct 2006 02:44:31 -0000 1.108 --- RCMStepController.m 17 Jun 2008 00:13:10 -0000 1.109 *************** *** 51,54 **** --- 51,55 ---- [ NSDictionary dictionaryWithObject: [ NSNumber numberWithBool: YES ] forKey:@"RACaseInsensitive" ]]; + [[ NSUserDefaults standardUserDefaults ] synchronize ]; [ super initialize ]; *************** *** 1490,1494 **** - ( oneway void )updateProgress: ( NSString * )progressString { - NSLock *lock = nil; char progress[ LINE_MAX ]; char **targv; --- 1491,1494 ---- *************** *** 1500,1512 **** } - lock = [[ NSLock alloc ] init ]; - if ( ! [ lock tryLock ] ) { - if ( lock ) { - [ lock release ]; - } - NSLog( @"Couldn't set lock!" ); - return; - } - ( void )strlcpy( progress, [ progressString UTF8String ], sizeof( progress )); --- 1500,1503 ---- *************** *** 1514,1518 **** if (( tac = argcargv( progress, &targv )) < 1 ) { NSLog( @"%@: not a progress string", progressString ); - [ lock release ]; return; } --- 1505,1508 ---- *************** *** 1523,1527 **** if ( errno == ERANGE ) { NSLog( @"strtod %s: %s", targv[ 0 ], strerror( errno )); - [ lock release ]; return; } --- 1513,1516 ---- *************** *** 1536,1543 **** [ toolProgBar setMaxValue: 100.0 ]; [ toolProgBar setDoubleValue: pct ]; - - if ( lock ) { - [ lock release ]; - } } --- 1525,1528 ---- *************** *** 1770,1785 **** displayInPane: ( BOOL )display { - NSLock *lock = nil; NSMutableAttributedString *attr = nil; - lock = [[ NSLock alloc ] init ]; - - if ( ! [ lock tryLock ] ) { - NSLog( @"Couldn't set lock" ); - if ( lock != nil ) { - [ lock release ]; - } - } - attr = [[ NSMutableAttributedString alloc ] initWithString: text ]; --- 1755,1760 ---- *************** *** 1801,1808 **** [ attr release ]; [ toolsLogField setEditable: NO ]; - - if ( lock != nil ) { - [ lock release ]; - } } --- 1776,1779 ---- |
From: Andrew M. <fit...@us...> - 2008-06-14 15:09:34
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8474 Modified Files: configure.ac configure Log Message: Removed redundant openssl header check. Index: configure.ac =================================================================== RCS file: /cvsroot/radmind/radmind/configure.ac,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** configure.ac 12 Mar 2008 17:15:55 -0000 1.44 --- configure.ac 14 Jun 2008 15:09:29 -0000 1.45 *************** *** 59,66 **** is required for this software. You may be running RedHat 9. If so, see the FAQ or the README for further instructions.])]) AC_CHECK_LIB([crypto], [SSLeay_version], , [CHECK_SSL]) - AC_CHECK_HEADER([openssl/ssl.h], [], [AC_MSG_ERROR([ - header file <openssl/ssl.h> is required for this software. You may be - running RedHat 9. If so, see the FAQ or the README for further instructions. - ])]) AC_CHECK_LIB([pam], [pam_start], [ --- 59,62 ---- Index: configure =================================================================== RCS file: /cvsroot/radmind/radmind/configure,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** configure 21 Mar 2008 20:26:23 -0000 1.56 --- configure 14 Jun 2008 15:09:29 -0000 1.57 *************** *** 5313,5461 **** fi - if test "${ac_cv_header_openssl_ssl_h+set}" = set; then - { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 - echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } - if test "${ac_cv_header_openssl_ssl_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - fi - { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 - echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } - else - # Is the header compilable? - { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 - echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default - #include <openssl/ssl.h> - _ACEOF - rm -f conftest.$ac_objext - if { (ac_try="$ac_compile" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac - eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no - fi - - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 - echo "${ECHO_T}$ac_header_compiler" >&6; } - - # Is the header present? - { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 - echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - #include <openssl/ssl.h> - _ACEOF - if { (ac_try="$ac_cpp conftest.$ac_ext" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac - eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no - fi - - rm -f conftest.err conftest.$ac_ext - { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 - echo "${ECHO_T}$ac_header_preproc" >&6; } - - # So? What about this header? - case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 - echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 - echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 - echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5 - echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 - echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5 - echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 - echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 - echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} - ( cat <<\_ASBOX - ## -------------------------------- ## - ## Report this to ra...@um... ## - ## -------------------------------- ## - _ASBOX - ) | sed "s/^/$as_me: WARNING: /" >&2 - ;; - esac - { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 - echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } - if test "${ac_cv_header_openssl_ssl_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_cv_header_openssl_ssl_h=$ac_header_preproc - fi - { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 - echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } - - fi - if test $ac_cv_header_openssl_ssl_h = yes; then - : - else - { { echo "$as_me:$LINENO: error: - header file <openssl/ssl.h> is required for this software. You may be - running RedHat 9. If so, see the FAQ or the README for further instructions. - " >&5 - echo "$as_me: error: - header file <openssl/ssl.h> is required for this software. You may be - running RedHat 9. If so, see the FAQ or the README for further instructions. - " >&2;} - { (exit 1); exit 1; }; } - fi - - { echo "$as_me:$LINENO: checking for pam_start in -lpam" >&5 echo $ECHO_N "checking for pam_start in -lpam... $ECHO_C" >&6; } --- 5313,5316 ---- |
From: Andrew M. <fit...@us...> - 2008-06-07 14:29:06
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv5953 Modified Files: twhich.c Log Message: Silence compiler warning by removing unused variable. Index: twhich.c =================================================================== RCS file: /cvsroot/radmind/radmind/twhich.c,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** twhich.c 19 May 2008 19:19:29 -0000 1.46 --- twhich.c 7 Jun 2008 14:29:02 -0000 1.47 *************** *** 38,42 **** struct transcript *tran; extern struct transcript *tran_head; - extern struct list *special_list; extern struct list *exclude_list; int cmp = 0, match = 0; --- 38,41 ---- |
From: Andrew M. <fit...@us...> - 2008-06-07 14:26:58
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv5046 Modified Files: ktcheck.c lapply.c lfdiff.c Log Message: Eliminate weird casts for string parameters in retr calls. Index: lapply.c =================================================================== RCS file: /cvsroot/radmind/radmind/lapply.c,v retrieving revision 1.145 retrieving revision 1.146 diff -C2 -d -r1.145 -r1.146 *** lapply.c 24 Apr 2008 18:38:24 -0000 1.145 --- lapply.c 7 Jun 2008 14:26:54 -0000 1.146 *************** *** 168,172 **** } } else { ! switch ( retr( sn, pathdesc, path, (char *)&temppath, 0600, strtoofft( targv[ 6 ], NULL, 10 ), cksum_b64 )) { case -1: --- 168,172 ---- } } else { ! switch ( retr( sn, pathdesc, path, temppath, 0600, strtoofft( targv[ 6 ], NULL, 10 ), cksum_b64 )) { case -1: Index: lfdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind/lfdiff.c,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** lfdiff.c 14 Dec 2007 18:52:22 -0000 1.65 --- lfdiff.c 7 Jun 2008 14:26:54 -0000 1.66 *************** *** 391,395 **** } ! if ( retr( sn, pathdesc, path, (char *)&temppath, 0600, -1, "-" ) != 0 ) { exit( 2 ); } --- 391,395 ---- } ! if ( retr( sn, pathdesc, path, temppath, 0600, -1, "-" ) != 0 ) { exit( 2 ); } Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.133 retrieving revision 1.134 diff -C2 -d -r1.133 -r1.134 *** ktcheck.c 7 Jun 2008 00:40:28 -0000 1.133 --- ktcheck.c 7 Jun 2008 14:26:54 -0000 1.134 *************** *** 325,329 **** } ! if ( getstat( sn, (char *)&filedesc, stats ) != 0 ) { return( 1 ); } --- 325,329 ---- } ! if ( getstat( sn, filedesc, stats ) != 0 ) { return( 1 ); } *************** *** 451,455 **** } ! if ( getstat( sn, (char *)&pathdesc, stats ) != 0 ) { return( 2 ); } --- 451,455 ---- } ! if ( getstat( sn, pathdesc, stats ) != 0 ) { return( 2 ); } *************** *** 470,474 **** if ( update ) { if ( !quiet ) { printf( "%s:", path ); fflush( stdout ); } ! if ( retr( sn, pathdesc, path, (char *)&tempfile, 0666, strtoofft( targv[ 6 ], NULL, 10 ), targv[ 7 ] ) != 0 ) { return( 2 ); --- 470,474 ---- if ( update ) { if ( !quiet ) { printf( "%s:", path ); fflush( stdout ); } ! if ( retr( sn, pathdesc, path, tempfile, 0666, strtoofft( targv[ 6 ], NULL, 10 ), targv[ 7 ] ) != 0 ) { return( 2 ); *************** *** 518,522 **** return( 2 ); } ! if ( retr( sn, pathdesc, path, (char *)&tempfile, 0666, strtoofft( targv[ 6 ], NULL, 10 ), targv[ 7 ] ) != 0 ) { return( 2 ); --- 518,522 ---- return( 2 ); } ! if ( retr( sn, pathdesc, path, tempfile, 0666, strtoofft( targv[ 6 ], NULL, 10 ), targv[ 7 ] ) != 0 ) { return( 2 ); |
From: Andrew M. <fit...@us...> - 2008-06-07 00:40:36
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8656 Modified Files: ktcheck.c Log Message: Document ktcheck -I. Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.132 retrieving revision 1.133 diff -C2 -d -r1.132 -r1.133 *** ktcheck.c 29 May 2008 18:13:49 -0000 1.132 --- ktcheck.c 7 Jun 2008 00:40:28 -0000 1.133 *************** *** 681,685 **** if ( err || ( argc - optind != 0 )) { fprintf( stderr, "usage: %s ", argv[ 0 ] ); ! fprintf( stderr, "[ -CinrV ] [ -q | -v ] " ); fprintf( stderr, "[ -c checksum ] [ -D radmind_path ] " ); fprintf( stderr, "[ -K command file ] " ); --- 681,685 ---- if ( err || ( argc - optind != 0 )) { fprintf( stderr, "usage: %s ", argv[ 0 ] ); ! fprintf( stderr, "[ -CIinrV ] [ -q | -v ] " ); fprintf( stderr, "[ -c checksum ] [ -D radmind_path ] " ); fprintf( stderr, "[ -K command file ] " ); |
From: Andrew M. <fit...@us...> - 2008-06-07 00:40:36
|
Update of /cvsroot/radmind/radmind/man In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8656/man Modified Files: ktcheck.1 Log Message: Document ktcheck -I. Index: ktcheck.1 =================================================================== RCS file: /cvsroot/radmind/radmind/man/ktcheck.1,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** ktcheck.1 28 Nov 2007 21:31:03 -0000 1.20 --- ktcheck.1 7 Jun 2008 00:40:30 -0000 1.21 *************** *** 5,9 **** .SH SYNOPSIS .B ktcheck ! .RB [ \-CinrV ] [ .RB \-q\ |\ \-v --- 5,9 ---- .SH SYNOPSIS .B ktcheck ! .RB [ \-CIinrV ] [ .RB \-q\ |\ \-v *************** *** 83,86 **** --- 83,89 ---- .BR _RADMIND_PATH . .TP 19 + .BI \-I + case-insensitive special.T, case-insensitive clean-up. + .TP 19 .BI \-i force output line buffering. |
From: Andrew M. <fit...@us...> - 2008-06-05 00:08:15
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv13160 Modified Files: ra.sh Log Message: ktcheck 1.12 supports -I, so pass it to ktcheck if given. Index: ra.sh =================================================================== RCS file: /cvsroot/radmind/radmind/ra.sh,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** ra.sh 24 Apr 2008 17:43:54 -0000 1.43 --- ra.sh 5 Jun 2008 00:08:07 -0000 1.44 *************** *** 394,398 **** create) # Since create does not modify the system, no need for checkedout ! ktcheck -w ${TLSLEVEL} -h ${SERVER} -n -c sha1 case "$?" in 0) ;; --- 394,398 ---- create) # Since create does not modify the system, no need for checkedout ! ktcheck ${CASE} -w ${TLSLEVEL} -h ${SERVER} -n -c sha1 case "$?" in 0) ;; |
From: Andrew M. <fit...@us...> - 2008-05-29 18:13:53
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18856 Modified Files: ktcheck.c list.c list.h Log Message: -I fully implemented in ktcheck, fixing case-insensitive special.T. Fix: bug 1436097: ktcheck is partially case independent. Added list_insert_case, fixed prototype. Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.131 retrieving revision 1.132 diff -C2 -d -r1.131 -r1.132 *** ktcheck.c 6 May 2008 17:57:30 -0000 1.131 --- ktcheck.c 29 May 2008 18:13:49 -0000 1.132 *************** *** 190,195 **** for ( kcur = khead; kcur != NULL; kcur = kcur->ll_next ) { ! if ( strcmp( cur->ll_name, kcur->ll_name ) == 0 ! || ischild( kcur->ll_name, cur->ll_name )) { match = 1; break; --- 190,198 ---- for ( kcur = khead; kcur != NULL; kcur = kcur->ll_next ) { ! if (( case_sensitive && ! strcmp( cur->ll_name, kcur->ll_name ) == 0 ) || ! ( !case_sensitive && ! strcasecmp( cur->ll_name, kcur->ll_name ) == 0 ) || ! ischildcase( kcur->ll_name, cur->ll_name, case_sensitive)) { match = 1; break; *************** *** 562,566 **** while (( c = getopt( argc, argv, ! "Cc:D:h:iK:np:P:qrvVw:x:y:z:Z:" )) != EOF ) { switch( c ) { case 'C': /* clean up dir containing command.K */ --- 565,569 ---- 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 */ *************** *** 586,589 **** --- 589,596 ---- break; + case 'I': + case_sensitive = 0; + break; + case 'i': setvbuf( stdout, ( char * )NULL, _IOLBF, 0 ); *************** *** 804,810 **** exit( 2 ); } ! if ( !quiet ) printf ( "%s: missing\n", path ); } ! change++; goto done; } --- 811,817 ---- exit( 2 ); } ! if ( !quiet ) printf( "%s: missing\n", path ); } ! change++; goto done; } *************** *** 847,851 **** if ( !quiet ) printf( "%s: updated\n", path ); } else { ! if ( !quiet ) printf ( "%s: out of date\n", path ); if ( unlink( tempfile ) !=0 ) { perror( tempfile ); --- 854,858 ---- if ( !quiet ) printf( "%s: updated\n", path ); } else { ! if ( !quiet ) printf( "%s: out of date\n", path ); if ( unlink( tempfile ) !=0 ) { perror( tempfile ); *************** *** 995,999 **** } else { if ( !list_check( special_list, av[ 1 ] )) { ! if ( list_insert( special_list, av[ 1 ] ) != 0 ) { perror( "list_insert" ); exit( 2 ); --- 1002,1007 ---- } else { if ( !list_check( special_list, av[ 1 ] )) { ! if ( list_insert_case( special_list, av[ 1 ], ! case_sensitive ) != 0 ) { perror( "list_insert" ); exit( 2 ); Index: list.h =================================================================== RCS file: /cvsroot/radmind/radmind/list.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** list.h 3 Nov 2007 15:25:45 -0000 1.7 --- list.h 29 May 2008 18:13:49 -0000 1.8 *************** *** 25,29 **** void list_print( struct list *list ); int list_insert( struct list *list, char *path ); ! int list_insert_case( struct list *list, char *path ); int list_insert_head( struct list *list, char *path ); int list_insert_tail( struct list *list, char *path ); --- 25,30 ---- void list_print( struct list *list ); int list_insert( struct list *list, char *path ); ! int list_insert_case( struct list *list, char *path, ! int case_sensitive ); int list_insert_head( struct list *list, char *path ); int list_insert_tail( struct list *list, char *path ); Index: list.c =================================================================== RCS file: /cvsroot/radmind/radmind/list.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** list.c 29 May 2007 23:17:48 -0000 1.10 --- list.c 29 May 2008 18:13:49 -0000 1.11 *************** *** 81,90 **** int ! list_insert( struct list *list, char *path ) { struct node *new_node, *cur; for ( cur = list->l_head; cur != NULL; cur = cur->n_next ) { ! if ( pathcmp( cur->n_path, path ) > 0 ) { break; } --- 81,90 ---- int ! list_insert_case( struct list *list, char *path, int case_sensitive ) { struct node *new_node, *cur; for ( cur = list->l_head; cur != NULL; cur = cur->n_next ) { ! if ( pathcasecmp( cur->n_path, path, case_sensitive ) > 0 ) { break; } *************** *** 114,117 **** --- 114,123 ---- } + int + list_insert( struct list *list, char *path ) + { + return( list_insert_case( list, path, 1 )); + } + int list_insert_head( struct list *list, char *path ) |
From: Andrew M. <fit...@us...> - 2008-05-19 19:19:36
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv6378 Modified Files: twhich.c Log Message: Fix regression causing twhich to print out bad special file lines. Index: twhich.c =================================================================== RCS file: /cvsroot/radmind/radmind/twhich.c,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** twhich.c 12 May 2008 17:47:45 -0000 1.45 --- twhich.c 19 May 2008 19:19:29 -0000 1.46 *************** *** 42,61 **** int cmp = 0, match = 0; - /* check special list */ - if ( special_list->l_count > 0 ) { - for ( node = list_pop_head( special_list ); node != NULL; - node = list_pop_head( special_list )) { - if ( pathcasecmp( node->n_path, pattern, case_sensitive ) == 0 ) { - printf( "# Special\n" ); - printf( "special.T:\n" ); - printf( "%s\n", node->n_path ); - free( node ); - if ( !displayall ) { - goto done; - } - } - } - } - /* check exclude list */ if ( exclude_list->l_count > 0 ) { --- 42,45 ---- |
From: Patrick M. <ume...@us...> - 2008-05-12 17:47:49
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv5821 Modified Files: twhich.c Log Message: Added -r to usage statement. Index: twhich.c =================================================================== RCS file: /cvsroot/radmind/radmind/twhich.c,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** twhich.c 10 Nov 2007 22:47:00 -0000 1.44 --- twhich.c 12 May 2008 17:47:45 -0000 1.45 *************** *** 191,197 **** if ( err ) { ! fprintf( stderr, "Usage: %s [ -aIV ] [ -K command file ] file\n", argv[ 0 ] ); ! fprintf( stderr, "Usage: %s -s -K command [ -aIV ] file\n", argv[ 0 ] ); exit( 2 ); --- 191,197 ---- if ( err ) { ! fprintf( stderr, "Usage: %s [ -aIrV ] [ -K command file ] file\n", argv[ 0 ] ); ! fprintf( stderr, "Usage: %s -s -K command [ -aIrV ] file\n", argv[ 0 ] ); exit( 2 ); |
From: Patrick M. <ume...@us...> - 2008-05-06 17:57:38
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32118 Modified Files: ktcheck.c Log Message: Fixed a bug where ktcheck -n would not report the correct information or exit with the correct value when the client's special.T file was missing or incorrect. Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.130 retrieving revision 1.131 diff -C2 -d -r1.130 -r1.131 *** ktcheck.c 14 Dec 2007 18:52:22 -0000 1.130 --- ktcheck.c 6 May 2008 17:57:30 -0000 1.131 *************** *** 798,802 **** } if ( !quiet ) printf( "%s: created\n", path ); - change++; } else { /* special.T not updated */ --- 798,801 ---- *************** *** 805,809 **** --- 804,810 ---- exit( 2 ); } + if ( !quiet ) printf ( "%s: missing\n", path ); } + change++; goto done; } *************** *** 846,849 **** --- 847,851 ---- if ( !quiet ) printf( "%s: updated\n", path ); } else { + if ( !quiet ) printf ( "%s: out of date\n", path ); if ( unlink( tempfile ) !=0 ) { perror( tempfile ); *************** *** 852,856 **** } } else { ! /* special.T not updated */ if ( unlink( tempfile ) !=0 ) { perror( tempfile ); --- 854,858 ---- } } else { ! /* local special.T correct */ if ( unlink( tempfile ) !=0 ) { perror( tempfile ); |
From: Andrew M. <fit...@us...> - 2008-04-25 02:20:41
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv19142 Modified Files: repo.c report.c Log Message: Centralize sanity checking of events to report. Index: repo.c =================================================================== RCS file: /cvsroot/radmind/radmind/repo.c,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** repo.c 14 Dec 2007 18:52:22 -0000 1.14 --- repo.c 25 Apr 2008 02:20:37 -0000 1.15 *************** *** 125,143 **** } ! /* Make sure event doesn't contain any white space */ if ( event == NULL ) { err++; - } else { - len = strlen( event ); - if ( len == 0 ) { - err++; - } else { - for ( i = 0; i < len; i++ ) { - if ( isspace( (int)event[ i ] )) { - err++; - break; - } - } - } } --- 125,131 ---- } ! /* repo is useless without an event defined */ if ( event == NULL ) { err++; } Index: report.c =================================================================== RCS file: /cvsroot/radmind/radmind/report.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** report.c 23 Feb 2007 20:21:14 -0000 1.4 --- report.c 25 Apr 2008 02:20:37 -0000 1.5 *************** *** 10,13 **** --- 10,14 ---- #include <sys/time.h> #include <netinet/in.h> + #include <ctype.h> #include <netdb.h> #include <stdio.h> *************** *** 46,49 **** --- 47,69 ---- char *line; char *e_repodata; + int i, len; + + /* sanity check the event */ + if ( event == NULL ) { + fprintf( stderr, "report_event: event must be non-NULL\n" ); + return( 1 ); + } + if (( len = strlen( event )) == 0 ) { + fprintf( stderr, "report_event: invalid zero-length event\n" ); + return( 1 ); + } else { + for ( i = 0; i < len; i++ ) { + if ( isspace(( int )event[ i ] )) { + fprintf( stderr, "report_event: event must not " + "contain whitespace\n" ); + return( 1 ); + } + } + } if (( e_repodata = encode( repodata )) == NULL ) { |
From: Andrew M. <fit...@us...> - 2008-04-24 18:38:34
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29341 Modified Files: lapply.c lcreate.c Log Message: Standardize checking of snprintf return values. Index: lcreate.c =================================================================== RCS file: /cvsroot/radmind/radmind/lcreate.c,v retrieving revision 1.92 retrieving revision 1.93 diff -C2 -d -r1.92 -r1.93 *** lcreate.c 14 Dec 2007 18:52:22 -0000 1.92 --- lcreate.c 24 Apr 2008 18:38:24 -0000 1.93 *************** *** 361,365 **** if ( snprintf( pathdesc, MAXPATHLEN * 2, "STOR TRANSCRIPT %s", ! tname ) > ( MAXPATHLEN * 2 ) - 1 ) { fprintf( stderr, "STOR TRANSCRIPT %s: path description too long\n", tname ); --- 361,365 ---- if ( snprintf( pathdesc, MAXPATHLEN * 2, "STOR TRANSCRIPT %s", ! tname ) >= ( MAXPATHLEN * 2 )) { fprintf( stderr, "STOR TRANSCRIPT %s: path description too long\n", tname ); *************** *** 476,480 **** } else { if ( snprintf( pathdesc, MAXPATHLEN * 2, "STOR FILE %s %s", ! tname, targv[ 1 ] ) > ( MAXPATHLEN * 2 ) - 1 ) { fprintf( stderr, "STOR FILE %s %s: path description too" " long\n", tname, d_path ); --- 476,480 ---- } else { if ( snprintf( pathdesc, MAXPATHLEN * 2, "STOR FILE %s %s", ! tname, targv[ 1 ] ) >= ( MAXPATHLEN * 2 )) { fprintf( stderr, "STOR FILE %s %s: path description too" " long\n", tname, d_path ); Index: lapply.c =================================================================== RCS file: /cvsroot/radmind/radmind/lapply.c,v retrieving revision 1.144 retrieving revision 1.145 diff -C2 -d -r1.144 -r1.145 *** lapply.c 14 Dec 2007 18:52:22 -0000 1.144 --- lapply.c 24 Apr 2008 18:38:24 -0000 1.145 *************** *** 143,147 **** if ( special ) { if ( snprintf( pathdesc, MAXPATHLEN * 2, "SPECIAL %s", ! targv[ 1 ]) > ( MAXPATHLEN * 2 ) - 1 ) { fprintf( stderr, "SPECIAL %s: too long\n", targv[ 1 ]); return( 1 ); --- 143,147 ---- if ( special ) { if ( snprintf( pathdesc, MAXPATHLEN * 2, "SPECIAL %s", ! targv[ 1 ]) >= ( MAXPATHLEN * 2 )) { fprintf( stderr, "SPECIAL %s: too long\n", targv[ 1 ]); return( 1 ); *************** *** 149,153 **** } else { if ( snprintf( pathdesc, MAXPATHLEN * 2, "FILE %s %s", ! transcript, targv[ 1 ]) > ( MAXPATHLEN * 2 ) -1 ) { fprintf( stderr, "FILE %s %s: command too long\n", transcript, targv[ 1 ]); --- 149,153 ---- } else { if ( snprintf( pathdesc, MAXPATHLEN * 2, "FILE %s %s", ! transcript, targv[ 1 ]) >= ( MAXPATHLEN * 2 )) { fprintf( stderr, "FILE %s %s: command too long\n", transcript, targv[ 1 ]); |
From: Andrew M. <fit...@us...> - 2008-04-24 18:32:06
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28135 Modified Files: lmerge.c Log Message: Standardize snprintf return value checks. Index: lmerge.c =================================================================== RCS file: /cvsroot/radmind/radmind/lmerge.c,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** lmerge.c 7 Feb 2006 17:22:17 -0000 1.55 --- lmerge.c 24 Apr 2008 18:32:02 -0000 1.56 *************** *** 348,352 **** } else { if ( snprintf( temp, MAXPATHLEN, "%s/%s", cwd, argv[ argc - 1 ] ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s: path too long\n", cwd, argv[ argc - 1 ] ); --- 348,352 ---- } else { if ( snprintf( temp, MAXPATHLEN, "%s/%s", cwd, argv[ argc - 1 ] ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s: path too long\n", cwd, argv[ argc - 1 ] ); *************** *** 361,365 **** /* Create file/tname dir */ if ( snprintf( npath, MAXPATHLEN, "%s/%s.%d", file_root, tran_name, ! (int)getpid()) > MAXPATHLEN -1 ) { fprintf( stderr, "%s/%s.%d: path too long\n", file_root, tran_name, (int)getpid()); --- 361,365 ---- /* Create file/tname dir */ if ( snprintf( npath, MAXPATHLEN, "%s/%s.%d", file_root, tran_name, ! (int)getpid()) >= MAXPATHLEN ) { fprintf( stderr, "%s/%s.%d: path too long\n", file_root, tran_name, (int)getpid()); *************** *** 374,378 **** /* Create temp transcript/tname file */ if ( snprintf( opath, MAXPATHLEN, "%s/%s.%d", tran_root, tran_name, ! (int)getpid()) > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s.%d: path too long\n", tran_root, tran_name, (int)getpid()); --- 374,378 ---- /* Create temp transcript/tname file */ if ( snprintf( opath, MAXPATHLEN, "%s/%s.%d", tran_root, tran_name, ! (int)getpid()) >= MAXPATHLEN ) { fprintf( stderr, "%s/%s.%d: path too long\n", tran_root, tran_name, (int)getpid()); *************** *** 436,440 **** trans[ j ]->t_file_root, trans[ j ]->t_tran_name, ! trans[ j ]->t_filepath ) > MAXPATHLEN -1 ) { fprintf( stderr, "%s/%s/%s: path too long\n", --- 436,440 ---- trans[ j ]->t_file_root, trans[ j ]->t_tran_name, ! trans[ j ]->t_filepath ) >= MAXPATHLEN ) { fprintf( stderr, "%s/%s/%s: path too long\n", *************** *** 490,494 **** trans[ candidate ]->t_file_root, trans[ fileloc ]->t_tran_name, ! trans[ candidate ]->t_filepath ) > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s/%s: path too long\n", trans[ candidate ]->t_file_root, --- 490,494 ---- trans[ candidate ]->t_file_root, trans[ fileloc ]->t_tran_name, ! trans[ candidate ]->t_filepath ) >= MAXPATHLEN ) { fprintf( stderr, "%s/%s/%s: path too long\n", trans[ candidate ]->t_file_root, *************** *** 501,505 **** trans[ candidate ]->t_file_root, trans[ fileloc ]->t_tran_name, ! trans[ candidate ]->t_filepath ) > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s/%s: path too long\n", trans[ candidate ]->t_file_root, --- 501,505 ---- trans[ candidate ]->t_file_root, trans[ fileloc ]->t_tran_name, ! trans[ candidate ]->t_filepath ) >= MAXPATHLEN ) { fprintf( stderr, "%s/%s/%s: path too long\n", trans[ candidate ]->t_file_root, *************** *** 516,520 **** file_root, tran_name, (int)getpid(), trans[ candidate ]->t_filepath ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s.%d/%s: path too long\n", file_root, tran_name, (int)getpid(), --- 516,520 ---- file_root, tran_name, (int)getpid(), trans[ candidate ]->t_filepath ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s.%d/%s: path too long\n", file_root, tran_name, (int)getpid(), *************** *** 525,529 **** if ( snprintf( npath, MAXPATHLEN, "%s/%s.%d/%s", file_root, tran_name, (int)getpid(), ! trans[ candidate ]->t_filepath ) > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s.%d/%s: path too long\n", file_root, tran_name, (int)getpid(), --- 525,529 ---- if ( snprintf( npath, MAXPATHLEN, "%s/%s.%d/%s", file_root, tran_name, (int)getpid(), ! trans[ candidate ]->t_filepath ) >= MAXPATHLEN ) { fprintf( stderr, "%s/%s.%d/%s: path too long\n", file_root, tran_name, (int)getpid(), *************** *** 535,539 **** if ( snprintf( npath, MAXPATHLEN, "%s/%s/%s", file_root, tran_name, trans[ candidate ]->t_filepath ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s/%s: path too long\n", file_root, tran_name, trans[ candidate ]->t_filepath ); --- 535,539 ---- if ( snprintf( npath, MAXPATHLEN, "%s/%s/%s", file_root, tran_name, trans[ candidate ]->t_filepath ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s/%s: path too long\n", file_root, tran_name, trans[ candidate ]->t_filepath ); *************** *** 555,559 **** file_root, tran_name, (int)getpid(), trans[ candidate ]->t_filepath ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s.%d%s: path too long\n", --- 555,559 ---- file_root, tran_name, (int)getpid(), trans[ candidate ]->t_filepath ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s.%d%s: path too long\n", *************** *** 567,571 **** file_root, tran_name, (int)getpid(), trans[ candidate ]->t_filepath ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s.%d/%s: path too long\n", --- 567,571 ---- file_root, tran_name, (int)getpid(), trans[ candidate ]->t_filepath ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s.%d/%s: path too long\n", *************** *** 580,584 **** "%s/%s%s", file_root, tran_name, trans[ candidate ]->t_filepath ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s%s: path too long\n", file_root, --- 580,584 ---- "%s/%s%s", file_root, tran_name, trans[ candidate ]->t_filepath ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s%s: path too long\n", file_root, *************** *** 590,594 **** "%s/%s/%s", file_root, tran_name, trans[ candidate ]->t_filepath ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s/%s: path too long\n", file_root, --- 590,594 ---- "%s/%s/%s", file_root, tran_name, trans[ candidate ]->t_filepath ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s/%s: path too long\n", file_root, *************** *** 671,675 **** if ( !force ) { if ( snprintf( opath, MAXPATHLEN, "%s/%s.%d", file_root, ! tran_name, (int)getpid()) > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s.%d: path too long\n", file_root, tran_name, (int)getpid()); --- 671,675 ---- if ( !force ) { if ( snprintf( opath, MAXPATHLEN, "%s/%s.%d", file_root, ! tran_name, (int)getpid()) >= MAXPATHLEN ) { fprintf( stderr, "%s/%s.%d: path too long\n", file_root, tran_name, (int)getpid()); *************** *** 677,681 **** } if ( snprintf( npath, MAXPATHLEN, "%s/%s", file_root, tran_name ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s: path too long\n", file_root, tran_name ); exit( 2 ); --- 677,681 ---- } if ( snprintf( npath, MAXPATHLEN, "%s/%s", file_root, tran_name ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s: path too long\n", file_root, tran_name ); exit( 2 ); *************** *** 687,691 **** } if ( snprintf( opath, MAXPATHLEN, "%s/%s.%d", tran_root, tran_name, ! (int)getpid()) > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s.%d: path too long\n", tran_root, tran_name, (int)getpid()); --- 687,691 ---- } if ( snprintf( opath, MAXPATHLEN, "%s/%s.%d", tran_root, tran_name, ! (int)getpid()) >= MAXPATHLEN ) { fprintf( stderr, "%s/%s.%d: path too long\n", tran_root, tran_name, (int)getpid()); *************** *** 693,697 **** } if ( snprintf( npath, MAXPATHLEN, "%s/%s", tran_root, tran_name ) ! > MAXPATHLEN - 1 ) { fprintf( stderr, "%s/%s: path too long\n", tran_root, tran_name ); exit( 2 ); --- 693,697 ---- } if ( snprintf( npath, MAXPATHLEN, "%s/%s", tran_root, tran_name ) ! >= MAXPATHLEN ) { fprintf( stderr, "%s/%s: path too long\n", tran_root, tran_name ); exit( 2 ); |
From: Andrew M. <fit...@us...> - 2008-04-24 17:44:10
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv11060 Modified Files: ra.sh Log Message: Accepted patch: [ 1716642 ] ra.sh "alternate root" option Index: ra.sh =================================================================== RCS file: /cvsroot/radmind/radmind/ra.sh,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** ra.sh 1 Apr 2008 13:39:05 -0000 1.42 --- ra.sh 24 Apr 2008 17:43:54 -0000 1.43 *************** *** 33,36 **** --- 33,37 ---- DEFAULTS="/etc/defaults/radmind" FSDIFFROOT="." + DEFAULTWORKDIR="/" FLAG="_RADMIND_DIR/client/.RadmindRunning" CHECKEDOUT="_RADMIND_DIR/client/.CheckedOut" *************** *** 87,91 **** usage() { ! $ECHO "Usage: $0 [ -ctV ] [ -h server ] [ -w authlevel ] { trip | update | create | auto | force | checkout | checkin } [ /path/or/file ]" >&2 exit 1 } --- 88,92 ---- usage() { ! $ECHO "Usage: $0 [ -ctV ] [ -D working-directory ] [ -h server ] [ -w authlevel ] { trip | update | create | auto | force | checkout | checkin } [ /path/or/file ]" >&2 exit 1 } *************** *** 280,284 **** fi ! while getopts %ch:Ilqr:tU:Vw: opt; do case $opt in %) PROGRESS="-%" --- 281,285 ---- fi ! while getopts %cD:h:Ilqr:tU:Vw: opt; do case $opt in %) PROGRESS="-%" *************** *** 292,295 **** --- 293,299 ---- ;; + D) WORKDIR="$OPTARG" + ;; + h) SERVER="$OPTARG" ;; *************** *** 330,334 **** fi ! cd / if [ ! -d "${RASHTMP}" ]; then --- 334,338 ---- fi ! cd "${WORKDIR:-$DEFAULTWORKDIR}" if [ ! -d "${RASHTMP}" ]; then |
From: Andrew M. <fit...@us...> - 2008-04-24 17:44:05
|
Update of /cvsroot/radmind/radmind/man In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv11060/man Modified Files: rash.1 Log Message: Accepted patch: [ 1716642 ] ra.sh "alternate root" option Index: rash.1 =================================================================== RCS file: /cvsroot/radmind/radmind/man/rash.1,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** rash.1 26 Mar 2007 18:56:54 -0000 1.5 --- rash.1 24 Apr 2008 17:43:54 -0000 1.6 *************** *** 8,11 **** --- 8,13 ---- .BI -%cltV ] [ + .BI \-D\ workingdir + ] [ .BI \-h\ server ] [ *************** *** 101,104 **** --- 103,111 ---- use sha1 checksums. .TP 19 + .BI \-D\ workingdir + change to + .I workingdir + before running. Default is "/". + .TP 19 .BI \-h\ hostname specifies the radmind server, by default |
From: Wes C. <wes...@us...> - 2008-04-02 02:26:52
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv4231 Modified Files: wildcard.c Log Message: fix bug in {} matching reported by <la...@so...> improved [] processing Index: wildcard.c =================================================================== RCS file: /cvsroot/radmind/radmind/wildcard.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** wildcard.c 4 Aug 2006 15:21:11 -0000 1.11 --- wildcard.c 2 Apr 2008 02:26:46 -0000 1.12 *************** *** 1,4 **** /* ! * Copyright (c) 2003 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ --- 1,4 ---- /* ! * Copyright (c) 2008 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ *************** *** 15,20 **** { int min, max; ! int i, match; ! char *tmp; for (;;) { --- 15,20 ---- { int min, max; ! int i, len; ! char *comma, *end; for (;;) { *************** *** 73,171 **** case '[' : ! wild++; ! match = 0; ! ! while ( isalnum((int)*wild )) { ! if ( *wild == *p ) { ! match = 1; ! break; } - wild++; } ! if ( *wild != ']' ) { ! while ( *wild ) { ! if ( *wild == ']' ) { ! break; ! } ! wild++; ! } ! if ( *wild == '\0' ) { ! return( 0 ); } } ! p++; ! wild++; ! ! if ( match == 0 ) { return( 0 ); } - break; ! case '{' : wild++; ! tmp = p; ! match = 1; ! ! while ( *wild == ',' ) wild++; ! while ( isprint((int)*wild )) { ! if ( *wild == ',' ) { ! if ( match ) { ! break; ! } ! ! match = 1; ! wild++; ! p = tmp; ! } ! while ( *wild == ',' ) wild++; ! if ( *wild == '}' ) { ! break; ! } ! if ( sensitive ) { ! if ( *wild != *p ) { ! match = 0; ! } ! } else { ! if ( tolower( *wild ) != tolower( *p )) { ! match = 0; ! } ! } ! ! if ( !match ) { ! /* find next , or } or NUL */ ! while ( *wild ) { ! wild++; ! if ( *wild == ',' || *wild == '}' ) { ! break; ! } ! } ! } else { ! wild++, p++; } } ! if ( !match ) { ! return( 0 ); ! } ! /* verify remaining format */ ! if ( *wild != '}' ) { ! while ( *wild ) { ! if ( *wild == '}' ) { ! break; } - wild++; } ! if ( *wild == '\0' ) { ! return( 0 ); } ! } ! if ( *wild++ != '}' ) { ! return( 0 ); ! } ! ! break; case '\\' : --- 73,127 ---- case '[' : ! for ( wild++; *wild != ']'; wild++ ) { ! if ( sensitive ) { ! if ( *wild != *p ) break; ! } else { ! if ( tolower(*wild) != tolower(*p) ) break; } } ! if ( *wild == ']' ) { ! return( 0 ); ! } ! for ( ; *wild; wild++ ) { ! if ( *wild == ']' ) { ! break; } } ! if ( *wild == '\0' ) { return( 0 ); } ! p++; wild++; ! break; ! case '{' : ! comma = wild; ! for ( end = wild + 1; *end != '}'; end++ ) { ! if ( *end == '{' || *end == '\0' ) { ! /* malformed pattern */ ! return( 0 ); } } + end++; ! do { ! for ( wild = ++comma; *comma != ',' && *comma != '}'; comma++ ) ! ; ! len = comma - wild; ! for ( i = 0; i < len; i++ ) { ! if ( sensitive ) { ! if ( wild[ i ] != p[ i ] ) break; ! } else { ! if ( tolower( wild[ i ] ) != tolower( p[ i ] )) break; } } ! if ( i >= len && wildcard( end, &p[ i ], sensitive )) { ! return( 1 ); } ! } while ( *comma != '}' ); ! return( 0 ); case '\\' : *************** *** 173,183 **** default : if ( sensitive ) { ! if ( *wild != *p ) { ! return( 0 ); ! } } else { ! if ( tolower(*wild) != tolower(*p) ) { ! return( 0 ); ! } } if ( *wild == '\0' ) { --- 129,135 ---- default : if ( sensitive ) { ! if ( *wild != *p ) return( 0 ); } else { ! if ( tolower(*wild) != tolower(*p) ) return( 0 ); } if ( *wild == '\0' ) { |