Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * lib-src/b2m.c (main): Don't include <limits.h>. | Paul Eggert | 2006-04-04 | 1 | -11/+8 |
| | | | | | | | | | | | | | | | | (TM_YEAR_BASE): New macro. (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so that s/ files can override this. Use the more-conservative range 1000-9999. (main): Check for asctime returning NULL. * lib-src/fakemail.c: Likewise. * src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to ../lib-src/b2m.c and ../lib-src/editfns.c. (Fcurrent_time_string): Use it. Document that the year might not consume 4 columns if it's outside the range 1000-9999. Check for asctime failure. Don't assume that the output string length is always exactly 24. | ||||
* | * b2m.c: Include <limits.h>. | Paul Eggert | 2006-03-27 | 1 | -1/+20 |
| | | | | | | (TM_YEAR_IN_ASCTIME_RANGE): New macro. (main): Check for out-of-range time stamps. * fakemail.c: Likewise. | ||||
* | (GOOD, BAD): Delete macros. Throughout, | Thien-Thi Nguyen | 2004-05-07 | 1 | -14/+7 |
| | | | | | replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively. (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value. | ||||
* | Add arch taglines | Miles Bader | 2003-09-01 | 1 | -0/+2 |
| | |||||
* | (main): Parenthesize assignment when used as truth value to prevent gcc | Pavel Janík | 2002-01-01 | 1 | -1/+1 |
| | | | | warnings. | ||||
* | Comment change. | Richard M. Stallman | 2001-12-22 | 1 | -0/+1 |
| | |||||
* | Properly spell the name of Emacs. | Pavel Janík | 2001-10-19 | 1 | -2/+2 |
| | |||||
* | (main): Always return a value. | Gerd Moellmann | 2001-04-03 | 1 | -0/+2 |
| | |||||
* | Add support for large files. Merge glibc 2.1.2. | Paul Eggert | 1999-10-19 | 1 | -10/+6 |
| | | | | | | | | | | | | | | | | | | * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c, movemail.c, pop.c: Do not include <stdlib.h>, as <config.h> does this now. * b2m.c, emacsserver.c, etags.c, profile.c: Include <config.h> before any system include files. * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c, test-distrib.c: (read, write, open, close): Do not undef. * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix: (const): Do not define if HAVE_CONFIG_H; that's config.h's job. * getopt.h: Adopt glibc 2.1.2. | ||||
* | Include <stdlib.h> if available. | Andreas Schwab | 1998-04-06 | 1 | -0/+5 |
| | | | | (main): Explicitly declare return type. | ||||
* | (fatal): Declare the arg. | Richard M. Stallman | 1998-04-04 | 1 | -0/+1 |
| | |||||
* | Include getopt.h. | Karl Heuer | 1997-11-23 | 1 | -1/+31 |
| | | | | (main): Use getopt_long to handle --version and --help. | ||||
* | (readline): Terminate buffer properly when EOF seen. | Karl Heuer | 1997-06-14 | 1 | -1/+2 |
| | | | | Test for valid pointer before dereferencing it. | ||||
* | (main) [MSDOS]: Handle DJGPP version 2. | Richard M. Stallman | 1996-04-10 | 1 | -0/+7 |
| | |||||
* | (main): Initialize progname variable before using it. | Richard M. Stallman | 1996-03-20 | 1 | -2/+3 |
| | | | | Quote `username' in From_ header. | ||||
* | (xmalloc, xrealloc): Declare them long *. | Richard M. Stallman | 1995-05-04 | 1 | -5/+5 |
| | |||||
* | (main): Check for trailing ", " before trying to delete it. | Karl Heuer | 1995-04-13 | 1 | -1/+3 |
| | |||||
* | (concat, xmalloc, xrealloc, readline, xnew): Four new | Richard M. Stallman | 1995-01-09 | 1 | -59/+194 |
| | | | | | | | | functions and a macro that allow the program to work on input lines of whatever length. Copied from etags.c. (fatal): Print a fatal error message and exit. (main): Use the new functions. Fixed a bug that made a \037 char appear at the end of the output. | ||||
* | Eliminate some -Wall warnings. | David J. MacKenzie | 1994-10-12 | 1 | -0/+2 |
| | |||||
* | (from, labels, data): Use MAX_DATA_LEN as length. | Richard M. Stallman | 1994-09-21 | 1 | -8/+6 |
| | | | | (main): Use fgets, not gets. | ||||
* | (main): Avoid crash if argc is 1. | Richard M. Stallman | 1994-05-17 | 1 | -1/+1 |
| | |||||
* | Don't include string.h or strings.h. | Richard M. Stallman | 1994-04-28 | 1 | -6/+0 |
| | |||||
* | Clean up indentation and whitespace. | Richard M. Stallman | 1994-03-05 | 1 | -44/+56 |
| | |||||
* | (main): Change delimiter from "^L" to "^_^L". | Richard M. Stallman | 1994-03-05 | 1 | -5/+1 |
| | | | | | Allow for text following "BABYL OPTIONS:". Add --help option. Use argv[0] in error messages. | ||||
* | (main): Change delimiter from "^L" to "^_^L". | Karl Heuer | 1994-03-03 | 1 | -9/+19 |
| | | | | | Allow for text following "BABYL OPTIONS:". Add --help option. Use argv[0] in error messages. | ||||
* | (main) [MSDOS]: Open all files as binary. | Richard M. Stallman | 1994-01-06 | 1 | -0/+8 |
| | |||||
* | Include <config.h> instead of "config.h". | Roland McGrath | 1993-09-10 | 1 | -1/+1 |
| | |||||
* | (TRUE, FALSE): Don't define if already defined. | Richard M. Stallman | 1993-08-11 | 1 | -0/+4 |
| | |||||
* | * b2m.c: #include <sys/types.h>. | Jim Blandy | 1993-07-06 | 1 | -1/+2 |
| | | | | (ltoday): Declare this to be time_t. | ||||
* | * b2m.c (main): Don't exit upon reading a blank line. | Jim Blandy | 1993-03-11 | 1 | -2/+8 |
| | |||||
* | entered into RCS | Jim Blandy | 1992-08-19 | 1 | -0/+7 |
| | |||||
* | Initial revision | Jim Blandy | 1991-12-04 | 1 | -0/+84 |