cvs commit: ALFS/nALFS/src/handlers check.c chroot.c configure.c copy.c download.c execute.c link.c log.c make.c mkdir.c move.c owner.c ownership.c package.c patch.c permissions.c remove.c search_replace.c setenv.c stage.c stamp.c su.c textdump.c unpack.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Thu Nov 6 09:01:13 PST 2003


kpfleming    03/11/06 10:01:13

  Modified:    nALFS/src nprint.h win.h
               nALFS/src/handlers check.c chroot.c configure.c copy.c
                        download.c execute.c link.c log.c make.c mkdir.c
                        move.c owner.c ownership.c package.c patch.c
                        permissions.c remove.c search_replace.c setenv.c
                        stage.c stamp.c su.c textdump.c unpack.c
  Log:
  add logging.h to nprint.h for log_handler_action()
  remove logging.h from win.h
  handlers no longer need to use win.h, can use nprint.h instead and avoid bringing in all the curses/window stuff
  
  Revision  Changes    Path
  1.2       +2 -0      ALFS/nALFS/src/nprint.h
  
  Index: nprint.h
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/nprint.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- nprint.h	6 Nov 2003 16:57:41 -0000	1.1
  +++ nprint.h	6 Nov 2003 17:01:13 -0000	1.2
  @@ -24,6 +24,8 @@
   #ifndef H_NPRINT_
   #define H_NPRINT_
   
  +#include "logging.h"
  +
   
   /*
    * Types of messages.  They are also used as message_types[] indexes.
  
  
  
  1.7       +0 -1      ALFS/nALFS/src/win.h
  
  Index: win.h
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/win.h,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- win.h	6 Nov 2003 16:57:41 -0000	1.6
  +++ win.h	6 Nov 2003 17:01:13 -0000	1.7
  @@ -27,7 +27,6 @@
   
   #include <curses.h>
   
  -#include "logging.h"
   #include "nprint.h"
   
   
  
  
  
  1.10      +1 -1      ALFS/nALFS/src/handlers/check.c
  
  Index: check.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/check.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- check.c	4 Nov 2003 19:42:51 -0000	1.9
  +++ check.c	6 Nov 2003 17:01:13 -0000	1.10
  @@ -29,7 +29,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   #include "nalfs-core.h"
  
  
  
  1.12      +1 -1      ALFS/nALFS/src/handlers/chroot.c
  
  Index: chroot.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/chroot.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- chroot.c	4 Nov 2003 19:42:51 -0000	1.11
  +++ chroot.c	6 Nov 2003 17:01:13 -0000	1.12
  @@ -38,7 +38,7 @@
   
   #include "handlers.h"
   #include "parser.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "utility.h"
   #include "nalfs-core.h"
   #include "backend.h"
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/configure.c
  
  Index: configure.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/configure.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- configure.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ configure.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -36,7 +36,7 @@
   #include "handlers.h"
   #include "utility.h"
   #include "parser.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "backend.h"
   
   
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/copy.c
  
  Index: copy.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/copy.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- copy.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ copy.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -35,7 +35,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/download.c
  
  Index: download.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/download.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- download.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ download.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -39,7 +39,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "nalfs-core.h"
   #include "backend.h"
  
  
  
  1.14      +1 -1      ALFS/nALFS/src/handlers/execute.c
  
  Index: execute.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/execute.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- execute.c	4 Nov 2003 19:42:51 -0000	1.13
  +++ execute.c	6 Nov 2003 17:01:13 -0000	1.14
  @@ -34,7 +34,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/link.c
  
  Index: link.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/link.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- link.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ link.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -34,7 +34,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.12      +1 -1      ALFS/nALFS/src/handlers/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/log.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- log.c	4 Nov 2003 19:42:51 -0000	1.11
  +++ log.c	6 Nov 2003 17:01:13 -0000	1.12
  @@ -31,7 +31,7 @@
   #include <nALFS.h>
   
   #include "handlers.h"
  -#include "win.h"
  +#include "nprint.h"
   
   
   #if HANDLER_SYNTAX_2_0 || HANDLER_SYNTAX_3_0
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/make.c
  
  Index: make.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/make.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- make.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ make.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -35,7 +35,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/mkdir.c
  
  Index: mkdir.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/mkdir.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- mkdir.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ mkdir.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -35,7 +35,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/move.c
  
  Index: move.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/move.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- move.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ move.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -35,7 +35,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.12      +1 -1      ALFS/nALFS/src/handlers/owner.c
  
  Index: owner.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/owner.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- owner.c	4 Nov 2003 19:42:51 -0000	1.11
  +++ owner.c	6 Nov 2003 17:01:13 -0000	1.12
  @@ -35,7 +35,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.9       +1 -1      ALFS/nALFS/src/handlers/ownership.c
  
  Index: ownership.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/ownership.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ownership.c	4 Nov 2003 19:42:51 -0000	1.8
  +++ ownership.c	6 Nov 2003 17:01:13 -0000	1.9
  @@ -32,7 +32,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.12      +1 -1      ALFS/nALFS/src/handlers/package.c
  
  Index: package.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/package.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- package.c	4 Nov 2003 19:42:51 -0000	1.11
  +++ package.c	6 Nov 2003 17:01:13 -0000	1.12
  @@ -37,7 +37,7 @@
   #include "parser.h"
   #include "backend.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   
   
   #if HANDLER_SYNTAX_2_0
  
  
  
  1.13      +1 -1      ALFS/nALFS/src/handlers/patch.c
  
  Index: patch.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/patch.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- patch.c	4 Nov 2003 19:42:51 -0000	1.12
  +++ patch.c	6 Nov 2003 17:01:13 -0000	1.13
  @@ -35,7 +35,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/permissions.c
  
  Index: permissions.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/permissions.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- permissions.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ permissions.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -35,7 +35,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.12      +1 -1      ALFS/nALFS/src/handlers/remove.c
  
  Index: remove.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/remove.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- remove.c	4 Nov 2003 19:42:51 -0000	1.11
  +++ remove.c	6 Nov 2003 17:01:13 -0000	1.12
  @@ -37,7 +37,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.12      +1 -1      ALFS/nALFS/src/handlers/search_replace.c
  
  Index: search_replace.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/search_replace.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- search_replace.c	4 Nov 2003 19:42:51 -0000	1.11
  +++ search_replace.c	6 Nov 2003 17:01:13 -0000	1.12
  @@ -38,7 +38,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.11      +1 -1      ALFS/nALFS/src/handlers/setenv.c
  
  Index: setenv.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/setenv.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- setenv.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ setenv.c	6 Nov 2003 17:01:13 -0000	1.11
  @@ -34,7 +34,7 @@
   #include <nALFS.h>
   
   #include "handlers.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "utility.h"
   
  
  
  
  1.12      +1 -1      ALFS/nALFS/src/handlers/stage.c
  
  Index: stage.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/stage.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- stage.c	4 Nov 2003 19:42:51 -0000	1.11
  +++ stage.c	6 Nov 2003 17:01:13 -0000	1.12
  @@ -41,7 +41,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "nalfs-core.h"
   #include "backend.h"
  
  
  
  1.10      +1 -1      ALFS/nALFS/src/handlers/stamp.c
  
  Index: stamp.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/stamp.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- stamp.c	4 Nov 2003 19:42:51 -0000	1.9
  +++ stamp.c	6 Nov 2003 17:01:13 -0000	1.10
  @@ -30,7 +30,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  
  1.12      +1 -1      ALFS/nALFS/src/handlers/su.c
  
  Index: su.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/su.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- su.c	4 Nov 2003 19:42:51 -0000	1.11
  +++ su.c	6 Nov 2003 17:01:13 -0000	1.12
  @@ -42,7 +42,7 @@
   
   #include "handlers.h"
   #include "parser.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "nalfs-core.h"
   #include "backend.h"
   #include "utility.h"
  
  
  
  1.13      +1 -1      ALFS/nALFS/src/handlers/textdump.c
  
  Index: textdump.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/textdump.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- textdump.c	4 Nov 2003 19:42:51 -0000	1.12
  +++ textdump.c	6 Nov 2003 17:01:13 -0000	1.13
  @@ -36,7 +36,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   
   
  
  
  
  1.17      +1 -1      ALFS/nALFS/src/handlers/unpack.c
  
  Index: unpack.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/unpack.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- unpack.c	4 Nov 2003 19:42:51 -0000	1.16
  +++ unpack.c	6 Nov 2003 17:01:13 -0000	1.17
  @@ -37,7 +37,7 @@
   
   #include "handlers.h"
   #include "utility.h"
  -#include "win.h"
  +#include "nprint.h"
   #include "parser.h"
   #include "backend.h"
   
  
  
  



More information about the alfs-log mailing list