| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(stat): Swap _S_IFDIR and _S_IFREG.
|
| |
|
|
|
|
| |
(_sys_read_ahead): Temporarily block on non-blocking sockets.
|
| |
|
|
|
|
| |
inodes for directories where available.
|
| |
|
|
|
|
|
|
|
|
| |
socket functions.
(socket_to_fd): New function.
(sys_socket): Use it.
(sys_setsockopt, sys_listen, sys_getsockname, sys_accept)
(sys_recvfrom, sys_sendto): New wrapper functions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
able to write to hidden and system files. Make file handles
non-inheritable.
|
| |
|
|
|
|
| |
directory to EMACSLOADPATH, after the version dependent one.
|
|
|
|
| |
variables.
|
| |
|
|
|
|
|
|
| |
EACCES, when determining whether rename failed because the target
exists. This was resulting in indefinite looping on Windows 9x if
the source file was locked by another process.
|
|
|
|
| |
locale settings, if not set.
|
|
|
|
| |
(_ANONYMOUS_STRUCT) [__GNUC__]: New define.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(add_volume_info): Use xstrdup.
(init_environment): Call _access.
(check_windows_init_file): Call _close.
(init_user_info): Call _putenv.
(init_environment): Call _putenv and _strdup.
(init_ntproc): Reset volume info cache on startup.
(unc_volume_file_attributes):
(open_unc_volume): Make arg const.
(gettimeofday): Use struct timeb, not struct _timeb.
(map_w32_filename, read_unc_volume): Fix compile warning.
(sys_strerror): Use sys_nerr instead of _sys_nerr. Use
sys_errlist instead of _sys_errlist.
(get_emacs_configuration_options): New function.
|
|
|
|
|
|
|
|
| |
default values for environment variables, based on the
executable's own location.
(map_w32_filename): Handle filenames that are longer than
MAX_PATH.
(sys_socket): Install socket inheritance bug fix from 20.7.
|
| |
|
| |
|
|
|
|
| |
(sigunblock): Ditto.
|
|
|
|
| |
doing readdir fast path.
|
|
|
|
|
| |
handle NT5.0 correctly. Include build number in configuration.
w32heap.c (osinfo_cache): New variable.
|
| |
|
| |
|
| |
|
|
|
|
| |
using EMACSLOADPATH.
|
|
|
|
| |
rely on it succeeding.
|
|
|
|
| |
in environment.
|
|
|
|
| |
(term_ntproc): Do not check for it here.
|
|
|
|
| |
accurate information on file attributes.
|
|
|
|
|
|
| |
close_unc_volume, unc_volume_file_attributes): New functions.
(wnet_enum_handle): New variable.
(opendir, readdir, closedir, sys_access, stat): Handle UNC volumes.
|
|
|
|
| |
EACCES instead of EEXIST if target already exists.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(sys_access): Provide our own implementation which recognizes D_OK.
(is_exec): New function.
(stat): Use it.
(init_environment): Set TMPDIR to an existing directory.
Abort if none of the usual places is available.
(sys_rename): On Windows 95, choose a temp name that
includes the original file's base name and use an explicit loop
rather than calling mktemp. Only attempt to unlink the newname if
the rename fails, rather than second-guessing whether the old and
new names refer to the same file.
|
|
|
|
| |
(stat): Handle "c:/.." and "/.." specially.
|
|
|
|
| |
characters that are illegal in file names.
|
| |
|
|
|
|
|
|
|
| |
conjunction with stat to make handling of file timestamps
consistent.
(convert_from_time_t): Fix calculation of low-order bits.
(sys_unlink): Allow read-only files to be unlinked as on Unix.
|
|
|
|
|
|
|
| |
Report normal EOF when read fails if nothing in buffer.
Only read more if more remaining.
(check_windows_init_file): New function.
(term_ntproc): Invoke check_windows_init_file.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(getwd): Delete macro.
(startup_dir): New variable.
(getwd): Return directory in which Emacs started.
(init_user_info): Set SHELL environment variable if not set.
(parse_root, get_long_basename, w32_get_long_filename): New functions.
(init_environment): Look for CMDPROXY.
Make sure that PATH and COMSPEC are capitalized in the environment.
Record startup directory.
(get_emacs_configuration, sys_rename): Use OS_WIN95.
(map_w32_filename): Calculate returned string correctly.
(sys_fopen): Use _fdopen.
(sys_link): Support NTFS links.
(sys_rename): Use a long file name for temporary name.
(sys_pipe): Make pipes binary and non-inheritable.
(sys_read, sys_write): Spoof text mode translation for pipes
and sockets.
(hashval): Simplify.
(generate_inode_val): Use long file name version of file.
(stat): Optimize by using active readdir info.
Set fake_inode to 0 for directories.
Set fake_inode to xor of file indexes for files.
Don't use generate_inode_val to set inode value.
(volume_info_data): Renamed from volume_info.
(volume_info, fixed_drives, volume_cache): New variables.
(DRIVE_INDEX, VOLINFO_STILL_VALID): New macros.
(lookup_volume_info, add_volume_info, GetCachedVolumeInformation):
New functions.
(get_volume_info): Use volume_info_data.
Use GetCachedVolumeInformation.
(init_ntproc): No longer restrict to one DOS subprocess.
Use CRT _open and _fdopen.
Cache fixed drive information.
|
| |
|
| |
|
|
|
|
|
|
|
| |
into Windows 95, Windows NT, and W32, respectively.
Expand "win" substring in variables referring to Microsoft Windows
constructs into "windows".
Canonicalize header comments to use same terminology.
|