Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
msc
sextractor
Commits
37680dba
Commit
37680dba
authored
Sep 06, 2022
by
Emmanuel Bertin
Browse files
Propagated fix #22: removed extra space in TDIM strings.
parent
019377bd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/fits/fitshead.c
View file @
37680dba
...
...
@@ -7,7 +7,7 @@
*
* This file part of: AstrOmatic FITS/LDAC library
*
* Copyright: (C) 1995-20
19
IAP/CNRS/SorbonneU
* Copyright: (C) 1995-20
22
IAP/CNRS/SorbonneU
*
* License: GNU General Public License
*
...
...
@@ -23,7 +23,7 @@
* along with AstrOmatic software.
* If not, see <http://www.gnu.org/licenses/>.
*
* Last modified:
04/12
/20
19
* Last modified:
11/03
/20
22
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
...
...
@@ -354,8 +354,8 @@ PURPOSE Update a FITS header according to what's in the table.
INPUT Table structure.
OUTPUT RETURN_OK if tab is a binary table, or RETURN_ERROR otherwise.
NOTES The headbuf pointer in the tabstruct might be reallocated.
AUTHOR E. Bertin (IAP
& Leiden observatory
)
VERSION 11/0
6
/20
07
AUTHOR E. Bertin (IAP
/CNRS/SorbonneU
)
VERSION 11/0
3
/20
22
***/
int
update_head
(
tabstruct
*
tab
)
...
...
@@ -451,7 +451,7 @@ int update_head(tabstruct *tab)
str2lim
=
str
+
70
;
/* Prevent an excessively large string */
for
(
n
=
0
;
n
<
key
->
naxis
&&
str2
<
str2lim
;
n
++
)
{
sprintf
(
str2
,
n
?
",
%d%n"
:
"%d%n"
,
key
->
naxisn
[
n
],
&
j
);
sprintf
(
str2
,
n
?
",%d%n"
:
"%d%n"
,
key
->
naxisn
[
n
],
&
j
);
str2
+=
j
;
}
sprintf
(
str2
,
")"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment