Changeset 33404
- Timestamp:
- Mar 4, 2012, 4:39:40 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/Ohana/src/photdbc
- Files:
-
- 1 added
- 4 edited
-
Makefile (modified) (1 diff)
-
include/dvodist.h (modified) (2 diffs)
-
src/FixSkyForHost.c (added)
-
src/dvodist.c (modified) (1 diff)
-
src/initialize_dvodist.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/photdbc/Makefile
r33365 r33404 43 43 $(SRC)/CopyToHostLocation.$(ARCH).o \ 44 44 $(SRC)/CopyFromHostLocation.$(ARCH).o \ 45 $(SRC)/FixSkyForHost.$(ARCH).o \ 45 46 $(SRC)/PclientCommands.$(ARCH).o 46 47 -
branches/eam_branches/ipp-20111122/Ohana/src/photdbc/include/dvodist.h
r33365 r33404 14 14 MODE_OUT = 1, 15 15 MODE_IN = 2, 16 MODE_FIX = 3, 16 17 } ModeType; 17 18 … … 44 45 int PclientResponse (HostInfo *host, char *response, IOBuffer *buffer); 45 46 int PclientCommand (HostInfo *host, char *command, IOBuffer *buffer); 47 48 int FixSkyForHost (char *catdir, SkyList *skylist, HostTable *table); -
branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/dvodist.c
r33368 r33404 43 43 CopyFromHostLocation (catdir, skylist, hosts); 44 44 break; 45 case MODE_FIX: 46 FixSkyForHost (catdir, skylist, hosts); 47 break; 45 48 default: 46 49 fprintf (stderr, "impossible!"); -
branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/initialize_dvodist.c
r33223 r33404 73 73 remove_argument (N, &argc, argv); 74 74 } 75 if ((N = get_argument (argc, argv, "-fix"))) { 76 if (MODE) { 77 fprintf (stderr, "ERROR: cannot use -fix with -in or -out options!\n"); 78 usage(); 79 } 80 MODE = MODE_FIX; 81 remove_argument (N, &argc, argv); 82 } 75 83 if (!MODE) usage(); 76 84
Note:
See TracChangeset
for help on using the changeset viewer.
