| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | (barf_or_query_if_file_exists): New arg STATPTR. Callers changed. | Richard M. Stallman | 1995-10-01 | 1 | -9/+37 |
| | | | | | (Fcopy_file): Error if input and output are the same file. | ||||
| * | (Fmake_symbolic_link, Fadd_name_to_file): | Richard M. Stallman | 1995-09-02 | 1 | -0/+14 |
| | | | | | Look for handler for the new name as well as for the target. | ||||
| * | (Fwrite_region): New arg lockname. | Richard M. Stallman | 1995-08-14 | 1 | -11/+16 |
| | | | | | (auto_save_1): Pass new arg. | ||||
| * | (do_auto_save_unwind): Set auto_saving to 0. | Richard M. Stallman | 1995-07-22 | 1 | -28/+53 |
| | | | | | | | | | | | | (Fdo_auto_save): Don't clear auto_saving here. Set it to 1 only when we make the unwind-protect. (Ffile_modes) [DOS_NT]: Use check_executable. (check_executable): DOS_NT code moved here from Ffile_modes. (check_writable): New code for MSDOS. (Fexpand_file_name): Initial ~ means name is absolute. | ||||
| * | (Fwrite_region): If fsync fails with EINTR, don't | Karl Heuer | 1995-07-17 | 1 | -1/+5 |
| | | | | | report a Lisp error. | ||||
| * | (directory_file_name): Don't get confused by // at end on Unix-like systems. | Richard M. Stallman | 1995-06-24 | 1 | -1/+4 |
| | | |||||
| * | (Fvisited_file_modtime): Cast arg to long_to_cons. | Karl Heuer | 1995-05-23 | 1 | -1/+1 |
| | | |||||
| * | (directory_file_name): Add APOLLO conditional. | Richard M. Stallman | 1995-05-03 | 1 | -31/+7 |
| | | | | | (Fcopy_file, Fset_file_modes): Delete APOLLO conditionals. | ||||
| * | (Finsert_file_contents): Use file_truename for unlocking. | Richard M. Stallman | 1995-05-02 | 1 | -2/+2 |
| | | |||||
| * | (Fdo_auto_save): Record visited file name | Richard M. Stallman | 1995-04-30 | 1 | -3/+12 |
| | | | | | | as well as auto-save file name in the auto-save-list-file-name file. Call Fexpand_file_name for auto-save-list-file-name. | ||||
| * | (Ffile_regular_p): Use Qfile_regular_p. | Richard M. Stallman | 1995-04-26 | 1 | -2/+5 |
| | | | | | (syms_of_fileio): Set up Qfile_regular_p. | ||||
| * | (Fexpand_file_name): Use IS_DIRECTORY_SEP instead of | Karl Heuer | 1995-04-13 | 1 | -34/+13 |
| | | | | | special code for WINDOWSNT. | ||||
| * | Fix typo in previous change. | Karl Heuer | 1995-04-12 | 1 | -1/+1 |
| | | |||||
| * | (directory_file_name) [WINDOWSNT]: Handle UNC format. | Karl Heuer | 1995-04-12 | 1 | -9/+15 |
| | | | | | | | | (Fexpand_file_name) [DOS_NT]: Don't strip slash from default dirs like "C:\\" Preserve drive letter case. Fix syntax errors. Check drive letter when expanding ~\. | ||||
| * | Update copyright. | Karl Heuer | 1995-04-07 | 1 | -1/+1 |
| | | |||||
| * | (syms_of_fileio): Fix missing \n\. | Karl Heuer | 1995-03-22 | 1 | -1/+1 |
| | | |||||
| * | (Finsert_file_contents): Call format-decode. | Boris Goldowsky | 1995-03-17 | 1 | -0/+48 |
| | | | | | | (build_annotations): Call format-annotate-function for each element of buffer_file_format. | ||||
| * | (Fexpand_file_name): Copy default-directory | Richard M. Stallman | 1995-02-14 | 1 | -5/+6 |
| | | | | | before looking for a handler on the directory arg. | ||||
| * | (Fexpand_file_name): Look for a handler for defalt. | Richard M. Stallman | 1995-02-12 | 1 | -3/+9 |
| | | | | | (syms_of_fileio): Minor rearrangement. | ||||
| * | (file_name_as_directory, Ffile_name_directory) | Richard M. Stallman | 1995-01-20 | 1 | -10/+0 |
| | | | | | (Ffile_name_nondirectory): Delete special MSDOG code now covered by macros. | ||||
| * | Use SAVE_MODIFF and BUF_SAVE_MODIFF | Richard M. Stallman | 1995-01-02 | 1 | -7/+19 |
| | | | | | | | | instead of direct access to the save_modiff field. (Finsert_file_contents, Fwrite_region): Error if buffer is indirect. (Fdo_auto_save): Do nothing for an indirect buffer. | ||||
| * | (internal_delete_file, internal_delete_file_1): New functions. | Richard M. Stallman | 1994-11-28 | 1 | -1/+18 |
| | | |||||
| * | (Fdo_auto_save): Use the new type-test macros. | Karl Heuer | 1994-11-16 | 1 | -2/+1 |
| | | |||||
| * | (Fread_file_name_internal): Protect orig_string. | Richard M. Stallman | 1994-11-16 | 1 | -2/+12 |
| | | | | | | | (Fsubstitute_in_file_name): Run a handler. (Qsubstitute_in_file_name): New variable. (syms_of_fileio): Set it up. | ||||
| * | (Finsert_file_contents): Init not_regular at the beginning. | Richard M. Stallman | 1994-11-15 | 1 | -2/+1 |
| | | |||||
| * | (Finsert_file_contents): If VISIT, set the buffer components | Richard M. Stallman | 1994-11-14 | 1 | -3/+16 |
| | | | | | such as the filename even before signaling error for non-regular file. | ||||
| * | (Fsubstitute_in_file_name): Add missing #endif. | Richard M. Stallman | 1994-11-09 | 1 | -0/+1 |
| | | |||||
| * | Change explicit uses of the Unix directory separator | Richard M. Stallman | 1994-11-01 | 1 | -137/+218 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP, S_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP. [WINDOWSNT]: Don't define HAVE_FSYNC; add includes for NT. (Ffile_name_absolute_p): Test DOS_NT instead of MSDOS. (Fwrite_region, Fdo_auto_save, Ffile_modes): Likewise. (Qfind_buffer_file_type): Test DOS_NT instead of MSDOS. (syms_of_files): Likewise. (Finsert_file_types): Test DOS_NT instead of MSDOS. Rename local var try to trytry. (Fadd_name_to_file): Wlways fail. (Frename_file) [WINDOWSNT]: Use MoveFile, not link and unlink, and check for both ERROR_FILE_EXISTS and ERROR_ALREADY_EXISTS. (Fmake_directory_internal) [WINDOWSNT]: Invoke mkdir without the mask. (Fexpand_file_name): Test DOS_NT, not MSDOS. (Fexpand_file_name) [WINDOWSNT]: Accept // or \\ at start. Call dostonunix_filename for HOME envvar, for ~USER. Quote directory separators found in environment variables. (Fsubstitute_in_file_name): Test DOS_NT instead of MSDOS. (Fsubstitute_in_file_name) [WINDOWSNT]: Accept // or \\ at start. Work around alloca bug in MS compiler. (Ffile_name_directory): Test DOS_NT instead of MSDOS sometimes. But don't insert a drive letter on windows. | ||||
| * | *** empty log message *** | Morten Welinder | 1994-10-17 | 1 | -0/+6 |
| | | |||||
| * | (check_writable, check_executable): Test HAVE_EACCESS. | Richard M. Stallman | 1994-10-07 | 1 | -2/+2 |
| | | |||||
| * | (Ffile_regular_p): New function. | Richard M. Stallman | 1994-10-05 | 1 | -37/+61 |
| | | | | | (syms_of_fileio): defsubr it. | ||||
| * | (Finsert_file_contents, Fwrite_region, Fdo_auto_save, Fset_buffer_auto_saved): | Karl Heuer | 1994-10-04 | 1 | -12/+12 |
| | | | | | Don't use XFASTINT as an lvalue. | ||||
| * | (Finsert_file_contents): No longer necessary to set type separately. | Karl Heuer | 1994-10-04 | 1 | -1/+0 |
| | | |||||
| * | (Fdefault_file_modes, Finsert_file_contents, Fdo_auto_save): Use new accessor | Karl Heuer | 1994-10-04 | 1 | -3/+3 |
| | | | | | macros instead of calling XSET directly. | ||||
| * | (Finsert_file_contents): set type of `end', not just the value. | Karl Heuer | 1994-10-02 | 1 | -0/+1 |
| | | |||||
| * | (check_writable, check_executable) [__HURD__]: Use eaccess. | Richard M. Stallman | 1994-09-29 | 1 | -26/+2 |
| | | |||||
| * | (Fdelete_file): Undo Sep 16 change. | Karl Heuer | 1994-09-28 | 1 | -6/+2 |
| | | |||||
| * | (Ffind_file_name_handler, Fcopy_file, Frename_file, Fadd_name_to_file, | Karl Heuer | 1994-09-27 | 1 | -19/+18 |
| | | | | | | | Fmake_symbolic_link, Fwrite_region, Fverify_visited_file_modtime, Fdo_auto_save, Fread_file_name_internal, Fread_file_name): Use type test macros. | ||||
| * | (Ffile_writable_p): Use stat to test for existence. | Richard M. Stallman | 1994-09-24 | 1 | -6/+71 |
| | | | | | | | | | (check_executable, check_writable): New functions. (Ffile_executable_p, Ffile_writable_p): Use the new functions. (Fread_file_name): If DEFAULT is nil and INITIAL is not, use INITIAL to set DEFAULT. | ||||
| * | (Ffile_writable_p): Don't use ro_fsys. | Richard M. Stallman | 1994-09-18 | 1 | -28/+2 |
| | | | | | (ro_fsys): Deleted. | ||||
| * | (Fcopy_file): Use set_file_times, and check for the error return. | Karl Heuer | 1994-09-18 | 1 | -1/+2 |
| | | |||||
| * | (barf_or_query_if_file_exists): Fix declaration. | Karl Heuer | 1994-09-17 | 1 | -0/+1 |
| | | |||||
| * | (Finsert_file_contents) [MSDOS]: Don't re-gc-protect filename; delete unused | Karl Heuer | 1994-09-16 | 1 | -5/+0 |
| | | | | | variables. | ||||
| * | (Fdelete_file): Bind completion-ignored-extensions to nil. | Karl Heuer | 1994-09-16 | 1 | -2/+6 |
| | | |||||
| * | (Fset_default_file_modes): Doc fix. | Richard M. Stallman | 1994-09-14 | 1 | -2/+2 |
| | | |||||
| * | (Ffile_accessible_directory_p): Put back the gcpro. | Karl Heuer | 1994-09-05 | 1 | -2/+9 |
| | | |||||
| * | (Ffile_accessible_directory_p): No need for gcpro. | Richard M. Stallman | 1994-08-30 | 1 | -6/+1 |
| | | | | | (Fwrite_region): unbind_to should take two args. | ||||
| * | (Fcopy_file, build_annotations, Fdo_auto_save): Delete unused variables. | Karl Heuer | 1994-08-24 | 1 | -1/+0 |
| | | |||||
| * | (Fmake_symbolic_link, Ffile_accessible_directory_p, Finsert_file_contents, | Karl Heuer | 1994-08-24 | 1 | -15/+22 |
| | | | | | auto_save_error, Fwrite_region): Fix gcpro problems. | ||||
| * | (O_RDONLY): Defined. | Richard M. Stallman | 1994-08-23 | 1 | -6/+19 |
| | | | | | | | (Finsert_file_contents, Fcopy_file): use it. (barf_or_query_if_file_exists, Ffile_exists_p): Use stat, not access. (Ffile_readable_p): Use open, not access. | ||||