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 | 1e4b0268aa3b5021b72c17d54c846e575952e625 (patch) | |
tree | 789b1cccfba9e26ee9fa5be264616377777e36c8 /source3/lib | |
parent | ddb7b8a3d6cb03a36ab23816b76c7b0c16c0ab37 (diff) | |
download | samba-1e4b0268aa3b5021b72c17d54c846e575952e625.tar.gz samba-1e4b0268aa3b5021b72c17d54c846e575952e625.tar.bz2 samba-1e4b0268aa3b5021b72c17d54c846e575952e625.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.
(This used to be commit 5f4be1498f7c907a539fe9b5998dfbcaa9e20e20)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 750ca0f3ab..2bd7636fb0 100644 --- a/source3/lib/util.c +++ b/source3/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(); } } |