- Timestamp:
- Jan 31, 2023, 10:55:31 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20220316/Ohana/src/misc/src/fakecmp.c
r27435 r42343 81 81 line[80] = 0; 82 82 bzero (keyword, 10); 83 strncpy (keyword, line, 8);83 strncpy_nowarn (keyword, line, 8); 84 84 85 85 /* replace existing keywords, unless this is a COMMENT or HISTORY field */ … … 87 87 p = gfits_header_field (&header, keyword, 1); 88 88 if (p != (char *) NULL) { 89 strncpy (p, line, 80);89 strncpy_nowarn (p, line, 80); 90 90 continue; 91 91 } … … 106 106 107 107 /* insert the new line here */ 108 strncpy (p, line, 80);108 strncpy_nowarn (p, line, 80); 109 109 } 110 110
Note:
See TracChangeset
for help on using the changeset viewer.
