aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdtime
Commit message (Collapse)AuthorAgeFilesLines
...
* | $Id$ -> $FreeBSD$Peter Wemm1999-08-2810-10/+10
| | | | | | | | Notes: svn path=/head/; revision=50476
* | Add $Id$ tag.Chris Costello1999-08-141-0/+2
| | | | | | | | Notes: svn path=/head/; revision=49754
* | Bad reference time(2) changed to time(3)Chris Costello1999-08-141-1/+1
| | | | | | | | Notes: svn path=/head/; revision=49753
* | Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48794
* | Make the new %Z addition thread-safe.David E. O'Brien1999-07-061-19/+49
| | | | | | | | Notes: svn path=/head/; revision=48614
* | Actually impliment the documented %Z specifier.David E. O'Brien1999-07-042-2/+44
| | | | | | | | Notes: svn path=/head/; revision=48550
* | Spell the .St macro correctly.Steve Price1999-06-071-1/+1
| | | | | | | | | | | | | | PR: 11704 Notes: svn path=/head/; revision=47812
* | Re-fixed to start at 1969 per the actual Posix requirement. AlsoWes Peters1999-04-252-7/+7
| | | | | | | | | | | | | | fixed a typo on the man page. Notes: svn path=/head/; revision=46051
* | Bring two-digit years up-to-date with POSIX requirements.Wes Peters1999-04-252-2/+12
| | | | | | | | | | | | | | | | | | | | | | 70-00 are intepreted in the 20th century; 01-69 in the 21st century. (Yes, 2000 is the last year of the 20th century, not the first year of the 21st.) Submitted by: Sergey Babkin <babkin@bellatlantic.net> Notes: svn path=/head/; revision=46042
* | Merge from vendor branch: timezone file structure changes and doco.Garrett Wollman1999-01-213-25/+45
| | | | | | | | | | | | | | | | | | Fix localtime.c to deal with new magic number field. Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz Notes: svn path=/head/; revision=42989
* | Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.Dmitrij Tejblum1999-01-042-13/+4
| | | | | | | | Notes: svn path=/head/; revision=42293
* | Add STANDARDS section.Garrett Wollman1999-01-031-6/+37
| | | | | | | | | | | | | | | | s/bytes/characters/g to be consistent with Standard C terminology. Update date and add RCS Id. Notes: svn path=/head/; revision=42259
* | Fix grammar in the description of timegm() by totally rewriting it. RemoveGarrett Wollman1999-01-031-20/+29
| | | | | | | | | | | | | | | | a potentally inflammatory comment from BUGS, and add a more useful comment about the lack of reentrancy in the timezone-setting interface. Notes: svn path=/head/; revision=42257
* | Added documenation for the existing implementation of asctime_r,Wes Peters1998-12-201-0/+35
| | | | | | | | | | | | | | ctime_r, gmtime_r, and localtime_r. Notes: svn path=/head/; revision=41951
* | Replace memory leaking instances of realloc with non-leaking reallocf.Warner Losh1998-09-162-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases replace if (a == null) a = malloc(x); else a = realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is guaranteed to be the same thing. I've been running these on my system here w/o ill effects for some time. However, the CTM-express is at part 6 of 34 for the CAM changes, so I've not been able to do a build world with the CAM in the tree with these changes. Shouldn't impact anything, but... Notes: svn path=/head/; revision=39327
* | Change return type of strptime from const char* to char*.Dmitrij Tejblum1998-09-122-5/+5
| | | | | | | | | | | | | | const char* was wrong and nonstandard. Notes: svn path=/head/; revision=39113
* | Fixed printf format errors. Don't assume so many things about time_t.Bruce Evans1998-06-301-20/+16
| | | | | | | | | | | | | | | | | | Obtained from: partial merge of ADO version tzcode96h (was fully merged in 1.10 but backed out in 1.11; the FreeBSD code for %s was earlier, prettier but buggier). Notes: svn path=/head/; revision=37299
* | Fix grammar, "null" -> "NUL"Daniel O'Callaghan1998-06-101-5/+5
| | | | | | | | Notes: svn path=/head/; revision=36854
* | Remove 'of type long' from a sentence talking about four 4-byte valuesJohn Birrell1998-05-101-2/+1
| | | | | | | | | | | | | | because that is wrong on alpha. Notes: svn path=/head/; revision=35922
* | Make asctime_r static if !_THREAD_SAFE to prevent namespace pollution andAndrey A. Chernov1998-04-251-0/+7
| | | | | | | | | | | | | | prototype mismatch Notes: svn path=/head/; revision=35436
* | Add a #ifdef _THREAD_SAFE around ctime_rPoul-Henning Kamp1998-04-201-0/+2
| | | | | | | | Notes: svn path=/head/; revision=35331
* | Describe timegm()Andrey A. Chernov1998-04-202-5/+16
| | | | | | | | Notes: svn path=/head/; revision=35322
* | ctime_r and asctime_r are not implemented.Poul-Henning Kamp1998-04-192-3/+21
| | | | | | | | | | | | | | | | | | | | | | prototypes in time.h do not match POSIX. PR: 6345 Reviewed by: phk Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru> Notes: svn path=/head/; revision=35285
* | Change in name of the static initializer define.John Birrell1998-04-041-4/+4
| | | | | | | | Notes: svn path=/head/; revision=35026
* | Submitted by: Jeremy Allison (jallison@whistle.com)Julian Elischer1998-02-181-3/+5
| | | | | | | | | | | | | | | | | | fix a slight confusion about which draft of threads we are supporting. this allows something as big and ugly as samba to be compiled with libc_r and still work! our user-level pthreads seems amazingly robust! Notes: svn path=/head/; revision=33527
* | Typo.Wolfgang Helbig1997-10-261-1/+1
| | | | | | | | Notes: svn path=/head/; revision=30728
* | Sorted lists.Bruce Evans1997-10-211-4/+3
| | | | | | | | Notes: svn path=/head/; revision=30624
* | Removed the subdirectory paths from the definitions of MAN[1-9]. TheyBruce Evans1997-10-151-5/+4
| | | | | | | | | | | | | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago. Notes: svn path=/head/; revision=30447
* | Merged in better support of ISO 8601 from elsie.nci.nih.gov.Wolfgang Helbig1997-10-032-62/+118
| | | | | | | | | | | | | | | | Added the conversion specifiers %g and %G, that are replaced by the year which contains the greater part of the week in question. Notes: svn path=/head/; revision=30089
* | environmental -> environment.Philippe Charnier1997-09-181-1/+1
| | | | | | | | Notes: svn path=/head/; revision=29563
* | Add unsigned char cast to all ctype callsAndrey A. Chernov1997-08-131-27/+27
| | | | | | | | Notes: svn path=/head/; revision=28164
* | Import strptime(3) into libc. We've got permission by Kevin Ruddy toJoerg Wunsch1997-08-097-495/+646
| | | | | | | | | | | | | | | | | | | | | | modify the original `no modifications' copyright message, and i've included his mail into the source file. The common localization functions between strptime(3) and strftime(3) have been broken out into timelocal.[ch]. Notes: svn path=/head/; revision=28021
* | Clean import of strptime(3) onto a vendor branch.Joerg Wunsch1997-08-091-0/+358
| | | | | | | | | | | | | | Submitted by: Powerdog Industries <kevin.ruddy@powerdog.com> Notes: svn path=/cvs2svn/branches/POWERDOG/; revision=28019
* | `it's'' -> `its'' where appropriate and typo fixes in time2posix.3.Eivind Eklund1997-05-191-2/+2
| | | | | | | | | | | | | | | | | | Closes PR docs/3612. Submitted by: Josh Gilliam <soil@quick.net> Notes: svn path=/head/; revision=25932
* | Changed all paths to be relative to src/lib instead of src/lib/libcJohn Birrell1997-05-031-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too. Notes: svn path=/head/; revision=25401
* | Fixed wording of previous change.Bruce Evans1997-03-311-1/+1
| | | | | | | | | | | | | | | | Obtained from: fgets.3 Guided by: ISO C standard Notes: svn path=/head/; revision=24429
* | Revert my last few changes. They were bogus. Replaced them withWarner Losh1997-03-311-14/+4
| | | | | | | | | | | | | | | | | | | | the original text plus a statement saying that if strftime fails, the results are undefined. Requested a long time ago by: bde Notes: svn path=/head/; revision=24426
* | Back out 1.14 until I reproduce trouble reportsWarner Losh1997-03-251-4/+2
| | | | | | | | Notes: svn path=/head/; revision=24253
* | Don't open the tz file if we're running setuid or setgid to prevent infomrationWarner Losh1997-03-241-2/+4
| | | | | | | | | | | | | | | | | | leakage. Submitted by: Julian Assange Notes: svn path=/head/; revision=24195
* | Use .Sq Li \&\e0 rather than NUL to describe the character with no bitsWarner Losh1997-03-031-3/+7
| | | | | | | | | | | | | | | | set, as suggested by Garrett Wollman. This is more consistant with how things like strncpy are done, as well as harder to confuse NUL and NULL. Notes: svn path=/head/; revision=23343
* | Pendantic change of null to NUL. Also warn that this function does notWarner Losh1997-03-021-3/+9
| | | | | | | | | | | | | | NUL terminate in the case of buffer overflow. Notes: svn path=/head/; revision=23296
* | Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | | | | | Notes: svn path=/head/; revision=22993
* | Include "setlocale.h" for _PathLocale like other parts already didAndrey A. Chernov1997-02-071-3/+2
| | | | | | | | | | | | | | Should go in 2.2 Notes: svn path=/head/; revision=22402
* | Submitted by: John BirrellJulian Elischer1997-02-051-5/+3
| | | | | | | | | | | | | | uthreads update from the author. Notes: svn path=/head/; revision=22315
* | Update the comment why range checking is not neededAndrey A. Chernov1997-02-051-1/+1
| | | | | | | | | | | | | | Should go in 2.2 Notes: svn path=/head/; revision=22305
* | Sort cross references.Wolfram Schneider1997-01-201-1/+1
| | | | | | | | Notes: svn path=/head/; revision=21907
* | Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* | When attempting to load a `lastditch' timezone (e.g., because the loadGarrett Wollman1997-01-131-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | of the user's timezone failed), don't bail if the specified timezone doesn't have an offset; in this case it isn't going to. (Perhaps it would be better to change the caller to always supply one, but this is quick and clean and fixes the bug in the easiest possible way.) Should be in 2.2. Fixes (properly) PR#1740. Notes: svn path=/head/; revision=21659
* | Add comment that range checking is already done at upper levelAndrey A. Chernov1996-12-281-1/+2
| | | | | | | | | | | | | | | | | | Kill snprintf left in collate.c from previous backout Should go in 2.2 Notes: svn path=/head/; revision=20961
* | Move PATH_LOCALE handling to setlocale.c, simplify locale path building,Andrey A. Chernov1996-11-261-10/+9
| | | | | | | | | | | | | | don't treat empty encoding as C encoding Notes: svn path=/head/; revision=19965