Skip to content

Commit 362fc8b

Browse files
authored
Merge pull request #3161 from masatake/cherry-pick-rootkea-s-work
Cherry picking changes from #3161
2 parents d8fa0d6 + 50607bf commit 362fc8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ AC_PROG_LN_S
350350
AC_CHECK_PROG(STRIP, strip, strip, :)
351351
AC_SYS_LARGEFILE
352352

353-
AC_CHECK_PROGS([perl_found], [perl], [yes], [no])
353+
AC_CHECK_PROG([perl_found], [perl], [yes], [no])
354354
AM_CONDITIONAL([RUN_OPTLIB2C], [test "${perl_found}" = "yes"])
355355
AM_CONDITIONAL([RUN_TXT2CSTR], [test "${perl_found}" = "yes"])
356356

main/args.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ static char* nextFileLine (FILE* const fp)
145145
c = ungetc (c, fp);
146146
}
147147
vStringStripTrailing (vs);
148-
result = xMalloc (vStringLength (vs) + 1, char);
149148
vStringStripLeading (vs);
149+
result = xMalloc (vStringLength (vs) + 1, char);
150150
strcpy (result, vStringValue (vs));
151151
}
152152
vStringDelete (vs);

0 commit comments

Comments
 (0)