summaryrefslogtreecommitdiff
path: root/src/w32.c
Commit message (Collapse)AuthorAgeFilesLines
* (normalize_filename): Always lower-case drive letters, even on systemsMiles Bader1996-07-071-7/+33
| | | | | | | | that preserve case in filenames. (sys_rename): Do not delete newname if only changing case. On Windows 95, use our version of mktemp (not the MSVC version) and give the temp name a long extension to ensure the final rename works as expected.
* Delete restrict_dos_process.Richard M. Stallman1996-06-121-7/+5
|
* (restrict_dos_process): Renamed from can_run_dos_process.Richard M. Stallman1996-06-121-3/+14
| | | | (init_ntproc): Refer to restrict_dos_process.
* (init_environment): Read PRELOAD_WINSOCK from registry ifRichard M. Stallman1996-06-081-28/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | not set in environment. (winsock_inuse) [HAVE_SOCKETS]: New variable. (have_winsock) [HAVE_SOCKETS]: Obsolete variable removed. (term_winsock) [HAVE_SOCKETS]: Only unload winsock library if there are no active sockets still open, and if the cleanup function succeeds. Return TRUE if winsock is unloaded. (init_winsock) [HAVE_SOCKETS]: Load winsock if not already loaded, and return TRUE if winsock support is available. Unload winsock immediately if new parameter load_now is false. Check that WSAStartup supports the winsock version we requested. (set_errno, check_errno, sys_socket, sys_bind, sys_connect, sys_htons, sys_ntohs, sys_inet_addr, sys_gethostname, sys_gethostbyname, sys_getservbyname, sys_close, sys_read, sys_write) [HAVE_SOCKETS]: Check winsock_lib instead of have_winsock to determine if winsock support is available. (sys_socket, sys_close) [HAVE_SOCKETS]: Count sockets in use. (init_ntproc) [HAVE_SOCKETS]: Only load winsock library on startup if PRELOAD_WINSOCK is set in environment (or registry).
* (sys_mktemp): Complete rewrite.Richard M. Stallman1996-06-071-1/+45
|
* (init_winsock): Dynamically link to SetHandleInformation.Richard M. Stallman1996-06-061-11/+34
| | | | | (sys_socket): If possible, use SetHandleInformation to make socket handle non-inheritable to avoid a bug in NT.
* (normalize_filename): New function.Richard M. Stallman1996-06-031-12/+63
| | | | | | (dostounix_filename, unixtodos_filename): Use it. (readdir): Convert upper case file names to lower case if win32-downcase-file-names is non-nil.
* (get_volume_info): Always update *pPath correctly, even ifKarl Heuer1996-05-221-3/+0
| | | | UNC header is incomplete.
* (_sys_read_ahead): Handle sleep here.Karl Heuer1996-05-171-4/+34
| | | | | (sys_read): Not here. (init_ntproc): Initialize can_run_dos_process, dos_process_running.
* (sys_read): Introduce a small delay before reading fromKarl Heuer1996-05-151-0/+2
| | | | | | a pipe or socket to allow more data to be buffered; otherwise, process output is read one byte at a time on fast machines (which is slow).
* (map_win32_filename): If not a fat volume, cvt name to dos.Richard M. Stallman1996-05-111-5/+7
|
* (nt_stat, nt_ctime): Functions deleted.Geoff Voelker1996-05-031-706/+1685
| | | | Undefine macros of CRT functions.
* (rename): New function.Geoff Voelker1996-03-291-0/+102
|
* (nt_stat): Use alloca instead of xmalloc.Geoff Voelker1996-01-211-9/+112
| | | | | | (get_unassigned_drive_letter, is_toplevel_share_name, stat_toplevel_share): New functions for stat on remote shares. (readdir): Use IS_ANY_SEP.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-15/+16
|
* (getuid): Only return root uid if Administrator.Geoff Voelker1996-01-041-2/+16
| | | | (geteuid): Return getuid.
* (nt_get_resource, init_environment): Defined.Geoff Voelker1995-11-071-0/+107
| | | | | (prepare_standard_handles, restore_standard_handles) [HAVE_NTGUI]: Don't duplicate or restore standard handles.
* Indentation change.Richard M. Stallman1995-10-081-31/+31
|
* (PASSWD_FIELD_SIZE): Defined.Geoff Voelker1995-06-301-6/+21
| | | | | | (the_passwd_name, the_passwd_passwd, the_passwd_gecos, the_passwd_dir, the_passwd_shell, getpwuid): Use PASSWD_FIELD_SIZE. (get_emacs_configuration): Check if processor macros are defined.
* Include config.h before stdio.h.Geoff Voelker1995-06-101-1/+1
|
* Change Vuser_real_name to Vuser_real_login_name.Karl Heuer1995-05-301-5/+5
|
* (configuration_buffer): Increase size.Geoff Voelker1995-05-261-6/+29
| | | | | | (get_emacs_configuration) [WINDOWS95]: Use appropriate string. (prepare_standard_handles) [WINDOWS95]: Disable subprocesses. (reset_standard_handles): Check error number on failure.
* (nt_ctime): Defined.Karl Heuer1995-04-121-11/+86
| | | | | | | | | (gettimeofday): Defined. (nt_stat): Defined. (random): Defined. (srandom): Defined. (readdir): Include "." and "..". (get_inode_and_device_vals): Handle directories.
* Initial revisionRichard M. Stallman1994-11-011-0/+610