1
1

* file.c (do_file_error): Add const qualifier. (query_recursive):

Likewise. (query_replace): Likewise.
Этот коммит содержится в:
Roland Illig 2004-10-16 15:38:47 +00:00
родитель 5d5237e557
Коммит a02c4b593f
2 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,8 @@
2004-10-16 Roland Illig <roland.illig@gmx.de>
* file.c (do_file_error): Add const qualifier. (query_recursive):
Likewise. (query_replace): Likewise.
2004-10-13 Jindrich Novy <jnovy@redhat.com> 2004-10-13 Jindrich Novy <jnovy@redhat.com>
* util.c (strip_password): Add "/#sh:". * util.c (strip_password): Add "/#sh:".

Просмотреть файл

@ -2259,19 +2259,19 @@ query_replace (FileOpContext *ctx, const char *destname, struct stat *_s_stat,
#else #else
static int static int
do_file_error (char *str) do_file_error (const char *str)
{ {
return real_do_file_error (Foreground, str); return real_do_file_error (Foreground, str);
} }
static int static int
query_recursive (FileOpContext *ctx, char *s) query_recursive (FileOpContext *ctx, const char *s)
{ {
return real_query_recursive (ctx, Foreground, s); return real_query_recursive (ctx, Foreground, s);
} }
static int static int
query_replace (FileOpContext *ctx, char *destname, struct stat *_s_stat, query_replace (FileOpContext *ctx, const char *destname, struct stat *_s_stat,
struct stat *_d_stat) struct stat *_d_stat)
{ {
return file_progress_real_query_replace (ctx, Foreground, destname, return file_progress_real_query_replace (ctx, Foreground, destname,