summaryrefslogtreecommitdiffstats
path: root/source/lib/time.c
Commit message (Collapse)AuthorAgeFilesLines
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-091-1/+1
| | | | Jeremy.
* r23357: timespec_current() was returning the wrong ns timeJeremy Allison2007-06-051-1/+1
| | | | | (multiplying tv_sec, not tv_usec). Jeremy.
* r23041: Remainder of fix for 4630: fix special case of unix_to_nt_time() forJim McDonough2007-05-211-2/+10
| | | | TIME_T_MAX, and also display of it in http_timestring()
* r23006: Arg. Fix stupid typo in 64-bit path.Jeremy Allison2007-05-181-1/+1
| | | | Jeremy.
* r23005: If we're running on a system where time_t is 8 bytesJeremy Allison2007-05-181-0/+31
| | | | | | | | we have to take care to preserve the "special" values for Windows of 0x80000000 and 0x7FFFFFFF when casting between time_t and uint32. Add conversion functions (and use them). Jeremy.
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-03-051-31/+113
| | | | | | | | | | for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
* r21637: Get "password never expires" account policy working.Jim McDonough2007-03-011-3/+9
| | | | | 0x8000000000000000LL is "infinity" to NT and should not be converted numerically to time_t.
* r21060: Start refactoring out the non-return case statementsJeremy Allison2007-01-301-8/+8
| | | | | into functions. Jeremy.
* r20695: Remove duplication of constants.Jeremy Allison2007-01-121-11/+2
| | | | Jeremy.
* r20694: To get this right we need to do signed 64-bitJeremy Allison2007-01-121-7/+7
| | | | | | | comparisons here, not unsigned as we're eventually casting into what it normall a signed 32 bit value. Guenther please check (but I think I'm right here). Jeremy.
* r20692: Fix bug found by Guenther -Jeremy Allison2007-01-121-1/+1
| | | | | | | | | | | | | | | Just try to log on in offline mode without the fix: all accounts are expired, although they are set to never expire in the PAC/info3. NTTIME "Never" needs to get (time_t) -1. We were casting a uint64 to time_t before comparing, and we should have been doing it the other way around. Guenther please check this fixes things. Jeremy.
* r19806: merge time.c changesGerald Carter2006-11-201-641/+916
|
* r16254: pulling klocwork fixes for 3.0.23rc3 (current up to r16251)Gerald Carter2006-06-151-6/+32
|
* r16104: Set version to 3.0.23rc2Gerald Carter2006-06-081-1/+0
| | | | | Bring release tree up to current 3.0 tree (svn merge -r15845:16103 $SVNURL/branches/SAMBA_3_0)
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-6/+0
|
* r13427: Fix ctime -> st_ctime.Jeremy Allison2006-02-101-1/+1
| | | | Jeremy.
* r13423: Write wrapper functions (and configure tests) so we canJeremy Allison2006-02-101-0/+102
| | | | | | | always assume we can get a struct timespec out of a stat struct. This will allow us to portably move to nsec timestamps on files and directories in the file server code in future. Jeremy.
* r13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)Volker Lendecke2006-02-041-7/+21
| | | | | | | | | | Implement 'net rpc shell account' -- An editor for account policies nt_time_to_unix_abs changed its argument which to me seems wrong, and I could not find a caller that depends on this. So I changed it. Applied some more const in time.c. Volker
* r11530: Add the "time offset" parameter back in for people whoJeremy Allison2005-11-061-1/+1
| | | | | might use it. Jeremy.
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2005-11-051-243/+233
| | | | | | | | | | | | | | | | of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-0/+138
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r8946: Some casts to fix warnings when time_t is an unsigned type. Fixes Tim Potter2005-08-021-3/+3
| | | | bugzilla #1888 and #1894.
* r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2005-05-311-1/+1
| | | | version to 3.0.20pre1
* r6014: rather large change set....Gerald Carter2005-03-231-0/+22
| | | | | | | | | | | | | | pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon).
* r5343: Fix for bug#1525. Timestamps interpreted incorrectly on 64-bit time_t ↵Jeremy Allison2005-02-111-0/+7
| | | | | | values. Jeremy.
* r5342: Reformat some very old code.Jeremy Allison2005-02-111-256/+281
| | | | Jeremy.
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-071-2/+1
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r1085: Now it's had some proper user testing, merge in the deferred open ↵Jeremy Allison2004-06-081-0/+6
| | | | | | | | fix. I'm still doing more testing, but it fixes a behaviour that we've been wrong on ever since the start of Samba. Jeremy.
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+756
metze