diff options
author | Jeremy Allison <jra@samba.org> | 1998-02-13 07:11:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-02-13 07:11:58 +0000 |
commit | 2beada804a238534628398f62fe4ed9e8d2c3efd (patch) | |
tree | e937dec5b1d4b46d1d9e5cfd7b747ef550bb2db5 /source3/lib | |
parent | c04291ae995b65935ef9581bfd95eebaf4354c1d (diff) | |
download | samba-2beada804a238534628398f62fe4ed9e8d2c3efd.tar.gz samba-2beada804a238534628398f62fe4ed9e8d2c3efd.tar.bz2 samba-2beada804a238534628398f62fe4ed9e8d2c3efd.zip |
Ding-dong the witch is dead, the witch is dead......
This is the checkin that fixes the infamous Visual C++ 'file
has changed' bug.
I feel *SO* good about that :-).
charset.c: Added (void) to fix Herb's fussy compiler.
loadparm.c: Removed "win95 bug compatibility" (didn't
like it much anyway :-). Added "dos filetime resolution"
instead.
reply.c: Added the 2 second timestamp resolution fix that the song above is about.
time.c: Removed unneeded get_access_time() function.
trans2.c : Removed unneeded "win95 bug compatibility" code.
Jeremy.
(This used to be commit 10d628e4aeaecc573de27e251fec7b91844cba40)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/charset.c | 2 | ||||
-rw-r--r-- | source3/lib/time.c | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/source3/lib/charset.c b/source3/lib/charset.c index 74e3a8f358..79a82f8587 100644 --- a/source3/lib/charset.c +++ b/source3/lib/charset.c @@ -145,7 +145,7 @@ static void add_dos_char(int lower, BOOL map_lower_to_upper, /**************************************************************************** initialise the charset arrays ****************************************************************************/ -void charset_initialise() +void charset_initialise(void) { int i; diff --git a/source3/lib/time.c b/source3/lib/time.c index 81e3dcfd8f..f60af60c7a 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -499,17 +499,3 @@ time_t get_create_time(struct stat *st) */ return ret; } - -/**************************************************************************** - return the 'access time' under UNIX from a stat structure. - This function exists to allow modifications to be done depending - on what we want to return. Just return the normal atime (for now). -****************************************************************************/ - -time_t get_access_time(struct stat *st) -{ - if (lp_win95_bug_compatibility()) - return st->st_mtime; - else - return st->st_atime; -} |