From 153a95a33852a1e7b4c9ff1f6e67798cfa493073 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Sat, 3 Jan 1998 05:12:10 +0000 Subject: added printout of file list to stderr so you know what files you need to copy to your printer$ share (This used to be commit bdfa5c709986051e78198c68c5a90358fdfa780e) --- source3/utils/make_printerdef.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3') diff --git a/source3/utils/make_printerdef.c b/source3/utils/make_printerdef.c index 6f605c41f8..ef890163f0 100644 --- a/source3/utils/make_printerdef.c +++ b/source3/utils/make_printerdef.c @@ -190,6 +190,7 @@ void scan_copyfiles(FILE *fichier, char *chaine) #ifdef DEBUGIT fprintf(stderr,"In scan_copyfiles Lookup up of %s\n",chaine); #endif + fprintf(stderr,"\nCopy the following files to your printer$ share location:\n"); part=strtok(chaine,","); do { /* If the entry start with a @ then it's a file to copy @@ -201,6 +202,7 @@ void scan_copyfiles(FILE *fichier, char *chaine) if (strlen(files_to_copy) != 0) strcat(files_to_copy,","); strcat(files_to_copy,&part[1]); + fprintf(stderr,"%s\n",&part[1]); } else { lookup_entry(fichier,part); i=0; @@ -219,12 +221,14 @@ void scan_copyfiles(FILE *fichier, char *chaine) strcat(files_to_copy,","); strcat(files_to_copy,direc); strcat(files_to_copy,buffer[i]); + fprintf(stderr,"%s%s\n",direc,buffer[i]); i++; } } part=strtok(NULL,","); } while (part!=NULL); + fprintf(stderr,"\n"); } -- cgit