Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-12-08 | Add support for time zones like +HH:MM and UTC+HH:MM. | Paul Eggert | |
2004-12-08 | (textint): New member "negative". | Paul Eggert | |
(time_zone_hhmm): New function. Expect 14 shift-reduce conflicts, not 13. (o_colon_minutes): New rule. (time, zone): Use it to add support for +HH:MM, UTC+HH:MM. (yylex): Set the "negative" member of signed numbers. | |||
2004-12-06 | . | Jim Meyering | |
2004-12-06 | *** empty log message *** | Jim Meyering | |
2004-12-06 | (libfetish_a_SOURCES): Begin removing .c and .h file names, as they | Jim Meyering | |
are added to AC_LIBSOURCES directives in the corresponding m4/*.m4 files. | |||
2004-12-05 | . | Jim Meyering | |
2004-12-05 | *** empty log message *** | Jim Meyering | |
2004-12-05 | (unit-test): Depend on t-fpending. | Jim Meyering | |
Make the target .PHONY. | |||
2004-12-05 | *** empty log message *** | Jim Meyering | |
2004-12-05 | . | Jim Meyering | |
2004-12-05 | *** empty log message *** | Jim Meyering | |
2004-12-05 | (LDADD): Define. | Jim Meyering | |
2004-12-05 | . | Jim Meyering | |
2004-12-05 | *** empty log message *** | Jim Meyering | |
2004-12-05 | *** empty log message *** | Jim Meyering | |
2004-12-05 | (unit-test): New target. | Jim Meyering | |
(check): Depend on it. (noinst_PROGRAMS): Define. | |||
2004-12-05 | Test the __fpending function. | Jim Meyering | |
This ensures that if there is an error in the definition of the PENDING_OUTPUT_N_BYTES expression, we'll find about it right away; that value is used only in the rare event that close_stdout's fclose fails with EBADF. | |||
2004-12-05 | revert to 1.8, now that we test the offending | Jim Meyering | |
condition externally (via new t-fpending.c program) | |||
2004-12-05 | *** empty log message *** | Jim Meyering | |
2004-12-05 | *** empty log message *** | Jim Meyering | |
2004-12-05 | Include <stdlib.h>. | Jim Meyering | |
(__fpending): Abort if PENDING_OUTPUT_N_BYTES is negative. This ensures that if there is an error in the definition of the PENDING_OUTPUT_N_BYTES expression, we'll find about it right away; this value is used only in the rare event that close_stdout's fclose fails with EBADF. | |||
2004-12-03 | Recent changes to save-cwd, openat. | Paul Eggert | |
2004-12-03 | Import from gnulib. | Paul Eggert | |
2004-12-03 | Add copyright and authorship notice. | Paul Eggert | |
(AT_FDCWD): Use the same value Solaris 9 uses. | |||
2004-12-03 | Include "openat.h" before other include files. | Paul Eggert | |
Include "exitfail.h". (openat): Remove #undef; no longer needed now that we include openat.h first. (rpl_openat): Add comment about mode_t promotion. Simplify code a bit by moving initializations around. Use exit_failure rather than EXIT_FAILURE. | |||
2004-12-03 | save-cwd.c: Include "save-cwd.h" before other include files. | Paul Eggert | |
(O_DIRECTORY): Remove; not needed here, since "." must be a directory. All uses removed. (save_cwd): Use __sgi || __sun, not sun || __sun. __sun is universal on Suns, and we also need to test for IRIX. Revamp code to use 'if' rather than '#if'. Avoid unnecessary comparison of cwd->desc to 0. | |||
2004-12-02 | Assume setlocale, locale.h, and localeconv exist and work. | Paul Eggert | |
2004-12-02 | Assume <locale.h> exists. | Paul Eggert | |
(human_readable): Assume localeconv exists. | |||
2004-12-02 | Assume <locale.h> exists. | Paul Eggert | |
Include "strdup.h". (GLIBC_VERSION): New macro. (hard_locale): Assume setlocale exists. Rewrite to avoid #ifdef. Use strdup rather than malloc + strcpy. | |||
2004-12-01 | * getcwd.c: Use system getcwd first, if appropriate. | Paul Eggert | |
2004-12-01 | (is_ENAMETOOLONG): New macro. | Paul Eggert | |
(__getcwd.c): Don't restore errno; glibc doesn't. [HAVE_PARTLY_WORKING_GETCWD && !defined AT_FDCWD]: Try system getcwd first, falling back to our code only if its results look suspicious. Ensure that the resulting buffer is only as large as necessary. | |||
2004-12-01 | Go back to including <sys/types.h> rather than <stddef.h>; this is | Paul Eggert | |
needed on OpenBSD since its <utmp.h> needs time_t without making sure that time_t is defined. | |||
2004-11-30 | Make readutmp more consistent among its client code. | Paul Eggert | |
2004-11-30 | Don't include <sys/types.h>, <errno.h>, | Paul Eggert | |
<sys/param.h>, <time.h>; not needed to establish interface. Include <stddef.h> instead. (errno): Remove decl. (HAVE_STRUCT_XTMP_UT_TYPE): Remove; no longer needed. (UT_TYPE_EQ, UT_TYPE_NOT_DEFINED, UT_TYPE_BOOT_TIME, UT_TYPE_USER_PROCESS, IS_USER_PROCESS): New macros. | |||
2004-11-30 | Include readutmp.h first. | Paul Eggert | |
Include <errno.h>, since readutmp.h no longer does that. | |||
2004-11-30 | . | Jim Meyering | |
2004-11-30 | renamed to chdir-long.[ch] | Jim Meyering | |
2004-11-30 | *** empty log message *** | Jim Meyering | |
2004-11-30 | (libfetish_a_SOURCES): Reflect name changes: chdir.[ch] -> chdir-long.[ch] | Jim Meyering | |
2004-11-30 | Include chdir-long.h rather than chdir.h. | Jim Meyering | |
(restore_cwd): Use chdir_long, not chdir. | |||
2004-11-30 | *** empty log message *** | Jim Meyering | |
2004-11-30 | [!defined PATH_MAX]: Define chdir_long to chdir on systems like the Hurd. | Jim Meyering | |
2004-11-30 | Renamed from chdir.h. | Jim Meyering | |
2004-11-30 | Renamed from chdir.c. | Jim Meyering | |
2004-11-30 | *** empty log message *** | Jim Meyering | |
2004-11-30 | (O_DIRECTORY): Define, if necessary. | Jim Meyering | |
(memchrcspn): Tiny wrapper around memchr. (rpl_chdir): Use memchrcspn rather than strcspn. | |||
2004-11-28 | *** empty log message *** | Jim Meyering | |
2004-11-28 | (rpl_openat): Also accept optional mode parameter. | Jim Meyering | |
Adjust prototype | |||
2004-11-28 | (rpl_openat): Also accept optional mode parameter. | Jim Meyering | |
2004-11-28 | Don't let error uses in #if-0'd code trigger `make distcheck' failure. | Jim Meyering | |