projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix logic bug introduced on 2007-05-06.
[gnulib.git]
/
lib
/
javaexec.c
diff --git
a/lib/javaexec.c
b/lib/javaexec.c
index
1294d7f
..
eb40d2b
100644
(file)
--- a/
lib/javaexec.c
+++ b/
lib/javaexec.c
@@
-1,5
+1,5
@@
/* Execute a Java program.
/* Execute a Java program.
- Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006
-2007
Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
@@
-30,7
+30,7
@@
#include "classpath.h"
#include "xsetenv.h"
#include "sh-quote.h"
#include "classpath.h"
#include "xsetenv.h"
#include "sh-quote.h"
-#include "
path
name.h"
+#include "
file
name.h"
#include "xalloc.h"
#include "xallocsa.h"
#include "error.h"
#include "xalloc.h"
#include "xallocsa.h"
#include "error.h"
@@
-95,7
+95,7
@@
execute_java_class (const char *class_name,
/* First, try a class compiled to a native code executable. */
if (exe_dir != NULL)
{
/* First, try a class compiled to a native code executable. */
if (exe_dir != NULL)
{
- char *exe_pathname = concatenated_
path
name (exe_dir, class_name, EXEEXT);
+ char *exe_pathname = concatenated_
file
name (exe_dir, class_name, EXEEXT);
char *old_classpath;
char **argv = (char **) xallocsa ((1 + nargs + 1) * sizeof (char *));
unsigned int i;
char *old_classpath;
char **argv = (char **) xallocsa ((1 + nargs + 1) * sizeof (char *));
unsigned int i;