diff options
author | Jeremy Allison <jra@samba.org> | 1998-07-10 20:03:09 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-07-10 20:03:09 +0000 |
commit | 5f4be1498f7c907a539fe9b5998dfbcaa9e20e20 (patch) | |
tree | 00b678a000f536a5cfa1fddaf15b2ae4ea01780e /source/lib/util.c | |
parent | 7a8d0a4ed4e07090bfe776b5544712274d2426e4 (diff) | |
download | samba-5f4be1498f7c907a539fe9b5998dfbcaa9e20e20.tar.gz samba-5f4be1498f7c907a539fe9b5998dfbcaa9e20e20.tar.xz samba-5f4be1498f7c907a539fe9b5998dfbcaa9e20e20.zip |
Fix for bug PR#8294 reported by <detlef.lammermann@er.materna.de>
- the Files array was storing the 'dos_to_unix' translated name,
rather than the untranslated name. This could case problems when
the name was run through dos_to_unix again.
Jeremy.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 750ca0f3ab4..2bd7636fb06 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -234,7 +234,7 @@ static void check_log_size(void) pstring name; fclose(dbf); dbf = NULL; slprintf(name,sizeof(name)-1,"%s.old",debugf); - sys_rename(debugf,name); + rename(debugf,name); reopen_logs(); } } |