From: Kern S. <ke...@us...> - 2006-04-11 16:23:40
|
Update of /cvsroot/bacula/bacula/src/findlib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13461/src/findlib Modified Files: find.c find.h Log Message: 11Apr06 - More work on migration. - Implement wild program in tools directory for testing wild-cards. Almost identical to the regex program. - Up port VSS single thread locking code. - Replace N_(..) by NT_(...) to inhibit translation of commands. - Modify Makefile to change the permissions on Working Directory to 770 if the directory is created. - Do not fail the Makefile if changing the permissions or owner/group on WorkingDir fails. - Remove early selection of Scratch Volumes in the recycling algorithm. - Correct the old recycling algorithm so that Scratch Volumes are selected when looking for a Volume in the changer. - Correct a typo in the Verify SQL reported by Joe Park. 10Apr06 - Remove automatic case folding on Windows FDs. You must explictly use the 'Ignore Case = yes' option. - Remove the code added to 1.38.6 and 1.38.7 that pulls a scratch volume in an Autochanger early in the 'recycling' algorithm. Index: find.h =================================================================== RCS file: /cvsroot/bacula/bacula/src/findlib/find.h,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- find.h 17 Jan 2006 06:26:20 -0000 1.48 +++ find.h 11 Apr 2006 16:23:37 -0000 1.49 @@ -4,7 +4,7 @@ * Kern Sibbald MMI */ /* - Copyright (C) 2001-2005 Kern Sibbald + Copyright (C) 2001-2006 Kern Sibbald This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -170,7 +170,7 @@ * first argument to the find_files callback subroutine. */ struct FF_PKT { - char *fname; /* filename */ + char *fname; /* full filename */ char *link; /* link if file linked */ POOLMEM *sys_fname; /* system filename */ struct stat statp; /* stat packet */ Index: find.c =================================================================== RCS file: /cvsroot/bacula/bacula/src/findlib/find.c,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- find.c 22 Jul 2005 20:29:59 -0000 1.42 +++ find.c 11 Apr 2006 16:23:37 -0000 1.43 @@ -10,7 +10,7 @@ * Version $Id$ */ /* - Copyright (C) 2000-2005 Kern Sibbald + Copyright (C) 2000-2006 Kern Sibbald This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -38,13 +38,7 @@ static int our_callback(FF_PKT *ff, void *hpkt, bool top_level); static bool accept_file(FF_PKT *ff); -/* Fold case in fnmatch() on Win32 */ -#ifdef WIN32 -static const int fnmode = FNM_CASEFOLD; -#else static const int fnmode = 0; -#endif - /* * Initialize the find files "global" variables |