1. 16 Jun, 1999 1 commit
  2. 30 Jan, 1999 1 commit
  3. 10 Dec, 1998 1 commit
  4. 03 Dec, 1998 1 commit
  5. 03 Nov, 1998 1 commit
  6. 27 Oct, 1998 1 commit
  7. 07 Oct, 1998 1 commit
  8. 14 Aug, 1998 1 commit
  9. 17 Jun, 1998 1 commit
  10. 16 Jun, 1998 1 commit
  11. 10 Jun, 1998 1 commit
  12. 05 Jun, 1998 1 commit
    • Karl Heuer's avatar
      #include sys/file.h · b3308d2e
      Karl Heuer authored
      (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.
      b3308d2e
  13. 30 May, 1998 1 commit
  14. 12 May, 1998 1 commit
  15. 24 Apr, 1998 1 commit
  16. 23 Apr, 1998 1 commit
  17. 17 Apr, 1998 1 commit
    • Geoff Voelker's avatar
      (sys_read): Clear carriage return flag. · f52eb3ef
      Geoff Voelker authored
      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.
      f52eb3ef
  18. 15 Apr, 1998 1 commit
  19. 09 Apr, 1998 2 commits
  20. 03 Sep, 1997 1 commit
    • Geoff Voelker's avatar
      Include stddef.h. · 76b3903d
      Geoff Voelker authored
      (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.
      76b3903d
  21. 10 Jul, 1997 1 commit
  22. 20 Jan, 1997 2 commits
  23. 15 Jan, 1997 1 commit
  24. 19 Nov, 1996 2 commits
  25. 07 Jul, 1996 1 commit
  26. 12 Jun, 1996 2 commits
  27. 08 Jun, 1996 1 commit
    • Richard M. Stallman's avatar
      (init_environment): Read PRELOAD_WINSOCK from registry if · f249a012
      Richard M. Stallman authored
      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).
      f249a012
  28. 07 Jun, 1996 1 commit
  29. 06 Jun, 1996 1 commit
  30. 03 Jun, 1996 1 commit
  31. 22 May, 1996 1 commit
  32. 17 May, 1996 1 commit
  33. 15 May, 1996 1 commit
  34. 11 May, 1996 1 commit
  35. 03 May, 1996 1 commit
  36. 29 Mar, 1996 1 commit