820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
|
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
|
-
+
|
z[j] = 0;
return j;
}
/*
** COMMAND: test-simplify-name
**
** %fossil test-simplify-name FILENAME...
** Usage: %fossil test-simplify-name FILENAME...
**
** Print the simplified versions of each FILENAME.
*/
void cmd_test_simplify_name(void){
int i;
char *z;
for(i=2; i<g.argc; i++){
|
921
922
923
924
925
926
927
928
929
930
931
932
933
934
|
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
|
+
|
#endif
blob_resize(pOut, file_simplify_name(blob_buffer(pOut),
blob_size(pOut), slash));
}
/*
** COMMAND: test-canonical-name
**
** Usage: %fossil test-canonical-name FILENAME...
**
** Test the operation of the canonical name generator.
** Also test Fossil's ability to measure attributes of a file.
*/
void cmd_test_canonical_name(void){
int i;
|