git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a855eb
)
s4:ntvfs/posix/pvfs_streams - Fix "discard const" warning
author
Matthias Dieter Wallnöfer
<mwallnoefer@yahoo.de>
Fri, 20 Nov 2009 11:00:28 +0000
(12:00 +0100)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 3 Dec 2009 10:46:31 +0000
(21:46 +1100)
I removed one "const" in front of a string declaration to achieve this.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/ntvfs/posix/vfs_posix.h
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/vfs_posix.h
b/source4/ntvfs/posix/vfs_posix.h
index 508dbb02dc80a0867faffde5da3f0ad48f33608a..7341d0d9ca40bd06e793c3fb98857e57f9e329cc 100644
(file)
--- a/
source4/ntvfs/posix/vfs_posix.h
+++ b/
source4/ntvfs/posix/vfs_posix.h
@@
-126,7
+126,7
@@
struct pvfs_dos_fileinfo {
struct pvfs_filename {
char *original_name;
char *full_name;
- c
onst c
har *stream_name; /* does not include :$DATA suffix */
+ char *stream_name; /* does not include :$DATA suffix */
uint32_t stream_id; /* this uses a hash, so is probabilistic */
bool has_wildcard;
bool exists; /* true if the base filename exists */