projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'unicase/u16-is-uppercase'.
[gnulib.git]
/
lib
/
progreloc.c
diff --git
a/lib/progreloc.c
b/lib/progreloc.c
index
0eaad38
..
a79ef7a
100644
(file)
--- a/
lib/progreloc.c
+++ b/
lib/progreloc.c
@@
-1,5
+1,5
@@
/* Provide relocatable programs.
/* Provide relocatable programs.
- Copyright (C) 2003-200
8
Free Software Foundation, Inc.
+ Copyright (C) 2003-200
9
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
@@
-196,10
+196,10
@@
find_executable (const char *argv0)
#endif
#if HAVE_MACH_O_DYLD_H && HAVE__NSGETEXECUTABLEPATH
/* On MacOS X 10.2 or newer, the function
#endif
#if HAVE_MACH_O_DYLD_H && HAVE__NSGETEXECUTABLEPATH
/* On MacOS X 10.2 or newer, the function
- int _NSGetExecutablePath (char *buf, u
nsigned long
*bufsize);
+ int _NSGetExecutablePath (char *buf, u
int32_t
*bufsize);
can be used to retrieve the executable's full path. */
char location[4096];
can be used to retrieve the executable's full path. */
char location[4096];
- unsigned
long
length = sizeof (location);
+ unsigned
int
length = sizeof (location);
if (_NSGetExecutablePath (location, &length) == 0
&& location[0] == '/')
return canonicalize_file_name (location);
if (_NSGetExecutablePath (location, &length) == 0
&& location[0] == '/')
return canonicalize_file_name (location);