Changeset 4691
- Timestamp:
- Aug 1, 2005, 4:03:32 AM (21 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 10 edited
-
dvo/Makefile (modified) (1 diff)
-
mana/Makefile (modified) (1 diff)
-
pantasks/LocalJob.c (modified) (2 diffs)
-
pantasks/Makefile (modified) (1 diff)
-
pclient/Makefile (modified) (3 diffs)
-
pclient/job.c (modified) (2 diffs)
-
pclient/pclient.c (modified) (1 diff)
-
pcontrol/Makefile (modified) (3 diffs)
-
pcontrol/pcontrol.c (modified) (1 diff)
-
scripts/sched.pro (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/Makefile
r4689 r4691 159 159 rm -f $(HOME)/$*/help/*~ 160 160 rm -f $(HOME)/$*/help/#* 161 cp $(HOME)/$*/help/* $(DESTHLP)/161 for i in `find $(HOME)/$*/help -type f -maxdepth 1`; do cp -f $$i $(DESTHLP); done 162 162 163 163 ## -*- makefile -*- -
trunk/Ohana/src/opihi/mana/Makefile
r4689 r4691 111 111 rm -f $(HOME)/$*/help/*~ 112 112 rm -f $(HOME)/$*/help/#* 113 cp $(HOME)/$*/help/* $(DESTHLP)/113 for i in `find $(HOME)/$*/help -type f -maxdepth 1`; do cp -f $$i $(DESTHLP); done -
trunk/Ohana/src/opihi/pantasks/LocalJob.c
r4689 r4691 102 102 int result, waitstatus; 103 103 104 fprintf (stderr, "checking on %d\n", job[0].pid);105 106 104 /* check local job status */ 107 105 result = waitpid (job[0].pid, &waitstatus, WNOHANG); … … 137 135 exit (1); 138 136 } 139 fprintf (stderr, "waited for %d\n", result);140 141 137 if (WIFEXITED(waitstatus)) { 142 138 job[0].state = JOB_EXIT; -
trunk/Ohana/src/opihi/pantasks/Makefile
r4689 r4691 133 133 rm -f $(HOME)/$*/help/*~ 134 134 rm -f $(HOME)/$*/help/#* 135 cp $(HOME)/$*/help/* $(DESTHLP)/135 for i in `find $(HOME)/$*/help -type f -maxdepth 1`; do cp -f $$i $(DESTHLP); done -
trunk/Ohana/src/opihi/pclient/Makefile
r4689 r4691 18 18 LFLAGS = -L$(LLIB) -L$(LIB) 19 19 LIBS1 = -lFITS -lsocket -lnsl -lreadline -ltermcap -lohana -lm 20 LIBS2 = -lbasiccmd -l datacmd -lshell -ldata20 LIBS2 = -lbasiccmd -lshell -ldata 21 21 LIBS = $(LIBS2) $(LIBS1) 22 22 CFLAGS = $(INCS) … … 42 42 libs = \ 43 43 $(DESTLIB)/libbasiccmd.a \ 44 $(DESTLIB)/libdatacmd.a \45 44 $(DESTLIB)/libshell.a \ 46 45 $(DESTLIB)/libdata.a … … 112 111 rm -f $(HOME)/$*/help/*~ 113 112 rm -f $(HOME)/$*/help/#* 114 cp $(HOME)/$*/help/* $(DESTHLP)/113 for i in `find $(HOME)/$*/help -type f -maxdepth 1`; do cp -f $$i $(DESTHLP); done -
trunk/Ohana/src/opihi/pclient/job.c
r4573 r4691 27 27 targv[i-1] = strcreate (argv[i]); 28 28 } 29 targv[i ] = 0;29 targv[i-1] = 0; 30 30 31 31 pid = fork (); 32 32 if (!pid) { /* must be child process */ 33 fprintf (stderr, "starting child process %s...\n", argv[1]);33 fprintf (stderr, "starting child process %s...\n", targv[0]); 34 34 35 35 /* close the other ends of the pipes */ … … 53 53 exit (1); 54 54 } 55 56 /* free temporary arg list */ 57 for (i = 0; i < argc - 1; i++) { 58 free (targv[i]); 59 } 60 free (targv); 55 61 56 62 /* close the other ends of the pipes */ -
trunk/Ohana/src/opihi/pclient/pclient.c
r4689 r4691 29 29 /* load the commands used by this implementation */ 30 30 InitBasic (); 31 InitData ();32 31 InitOutfile (); 33 32 InitPclient (); -
trunk/Ohana/src/opihi/pcontrol/Makefile
r4689 r4691 18 18 LFLAGS = -L$(LLIB) -L$(LIB) 19 19 LIBS1 = -lFITS -lsocket -lnsl -lreadline -ltermcap -lohana -lm 20 LIBS2 = -lbasiccmd -l datacmd -lshell -ldata20 LIBS2 = -lbasiccmd -lshell -ldata 21 21 LIBS = $(LIBS2) $(LIBS1) 22 22 CFLAGS = $(INCS) -DHELPDIR_DEFAULT=$(DESTHLP) … … 62 62 libs = \ 63 63 $(DESTLIB)/libbasiccmd.a \ 64 $(DESTLIB)/libdatamd.a \65 64 $(DESTLIB)/libshell.a \ 66 65 $(DESTLIB)/libdata.a … … 132 131 rm -f $(HOME)/$*/help/*~ 133 132 rm -f $(HOME)/$*/help/#* 134 cp $(HOME)/$*/help/* $(DESTHLP)/133 for i in `find $(HOME)/$*/help -type f -maxdepth 1`; do cp -f $$i $(DESTHLP); done -
trunk/Ohana/src/opihi/pcontrol/pcontrol.c
r4689 r4691 29 29 /* load the commands used by this implementation */ 30 30 InitBasic (); 31 InitData ();32 31 InitOutfile (); 33 32 InitPcontrol (); -
trunk/Ohana/src/opihi/scripts/sched.pro
r4602 r4691 1 1 2 # controller host localhost 2 controller host alala 3 3 4 4 task test
Note:
See TracChangeset
for help on using the changeset viewer.
