Changeset 3517
- Timestamp:
- Mar 25, 2005, 6:27:08 PM (21 years ago)
- Location:
- trunk/Ohana/src
- Files:
-
- 10 edited
-
addspphot/src/parse_time.c (modified) (1 diff)
-
addstar/Makefile (modified) (1 diff)
-
addstar/src/parse_time.c (modified) (1 diff)
-
delstar/src/parse_time.c (modified) (1 diff)
-
libautocode/def/common.h (modified) (1 diff)
-
libohana/include/dvo.h (modified) (2 diffs)
-
libohana/src/findexec.c (modified) (1 diff)
-
mosastro/src/parse_time.c (modified) (1 diff)
-
opihi/include/dvo1.h (modified) (1 diff)
-
photdbc/src/check_directory.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addspphot/src/parse_time.c
r2461 r3517 117 117 118 118 } 119 120 void uppercase (char *string) {121 122 int i;123 124 for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);125 126 } -
trunk/Ohana/src/addstar/Makefile
r3416 r3517 50 50 $(SRC)/load_pt_catalog.$(ARCH).o \ 51 51 $(SRC)/load_subpix.$(ARCH).o \ 52 $(SRC)/make_backup.$(ARCH).o \53 52 $(SRC)/mkcatalog.$(ARCH).o \ 54 53 $(SRC)/opening_angle.$(ARCH).o \ -
trunk/Ohana/src/addstar/src/parse_time.c
r3339 r3517 120 120 121 121 } 122 123 void uppercase (char *string) {124 125 int i;126 127 for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);128 129 } -
trunk/Ohana/src/delstar/src/parse_time.c
r2463 r3517 117 117 118 118 } 119 120 uppercase (char *string) {121 122 int i;123 124 for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);125 126 } -
trunk/Ohana/src/libautocode/def/common.h
r3515 r3517 1 # include <ohana.h> 1 # include <stdio.h> 2 # include <stdarg.h> 3 # include <fitsio.h> 4 5 # ifndef TRUE 6 # define TRUE (1) 7 # define FALSE (0) 8 # endif 2 9 3 10 # define SWAP_BYTE(X) \ -
trunk/Ohana/src/libohana/include/dvo.h
r3516 r3517 1 2 # ifndef DVO_H 3 # define DVO_H 1 4 2 5 # define ELIXIR 1 … … 148 151 int ByteSwap (char *ptr, int size, int nitems, char *type); 149 152 int ConvertStruct (char *buffer, int size, int Nbytes, char *type); 153 154 # endif -
trunk/Ohana/src/libohana/src/findexec.c
r3508 r3517 263 263 if (status) { 264 264 fprintf (stderr, "ERROR: unable to create %s~, exiting\n", filename); 265 exit ( 0);265 exit (1); 266 266 } 267 267 cmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH; -
trunk/Ohana/src/mosastro/src/parse_time.c
r3401 r3517 119 119 120 120 } 121 122 void uppercase (char *string) {123 124 int i;125 126 for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);127 128 } -
trunk/Ohana/src/opihi/include/dvo1.h
r3462 r3517 6 6 # include "data.h" 7 7 8 # ifndef DVO _H9 # define DVO _H8 # ifndef DVO1_H 9 # define DVO1_H 10 10 11 11 /* magnitude types */ -
trunk/Ohana/src/photdbc/src/check_directory.c
r2494 r3517 41 41 } 42 42 } 43 44 /* uses cp only */45 make_backup (char *filename) {46 47 int status, cmode;48 struct stat filestat;49 char line [256];50 51 status = stat (filename, &filestat);52 if (status == 0) { /* file exists, make backup copy */53 sprintf (line, "cp %s %s~\0", filename, filename);54 status = system (line);55 if (status) {56 fprintf (stderr, "ERROR: unable to create %s~, exiting\n", filename);57 exit (1);58 }59 cmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;60 sprintf (line, "%s~\0", filename);61 chmod (line, cmode);62 }63 64 }
Note:
See TracChangeset
for help on using the changeset viewer.
