Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d2c55
)
Call my_strdup() instead of strdup().
author
David Griffith
<dave@661.org>
Thu, 31 Jan 2019 15:37:15 +0000
(07:37 -0800)
committer
David Griffith
<dave@661.org>
Thu, 31 Jan 2019 15:37:15 +0000
(07:37 -0800)
src/dumb/dumb_input.c
patch
|
blob
|
history
diff --git
a/src/dumb/dumb_input.c
b/src/dumb/dumb_input.c
index 601c0367f9031947b28ee1ce2a08410bdb06a590..d01c150984e722e2ad9cf17507c54d3f012e9762 100644
(file)
--- a/
src/dumb/dumb_input.c
+++ b/
src/dumb/dumb_input.c
@@
-430,7
+430,7
@@
int os_read_file_name (char *file_name, const char *default_name, int flag)
break;
}
}
- tempname = strdup(default_name + i);
+ tempname =
my_
strdup(default_name + i);
sprintf(prompt, "Please enter a filename [%s]: ", tempname);
} else
sprintf(prompt, "Please enter a filename [%s]: ", default_name);