diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-08-29 00:13:30 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-08-29 00:13:30 +0000 |
commit | cfef3177180c99b411d632ddb043cebff4548d1c (patch) | |
tree | 688084a19fb4b22ab97b5707529c88458a9af33b /Build/source/utils/autosp/autosp-src/status.c | |
parent | 4b4b6fe61666a7f2def3e72ed0fb2a6a8d2f7c4c (diff) |
autosp 2019-08-26
git-svn-id: svn://tug.org/texlive/trunk@51980 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/autosp/autosp-src/status.c')
-rw-r--r-- | Build/source/utils/autosp/autosp-src/status.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/utils/autosp/autosp-src/status.c b/Build/source/utils/autosp/autosp-src/status.c index 400c14188b3..422bb2798c5 100644 --- a/Build/source/utils/autosp/autosp-src/status.c +++ b/Build/source/utils/autosp/autosp-src/status.c @@ -2,10 +2,7 @@ char *ps(int spacing) /* convert spacing value to note value(s) */ -{ char *s = malloc(SHORT_LEN); - char *s_n; - if (s == NULL) error ("Not enough memory"); - s_n = s; +{ s_n = s; *s = '\0'; if (spacing == MAX_SPACING) sprintf(s, "MAX_SPACING"); @@ -57,6 +54,8 @@ status_spacing (void) { fprintf (logfile, "spacing=%s\n", ps(spacing)); fprintf (logfile, "old_spacing=%s\n", ps(old_spacing)); + fprintf (logfile, "spacing_staff=%d\n", spacing_staff); + fprintf (logfile, "oldspacing_staff=%d\n", oldspacing_staff); } void |