Changeset 40549 for trunk/Ohana/src/opihi
- Timestamp:
- Oct 20, 2018, 8:58:31 PM (8 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 4 edited
-
cmd.basic/module.c (modified) (1 diff)
-
cmd.data/imspline_apply.c (modified) (1 diff)
-
cmd.data/imspline_construct.c (modified) (1 diff)
-
dvo/dvo_host_utils.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.basic/module.c
r12332 r40549 23 23 /* search for requested file in MODULES:0 - MODULES:n */ 24 24 for (i = 0; i < Nmodules; i++) { 25 snprintf (modname, 16, "MODULES:%d", i);25 snprintf_nowarn (modname, 16, "MODULES:%d", i); 26 26 modpath = get_variable (modname); 27 27 if (modpath == NULL) { -
trunk/Ohana/src/opihi/cmd.data/imspline_apply.c
r34584 r40549 47 47 gfits_create_matrix (&out[0].header, &out[0].matrix); 48 48 if ((y1[0].file[0] != '*') && (y1[0].file[0] != '(')) { 49 s printf (out[0].file, "*%s", y1[0].file);49 snprintf_nowarn (out[0].file, OPIHI_NAME_SIZE, "*%s", y1[0].file); 50 50 } else { 51 s printf (out[0].file, "%s", y1[0].file);51 snprintf_nowarn (out[0].file, OPIHI_NAME_SIZE, "%s", y1[0].file); 52 52 } 53 53 -
trunk/Ohana/src/opihi/cmd.data/imspline_construct.c
r34584 r40549 19 19 free (out[0].matrix.buffer); 20 20 if ((in[0].file[0] != '*') && (in[0].file[0] != '(')) { 21 s printf (out[0].file, "*%s", in[0].file);21 snprintf_nowarn (out[0].file, OPIHI_NAME_SIZE, "*%s", in[0].file); 22 22 } else { 23 s printf (out[0].file, "%s", in[0].file);23 snprintf_nowarn (out[0].file, OPIHI_NAME_SIZE, "%s", in[0].file); 24 24 } 25 25 out[0].bitpix = in[0].bitpix; -
trunk/Ohana/src/opihi/dvo/dvo_host_utils.c
r40408 r40549 13 13 int TIME = time(NULL); 14 14 int PID = getpid(); 15 snprintf (uniquer, 12, "%05d.%05d", PID, TIME % 100000);15 snprintf_nowarn (uniquer, 12, "%05d.%05d", PID, TIME % 100000); 16 16 17 17 // write the dvo comment (host independent)
Note:
See TracChangeset
for help on using the changeset viewer.
