aboutsummaryrefslogtreecommitdiffstats
path: root/nt/cmdproxy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #10674 with infinite re-spawning of cmdproxy.exe.Eli Zaretskii2012-02-241-13/+66
| | | | | | | | nt/cmdproxy.c (main): Bypass conversion of the file name in argv[0] and our own module name to short 8+3 aliases, if the original file names compare equal. If GetShortPathName fails, compare the base names of the two file names, and only re-spawn the command line if the base-name comparison also fails.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions inDaniel Colascione2011-04-261-4/+14
| | | | quoted strings and bail out.
* Improve Windows quoting robustnessDaniel Colascione2011-04-261-24/+88
|
* w32: Fix some warnings reported by -Wall -Wextra.Juanma Barranquero2011-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lib-src/ntlib.c: Include <ctype.h>. * nt/cmdproxy.c: Include <ctype.h>. (make_absolute): Remove unused variable `i'. * src/w32fns.c (x_set_menu_bar_lines): Remove unused variable `olines'. (w32_wnd_proc): Pass NULL to Windows API, not uninitialized buffer. (Fx_close_connection): Remove unused variable `i'. * src/w32font.c (w32font_draw): Return number of glyphs. (w32font_open_internal): Remove unused variable `i'. (w32font_driver): Add missing initializer. * src/w32menu.c (utf8to16): Remove unused variable `utf16'. (fill_in_menu): Remove unused variable `items_added'. * src/w32term.c (last_mouse_press_frame): Remove static global variable. (w32_clip_to_row): Remove unused variable `f'. (x_delete_terminal): Remove unused variable `i'. * src/w32uniscribe.c (uniscribe_shape): Remove unused variable `nclusters'. (NOTHING): Remove unused static global variable. (uniscribe_check_otf): Remove unused variable `table'. (uniscribe_font_driver): Add missing initializers.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-2/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | nt/*.c: Use const char*; remove unused code.Juanma Barranquero2010-09-281-28/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * addpm.c (entry, add_registry, main): * addsection.c (file_data, open_input_file, open_output_file) (find_section, PTR_TO_OFFSET, copy_executable_and_add_section) (COPY_CHUNK): * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space) (skip_nonspace, get_next_token, search_dir, make_absolute) (spawn, main): * preprep.c (file_data, open_input_file, open_output_file) (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main): Use const char*. * cmdproxy.c (stdin): Don't define, not used. (main): Don't assign remlen after last use.
* | Merge changes from emacs-23 branchChong Yidong2010-08-081-11/+29
|\ \ | |/
| * nt/cmdproxy.c (main): Use _snprintf instead of wsprintf (bug#6647).Óscar Fuentes2010-08-021-11/+29
| |
* | Convert some more functions to standard C.Juanma Barranquero2010-07-201-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | * lib-src/emacsclient.c (get_current_dir_name, w32_get_resource) (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp) (close_winsock, initialize_sockets, w32_find_emacs_process) (w32_give_focus): * lib-src/ntlib.c (getlogin, getuid, getgid, getegid): * nt/addpm.c (add_registry, main): * nt/cmdproxy.c (get_env_size): * nt/ddeclient.c (main): * nt/runemacs.c (set_user_model_id): * src/alloc.c (emacs_blocked_free, emacs_blocked_malloc) (emacs_blocked_realloc, uninterrupt_malloc): * src/fringe.c (w32_reset_fringes): * src/image.c (convert_mono_to_color_image, lookup_rgb_color) (init_color_table, XPutPixel, jpeg_resync_to_restart_wrapper): * src/sound.c (be2hs, do_play_sound): * src/vm-limit.c (get_lim_data, ret_lim_data): * src/w32term.c (x_free_frame_resources): * src/xfaces.c (x_create_gc, x_free_gc): Convert definitions to standard C.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* Spelling fixes.Glenn Morris2008-07-011-3/+3
|
* American English spelling fix.Glenn Morris2008-06-271-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-091-8/+6
|
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (main): Set console codepages to "ANSI".Jason Rumney2007-06-251-0/+6
|
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-161-2/+2
| | | | 2001).
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+2
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-101-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-9/+9
|
* (get_next_token): Fix indefinite loop bug scanningAndrew Innes2001-03-181-0/+1
| | | | escaped quotes.
* cmdproxy.c (main): Fix parens.Geoff Voelker1999-03-311-1/+1
|
* (main): Call GetShortPathName to normalize programAndrew Innes1999-03-251-1/+5
| | | | names for comparison.
* (main): Add missing parens.Geoff Voelker1999-03-051-1/+1
|
* (spawn): Pass directory for child as parameter.Andrew Innes1998-12-281-4/+15
| | | | | | (main): Save startup directory to give to spawn, then change directory to location of .exe in order not to prevent startup directory from being deleted.
* (main): Set environment size only when runningGeoff Voelker1998-11-101-9/+9
| | | | command.com.
* (main): Treat command line options as case-insensitive.Geoff Voelker1998-10-061-4/+4
|
* (main): Only set environment size for real shell, andGeoff Voelker1998-04-231-17/+27
| | | | provide extra directory argument, when running on Windows 95.
* (fail): Exit with a negative return value.Geoff Voelker1998-04-171-8/+28
| | | | | | | (spawn): Return subprocess return code as an argument. Explicitly copy environment block. (main): Update to use return value argument with spawn. Retry if spawn failed when a subshell was not tried.
* (get_env_size): New function.Geoff Voelker1997-09-031-25/+100
| | | | | | | | | | (spawn): Explicitly pass in environment when creating subprocess. (main): Cleaup error messages. Specify dynamically sized environment block for real shell. Pass on unhandled switches to real shell. Quote program name. (get_next_token): Null terminate token returned.
* Initial revisionGeoff Voelker1997-08-091-0/+580