aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * etags.c (main, print_help): eliminate the -F option.Francesco Potortì1994-04-181-12/+3
|
* * etags.c (absolute_filename): compare against '\0' instead of NULL.Francesco Potortì1994-04-181-2/+2
|
* Renamed from Makefile.in.Richard M. Stallman1994-04-161-70/+97
| | | | | | | | Makefile.in is now generated from it, and then preprocessed. Change comments to C syntax. Include config.h. (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined. (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
* (gettimeofday): If system doesn't have this, define it to give a fatal error.Richard M. Stallman1994-04-141-0/+8
|
* [HAVE_UNISTD_H]: Include unistd.h.Richard M. Stallman1994-04-131-0/+4
|
* #undef static.Richard M. Stallman1994-04-121-2/+6
| | | | (etags_getcwd): Initialize bufsize.
* (main): Use setuid, not seteuid.Karl Heuer1994-04-121-1/+1
|
* * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.Francesco Potortì1994-04-081-479/+499
| | | | | | | | | | | | (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs, Scheme_funcs, prolog_funcs): renamed to Fortran_functions, Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions, TeX_functions, Prolog_functions. (inf): no more a global variable. (C_entries): take 2nd parameter `inf' instead of using the global one. (find_entries): added the cp1 var for optimisation. (find_entries): added more suffixes for assembler files. (Asm_funcs): Now finds labels even without an ending colon.
* (main): Fix up MAIL_USE_MMDF conditional whereRichard M. Stallman1994-04-051-22/+36
| | | | | | | the indesc open was moved inside a fork. Handle MAIL_USE_LOCKF. (MAIL_USE_SYSTEM_LOCK): New conditional macro. Define it if either MAIL_USE_FLOCK or MAIL_USE_LOCKF.
* * etags.c (main): use etags_getcwd for compatibility.Francesco Potortì1994-03-301-42/+73
| | | | (etags_getcwd): new function.
* (etags, ctags): Pass -D for VERSION.Richard M. Stallman1994-03-251-2/+2
|
* * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.Francesco Potortì1994-03-251-117/+83
| | | | | | | (main): don't allow the use of -t and -T in etags mode. (print_help): don't show options enabled by default. (print_version): show the emacs version number if VERSION is #defined. (find_entries): add "ss" as suffix for Chez Scheme.
* * etags.c (cwd, outfiledir): vars added.Francesco Potortì1994-03-231-45/+212
| | | | | | | | | | (relative_filename, absolute_filename, absolute_dirname): functions added to compute filenames in tags files. (process_file): filenames in tags file are relative to the directory where the tags file is (useful with the -o option). (main): initialise the outfiledir var. (TYPEDST): added the `tignore' value. (C_entries): corrected various small bugs.
* (UTILITIES): `env' deleted.Richard M. Stallman1994-03-201-4/+1
| | | | (env): Target deleted.
* (install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.Richard M. Stallman1994-03-141-4/+4
|
* Clean up indentation and whitespace.Richard M. Stallman1994-03-051-44/+56
|
* (main): Change delimiter from "^L" to "^_^L".Richard M. Stallman1994-03-051-5/+1
| | | | | Allow for text following "BABYL OPTIONS:". Add --help option. Use argv[0] in error messages.
* (main) [HAVE_SYSVIPC]: Make msgp->mtext longer if necessary.Richard M. Stallman1994-03-051-4/+32
| | | | On HPUX, error if it's more than 512 chars.
* (main): Change delimiter from "^L" to "^_^L".Karl Heuer1994-03-031-9/+19
| | | | | Allow for text following "BABYL OPTIONS:". Add --help option. Use argv[0] in error messages.
* Use GPL.David J. MacKenzie1994-02-271-48/+16
|
* *** empty log message ***David J. MacKenzie1994-02-271-0/+1
|
* Use GPL.David J. MacKenzie1994-02-271-20/+16
|
* Initial revisionDavid J. MacKenzie1994-02-271-0/+241
|
* Update GPL.David J. MacKenzie1994-02-271-1/+1
|
* * make-path.c (main): Return 1 on error, not -1. Update GPL.David J. MacKenzie1994-02-271-2/+2
|
* * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc.David J. MacKenzie1994-02-271-13/+16
| | | | | (xmalloc, xrealloc): Return char *, not int. (error): Write to stderr, not stdout.
* (main, get_time): Don't crash on invalid input.Karl Heuer1994-02-231-5/+8
|
* (get_time): Simplify; avoid calling index.Karl Heuer1994-02-221-7/+3
| | | | (main): exit on EOF.
* * etags.c (--absolute-pathnames): this option removed.Francesco Potortì1994-02-171-25/+2
|
* (put_line): Don't break the line if it all fits.Richard M. Stallman1994-02-161-9/+14
|
* * etags.c (absolute_pathnames, cwd): added global vars.Francesco Potortì1994-02-141-61/+91
| | | | | | | (longopts, print_help, main, process_file): put absolute filenames in the tag file if the -A --absolute-pathnames option is used. (print_help): alfabetically order the options. (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
* (C_SWITCH_MACHINE): Get this from autoconf.Richard M. Stallman1994-02-091-3/+4
| | | | (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
* (main) [HAVE_SYSVIPC]: Reverse test of fork value.Richard M. Stallman1994-02-081-2/+5
|
* Initial revisionRichard M. Stallman1994-02-071-0/+93
|
* (profile): New target.Richard M. Stallman1994-02-051-2/+5
| | | | (UTILITIES): Mention profile.
* Include errno.h; don't include fasync.h.Richard M. Stallman1994-01-191-84/+114
| | | | | | | | | | | | | | | | | | | | | (schedule): Don't return a value. (sigcatch): Reestablish the handler first. (getevent): Always call notify at the end. (notify): Defer alarms around the whole body of function. (main): Don't request SIGIO, and don't handle it. Loop calling getevent. (sigcatch): Delete code to handle SIGIO. If defer_alarms is set, don't call notify, just set alarm_deferred. (getevent): Use read, not getchar. Handle EINTR and EAGAIN. Set defer_alarms around realloc and schedule. If alarm_deferred gets set, call notify. Likewise if this event is the only pending event. Make buf and buf_size global variables. Don't malloc buf if it is already non-zero. (schedule): Just exit if run out of memory. Return the number of events. (signal) [_CX_UX]: Add #undef.
* Make the argument list output look more like the Lisp docstrings do.Roland McGrath1994-01-161-7/+20
| | | | | | (write_c_args): Take new arg FUNC. Make output look like lisp call prototypes: (function ARG1 ARG2), upcasing arg names. (scan_c_file): Pass BUF to write_c_args for FUNC arg.
* * etags.c (stab_entry, stab_create, stab_find, stab_search,Francesco Potortì1994-01-141-239/+209
| | | | | | | | | | | | | stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted. Use gperf generated hash table instead of linked list. (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added. Mostly code generated by gperf. (consider_token): removed unused parameter `lp'. (PF_funcs, getit): allow subroutine and similar declarations to span multiple lines. (C_entries): check for newline if inchar to avoid bus errors. (process_file, find_entries): distinguish among nonexistent and not regular file.
* [USG] (SIGIO): Define as SIGPOLL.Richard M. Stallman1994-01-121-1/+4
| | | | (main) [USG]: Do ioctl to enable SIGPOLL.
* [! HAVE_STRERROR] (strerror): Define the function.Roland McGrath1994-01-091-4/+20
|
* Declare strerror.Roland McGrath1994-01-081-0/+3
|
* [! HAVE_STRERROR] (strerror): Define the function.Roland McGrath1994-01-083-0/+45
|
* Don't declare sys_errlist; declare strerror instead.Roland McGrath1994-01-081-4/+4
| | | | (schedule, main): Call strerror instead of using sys_errlist.
* (get_errmsg, pfatal_with_name, pfatal_and_delete): Call strerror instead ofRoland McGrath1994-01-081-24/+11
| | | | using sys_errlist.
* (main): Call strerror instead of using sys_errlist.Roland McGrath1994-01-081-9/+6
|
* Don't declare sys_errlist; declare strerror instead.Roland McGrath1994-01-081-6/+4
| | | | (main): Call strerror instead of using sys_errlist.
* [MSDOS]: Use text/binary mode as appropriate.Richard M. Stallman1994-01-061-10/+26
| | | | (scan_c_file, scan_lisp_file): Extra parameter for the mode to open with.
* (main) [MSDOS]: Open all files as binary.Richard M. Stallman1994-01-062-0/+16
|
* (main) [MSDOS]: Dummy stub just to make the file compile.Richard M. Stallman1994-01-061-0/+6
|
* (malloc): Don't declare it.Richard M. Stallman1994-01-061-4/+6
| | | | | | | (xmalloc): Cast result of malloc. (strcpy): Don't declare it. [MSDOS]: #undef `access'.