Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 66641 Details for
Bug 103164
samba 3.0.20 released, but some components are broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/015_all_samba-3.0.20-vscan-fileaccesslog.patch
015_all_samba-3.0.20-vscan-fileaccesslog.patch (text/plain), 1.73 KB, created by
Christian Andreetta (RETIRED)
on 2005-08-23 05:35:01 UTC
(
hide
)
Description:
files/015_all_samba-3.0.20-vscan-fileaccesslog.patch
Filename:
MIME Type:
Creator:
Christian Andreetta (RETIRED)
Created:
2005-08-23 05:35:01 UTC
Size:
1.73 KB
patch
obsolete
>--- samba-vscan-0.3.6/global/vscan-fileaccesslog.c 2004/09/24 21:42:20 >+++ samba-vscan-0.3.6/global/vscan-fileaccesslog.c 2005/07/13 14:58:43 >@@ -1,4 +1,4 @@ >-/* $Id: vscan-fileaccesslog.c,v 1.8.2.3 2004/09/24 21:42:20 reniar Exp $ >+/* $Id: vscan-fileaccesslog.c,v 1.8.2.4 2005/07/13 14:58:43 reniar Exp $ > * > * File Access Log - stores information about LRU files > * >@@ -128,7 +128,7 @@ > * > */ > struct lrufiles_struct *lrufiles_add(pstring fname, time_t mtime, BOOL infected) { >- struct lrufiles_struct *new, *tmp, *found = NULL; >+ struct lrufiles_struct *new_entry, *tmp, *found = NULL; > > /* check if lru file access was disabled by setting the corresponding > value in the configuration file to zero (or below zero) */ >@@ -150,15 +150,15 @@ > return found; > } else { > DEBUG(10, ("alloc space for file entry '%s'\n", fname)); >- new = (struct lrufiles_struct *)malloc(sizeof(*new)); >- if (!new) return NULL; >+ new_entry = (struct lrufiles_struct *)malloc(sizeof(*new_entry)); >+ if (!new_entry) return NULL; > >- ZERO_STRUCTP(new); >+ ZERO_STRUCTP(new_entry); > >- pstrcpy(new->fname, fname); >- new->mtime = mtime; >- new->infected = infected; >- new->time_added = time(NULL); >+ pstrcpy(new_entry->fname, fname); >+ new_entry->mtime = mtime; >+ new_entry->infected = infected; >+ new_entry->time_added = time(NULL); > > /* reached maximum? */ > if ( lrufiles_count == lrufiles_max_entries ) { >@@ -170,12 +170,12 @@ > } > > DEBUG(10, ("adding new entry to list...\n")); >- DLIST_ADD_END(Lrufiles, new, tmp); >- LrufilesEnd = new; >+ DLIST_ADD_END(Lrufiles, new_entry, tmp); >+ LrufilesEnd = new_entry; > lrufiles_count++; > DEBUG(10, ("entry '%s' added, count '%d'\n", fname, lrufiles_count)); > >- return new; >+ return new_entry; > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 103164
:
66534
|
66535
|
66536
|
66537
|
66569
|
66573
|
66640
| 66641 |
66642
|
66945