projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de79ee4
)
Fix const cast in get_progname().
author
Bruce Momjian
<
[email protected]
>
Wed, 1 Feb 2006 12:42:30 +0000
(12:42 +0000)
committer
Bruce Momjian
<
[email protected]
>
Wed, 1 Feb 2006 12:42:30 +0000
(12:42 +0000)
Backpatch.
src/port/path.c
patch
|
blob
|
blame
|
history
diff --git
a/src/port/path.c
b/src/port/path.c
index 715f4e595613ce149ae85454f1bba8ec2dd4219d..d396af5e289cbe39475154a44c54b7e15954b152 100644
(file)
--- a/
src/port/path.c
+++ b/
src/port/path.c
@@
-303,7
+303,7
@@
const char *
get_progname(const char *argv0)
{
const char *nodir_name;
- c
onst char
*progname;
+ c
har
*progname;
nodir_name = last_dir_separator(argv0);
if (nodir_name)