From 2beada804a238534628398f62fe4ed9e8d2c3efd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 13 Feb 1998 07:11:58 +0000 Subject: 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) --- source3/lib/time.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source3/lib/time.c') 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; -} -- cgit