summaryrefslogtreecommitdiff
path: root/source3/lib/time.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-02-13 07:11:58 +0000
committerJeremy Allison <jra@samba.org>1998-02-13 07:11:58 +0000
commit2beada804a238534628398f62fe4ed9e8d2c3efd (patch)
treee937dec5b1d4b46d1d9e5cfd7b747ef550bb2db5 /source3/lib/time.c
parentc04291ae995b65935ef9581bfd95eebaf4354c1d (diff)
downloadsamba-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/time.c')
-rw-r--r--source3/lib/time.c14
1 files changed, 0 insertions, 14 deletions
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;
-}