aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Include "ccl.h".Kenichi Handa1998-12-151-3/+20
| | | | | | | | | (Fcall_process): Doc-string modified. Set CODING_MODE_LAST_BLOCK bit in argument_coding.mode to tell encoding procedure to flush data. While encoding arguments, if argument_coding uses CCL program, initialize it again after encoding. (Fcall_process_region): Doc-string modified. Handle the case that NARGS is 3.
* (Fcall_process): Use $TMPDIR instead of trying $TMPEli Zaretskii1998-10-141-2/+4
| | | | | | and $TEMP, since the former is always set in msdos.c. (Fcall_process_region): When looking for a place to put the temporary files, check $TMPDIR as well.
* (Fcall_process): Use malloc for decoding_buf.emacs-20.3Richard M. Stallman1998-08-191-1/+3
|
* (Fcall_process): Check type of process cmd args earlier on.Richard M. Stallman1998-08-081-2/+3
|
* (Fcall_process): Use alloca instead ofKenichi Handa1998-07-211-1/+1
| | | | get_conversion_buffer.
* (Fcall_process) [! subprocesses]: Balance parentheses in an if clause.Eli Zaretskii1998-06-291-1/+1
|
* (Fcall_process): Handle third argument BUFFERRichard M. Stallman1998-06-231-4/+6
| | | | consistently when it is an integer or a list.
* (init_callproc): Check Vinstallation_directory even if !initialized.Richard M. Stallman1998-06-061-1/+1
|
* (Fcall_process): Avoid initializer on auto struct.Karl Heuer1998-06-011-1/+3
|
* (Fcall_process): Fix test for when to call Ffind_operation_coding_system.Richard M. Stallman1998-05-081-1/+1
|
* (Fcall_process): If we must display received data onKenichi Handa1998-05-071-10/+23
| | | | the fly, don't wait until a buffer is filled.
* nclude msdos.h after lisp.h.Eli Zaretskii1998-04-271-1/+4
|
* (Fcall_process) [MSDOS]: Call child_setup instead of run_msdos_command.Eli Zaretskii1998-04-211-13/+26
| | | | | | (child_setup) [MSDOS]: Call run_msdos_command here. (child_setup) [DOS_NT]: Get past drive letter in pwd. Don't call close_load_descs, since we are not in a vfork.
* (Fcall_process_region): Unbind coding-system-for-writeRichard M. Stallman1998-04-171-2/+8
| | | | after calling Fwrite_region.
* (Fcall_process): CallEli Zaretskii1998-04-151-1/+7
| | | | | after-insert-file-set-buffer-file-coding-system if inherit-process-coding-system is non-nil.
* Remove binary-process-{in,out}put.Eli Zaretskii1998-04-151-70/+0
| | | | | (syms_of_callproc): Likewise. (Fcall_process, Fcall_process_region): Don't use binary-process-{in,out}put.
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-1/+8
|
* (relocate_fd): Avoid `min'/`max' as variable names.Karl Heuer1998-04-091-5/+5
|
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-8/+8
|
* (syms_of_callproc): Doc fixes.Richard M. Stallman1998-03-181-4/+5
|
* (Vdefault_file_name_coding_system): Extern it.Kenichi Handa1998-03-031-3/+2
| | | | (Fcall_process): Use ENCODE_FILE.
* (Fcall_process): Calculate CARRYOVER correctly.Kenichi Handa1998-03-031-1/+1
|
* (Fcall_process_region): Pass new arg to Fwrite_region.Richard M. Stallman1998-03-021-1/+1
|
* (Fcall_process): Allow creating a new buffer for the output.Richard M. Stallman1998-02-031-1/+1
|
* (Fcall_process): Test only args past args[4] for multibyteness.Richard M. Stallman1998-01-271-1/+1
|
* (Fcall_process): Use raw-text instead of emacs-muleKenichi Handa1998-01-221-29/+36
| | | | | when enable-multibyte-characters is nil. Adjusted for the change of encode_coding and decode_coding.
* (Fcall_process): When deciding whether to encode args,Richard M. Stallman1998-01-051-9/+16
| | | | | | | | check them for multibyteness, don't check enable-multibyte-characters. (Fcall_process): Use size_byte for the args. (Fcall_process_region): Likewise for temp file. (child_setup, getenv_internal, Fgetenv): Likewise.
* (Fcall_process): Cast new_argv for child_setup.Richard M. Stallman1997-12-281-2/+5
|
* (Fcall_process): Don't clobber new_argv[0]Karl Heuer1997-12-091-1/+3
| | | | in the case of no args.
* (Fcall_process): Set Vlast_coding_system_used afterKenichi Handa1997-12-091-0/+2
| | | | reading from the process.
* (Fcall_process): GCPRO infile, buffer, andKenichi Handa1997-11-081-25/+36
| | | | current_dir before encoding arguments.
* Ensure standard handles are reset even if spawnve fails.Andrew Innes1997-10-131-1/+1
|
* (child_setup) [WINDOWSNT]: Change directory ofGeoff Voelker1997-09-231-0/+3
| | | | child instead of parent.
* (Fcall_process): Encode the new current dir.Richard M. Stallman1997-09-091-0/+6
|
* (Fcall_process_region): Fix previous change:Richard M. Stallman1997-09-071-1/+1
| | | | never override Vcoding_system_for_write.
* (Fcall_process): Set EOL conversion type to LF whenRichard M. Stallman1997-09-031-42/+53
| | | | | | | binary-process-output is non-nil. (Fcall_process_region): binary-process-XXXput only determines EOL conversion; if it is nil, convert LF <-> CRLF. Don't bind coding-system-for-read, it is done in Fcall_process.
* Whitespace change.Richard M. Stallman1997-08-271-1/+1
|
* (init_callproc): Don't warn about missingRichard M. Stallman1997-08-241-4/+9
| | | | arch-dep data directory, while preparing to dump.
* (Fcall_process_region): Use cdr part (not car part)Kenichi Handa1997-08-041-1/+1
| | | | of Vdefault_process_coding_system for writing out text.
* (syms_of_callproc): Don't init Vtemp_file_name_pattern here.Richard M. Stallman1997-07-271-2/+1
|
* (Fcall_process) [MSDOS]: Request EOL conversion ofRichard M. Stallman1997-07-131-0/+13
| | | | the process output, unless we were promised it is binary.
* (Fcall_process): If enable-multibyte-characters isKenichi Handa1997-07-071-24/+52
| | | | | | | | nil, do not encode arguments for process, and decode output of process by emacs-mule. (Fcall_process_region): If enable-multibyte-characters is nil, do not encode text to be given to process, and decode output of process by emacs-mule.
* Call Ffind_operation_coding_system.Kenichi Handa1997-07-021-6/+7
|
* (Fcall_process): Fix previous change.Richard M. Stallman1997-06-291-2/+2
|
* (Fcall_process): Avoid storing alloca resultRichard M. Stallman1997-06-281-1/+3
| | | | directly into array element.
* (Fcall_process): Use setsid to disconnect childRichard M. Stallman1997-06-131-1/+4
| | | | process from controlling terminal.
* (Fcall_process): Pay attention toKenichi Handa1997-06-091-4/+13
| | | | | Vdefault_process_coding_system. (Fcall_process_region): Likewise.
* (Fcall_process_region): Supply 7th new argKenichi Handa1997-05-101-1/+1
| | | | CODING_SYSTEM as Qnil to Fwrite_region.
* Include charset.h and coding.h.Karl Heuer1997-02-201-9/+131
| | | | | | | (Fcall_process): Perform character code conversion of a process arguments and the process output. (Fcall_process_region): Encode coding of a text given to a process.
* (Fcall_process_region): Define missing local `count'.Richard M. Stallman1996-12-101-0/+1
|