Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delete casts to off_t and size_t that are implied by assignments | 2016-09-21 | 1 | -2/+2 | |
| | | | | | | | or prototypes. Ditto for some of the char* and void* casts too. verified no change to instructions on ILP32 (i386) and LP64 (amd64) ok natano@ abluhm@ deraadt@ millert@ | ||||
* | gmtime_r() should return NULL on failure, not the struct tm * result | 2016-09-19 | 1 | -3/+2 | |
| | | | | parameter that was passed in. From Carlin Bingham. | ||||
* | Stop exposing <sys/localedef.h> and various symbols internal to the libc | 2016-05-23 | 1 | -2/+2 | |
| | | | | | | | locale implementation: _{Current,Default}*Locale, __[mn]locale_changed, __mb_len_max_runtime ok millert@ schwarze@ deraadt@ | ||||
* | for some time now mandoc has not required MLINKS to function | 2016-03-30 | 1 | -9/+1 | |
| | | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | ||||
* | Remove doaccess variable and access(2) call since this interfers with | 2016-03-14 | 1 | -11/+2 | |
| | | | | | | | | | | | | | | | | applications like zdump(8) because pledge(2) doesn't allow access(2) to /usr/share/zoneinfo. millert@ better described why this call can go away: "This looks like an attempt to do access checks based on the real uid instead of the effective uid. Basically for setuid programs we don't want to allow a user to set TZ to a path they should not be able to otherwise access. However, we already have a check for issetugid() above so I think the doaccess bits can just be removed and we can rely on open()." After discussion with tb@, deraadt@ and millert@, this was also OK'ed by them | ||||
* | new sentence, new line; | 2016-02-08 | 1 | -2/+3 | |
| | |||||
* | mention mktime, since that is where struct tm is described. ok schwarze | 2016-02-08 | 2 | -5/+9 | |
| | |||||
* | Simplify allocation logic based on free and realloc's behavior on NULL. | 2015-12-25 | 1 | -4/+3 | |
| | | | | ok tedu@ | ||||
* | Remove calloc cast, give sizeof parens. No functional change. | 2015-12-12 | 1 | -2/+2 | |
| | |||||
* | Document tzsetwall(). OK schwarze@ jmc@ | 2015-11-10 | 1 | -5/+26 | |
| | |||||
* | delete old lint ARGSUSED comments | 2015-11-01 | 1 | -2/+1 | |
| | |||||
* | Move #includes from private.h to the .c files that need them, getting rid of | 2015-10-24 | 4 | -18/+15 | |
| | | | | | | several. Switch from FILENAME_MAX to PATH_MAX (it's for open(), not fopen()). ok deraadt@ tedu@ krw@ | ||||
* | Do not insert whitespace into syntax displays, it's just confusing, | 2015-10-11 | 1 | -49/+23 | |
| | | | | | | | | except at the one place where it is indeed helpful. Add some missing .Cm macros. Remove some useless escaping, one needless .Xo, and an empty .No. Triggered by a much smaller patch from guenther@. OK jmc@ guenther@ | ||||
* | Don't wrap initialized variables: binutils appears to be mishandling them | 2015-09-19 | 1 | -1/+3 | |
| | | | | | | on arm and m88k problems with optind observed by jsg@ | ||||
* | use .Va for global variables, and .Vt where the type is included | 2015-09-14 | 1 | -7/+6 | |
| | |||||
* | Wrap <time.h> so that internal calls go direct and symbols not in C99 are weak | 2015-09-12 | 4 | -4/+24 | |
| | | | | | | Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to reduce noise with -Wmissing-prototypes Eliminate unnecessary #includes | ||||
* | Add support for setting tm_zone now that we have the timezone symbol. | 2015-04-07 | 1 | -4/+5 | |
| | |||||
* | Remove obsolete timezone() function. | 2015-04-07 | 2 | -3/+4 | |
| | | | | Add timezone and daylight symbols for XSI compatibility. | ||||
* | Do not reference tzfile.h since that is an internal header. | 2015-03-14 | 1 | -12/+12 | |
| | | | | | Be clear that "standard" byte order means big endian. Update struct ttinfo. | ||||
* | delete useless comment about Open Group | 2015-03-13 | 1 | -5/+1 | |
| | |||||
* | Convert a table unsupported by mandoc to a columnated list. | 2015-02-23 | 1 | -34/+34 | |
| | | | | | | | While here, correctly mark up time_t as a variable type and use prettier double quotes. ok schwarze@ | ||||
* | sprinkle braces around multi line statements | 2015-02-16 | 1 | -11/+19 | |
| | |||||
* | pull scopes without conditionals up into enclosing block | 2015-02-16 | 1 | -38/+29 | |
| | |||||
* | knf indents to give me a fighting chance at differentiating new blocks | 2015-02-16 | 2 | -179/+190 | |
| | | | | from continuation lines, of which there are many | ||||
* | drop an ansi bomb on the function definitions | 2015-02-16 | 3 | -165/+56 | |
| | |||||
* | move scheck.c into zic.c | 2015-02-10 | 1 | -7/+1 | |
| | |||||
* | now we're cooking with gas... | 2015-02-10 | 1 | -4/+7 | |
| | | | | replace difftime with a clever gift from matthew. ok guenther. | ||||
* | matthew suggests a double cast so sf mortgages work right. :) | 2015-02-10 | 1 | -2/+2 | |
| | |||||
* | remove CMU gtime | 2015-02-10 | 1 | -21/+1 | |
| | |||||
* | it is not strictly necessary to cast the "return value" of free() to void. | 2015-02-09 | 1 | -16/+15 | |
| | |||||
* | - register int idays; /* unsigned would be so 2003 */ | 2015-02-09 | 4 | -118/+118 | |
| | | | | | | + int idays; /* unsigned would be so 2003 */ register is so 1973 | ||||
* | always define ALL_STATE (which, contrary to the name is not about all | 2015-02-09 | 1 | -42/+1 | |
| | | | | states, but rather heap allocating the state) and unifdef the rest | ||||
* | the one true type of time_t is a signed integer | 2015-02-09 | 4 | -60/+19 | |
| | |||||
* | remove INITIALIZE macro and do it the hard way. | 2015-02-09 | 2 | -36/+4 | |
| | |||||
* | unifdef the rest of the HAVEs and HAVE nots | 2015-02-09 | 1 | -30/+1 | |
| | |||||
* | unifdef have gettext. don't have it, won't have it. | 2015-02-09 | 1 | -10/+1 | |
| | |||||
* | move include lines around a bit | 2015-02-09 | 5 | -19/+17 | |
| | |||||
* | trim down some of the ifndef redefine madness | 2015-02-09 | 1 | -90/+10 | |
| | |||||
* | replace homegrown is_digit with correct calls to isdigit() | 2015-02-09 | 2 | -10/+7 | |
| | |||||
* | move zic and zdump source to appropriate directories | 2015-02-09 | 5 | -3991/+0 | |
| | |||||
* | stop trying to workaround malloc bugs that have not existed for 20 years. | 2015-02-09 | 4 | -120/+37 | |
| | | | | ok deraadt | ||||
* | search engines replaced these files a long TIME ago | 2015-02-09 | 2 | -1195/+0 | |
| | |||||
* | if isascii isn't defined, don't define a retarded version | 2015-02-09 | 1 | -4/+1 | |
| | |||||
* | greatly simplfy and correct difftime for large time_t. ok guenther | 2015-02-09 | 1 | -55/+5 | |
| | |||||
* | this removes just a few ifdef checks for things that should always be enabled, | 2015-02-09 | 5 | -65/+8 | |
| | | | | | | | | | and which we definitely don't want to workaround. no change in the compiled code (yet). some of these, like the first chunk are plain silly. the compiler used to compile asctime has nothing to do with the format strings strftime should support. ok deraadt | ||||
* | Use .Rv where appropriate, and move it to RETURN VALUES; | 2015-01-29 | 1 | -11/+11 | |
| | | | | | remove .Tn, and a few minor macro adjustments. Patch from Kaspars at Bankovskis dot net. | ||||
* | simplify wording; triggered by a shorter diff from Kaspars Bankovskis; | 2014-12-04 | 1 | -7/+7 | |
| | | | | OK jmc@ jasper@ | ||||
* | Reduce instances of `` '' in manuals. | 2014-11-15 | 1 | -3/+4 | |
| | | | | | | | | | | | | troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@ | ||||
* | Add UTC support to %Z conversion in strptime(). | 2014-10-11 | 1 | -3/+10 | |
| | | | | | | Patch from jmates at ee dot washington dot edu. ok otto@, millert@ | ||||
* | Fix a crash when there is text after a failed %Z conversion in strptime. | 2014-10-02 | 1 | -6/+7 | |
| | | | | | | | | jmates at ee dot washington dot edu reported this bug and provided a patch. This is a slightly modified version of the patch that only contains the bug fix. ok millert@, otto@ |