-
Notifications
You must be signed in to change notification settings - Fork 987
Comparing changes
Open a pull request
base repository: coreutils/coreutils
base: master
head repository: coreutils/coreutils
compare: next
- 13 commits
- 7 files changed
- 2 contributors
Commits on Sep 5, 2009
-
* README-rm-timing-compare: new file * README-rm-timing-2: New file.
Jim Meyering committedSep 5, 2009 Configuration menu - View commit details
-
Copy full SHA for cf963e5 - Browse repository at this point
Copy the full SHA cf963e5View commit details -
* remove.c: Don't include "unlinkdir.h"; no longer used. Do not include <setjmp.h> or "cycle-check.h". Likewise. Include "xfts.h". (dir_name, dir_len): Remove definitions. (CONSECUTIVE_READDIR_UNLINK_THRESHOLD): Likewise. (INODE_SORT_DIR_ENTRIES_THRESHOLD, NEED_REWIND, D_TYPE): Likewise. (struct dirstack_state, Dirstack_state): Likewise. (g_buf, g_n_allocated): Remove declarations. (hash_freer, hash_compare_strings, rm_malloc): Remove functions. (rm_free, push_dir, top_dir, pop_dir, right_justify): Likewise. (full_filename0, xfull_filename, full_filename_): Likewise. (AD_stack_height, AD_stack_top, AD_stack_pop, AD_stack_clear): Likewise. (obstack_init_minimal, ds_init, ds_clear, ds_free): Likewise. (AD_pop_and_chdir, AD_ensure_initialized, AD_mark_helper): Likewise. (AD_mark_as_unremovable, AD_mark_current_as_unremovable): Likewise. (AD_push_initial, AD_push, AD_push, AD_is_removable): Likewise. (write_protected_non_symlink): Change 3rd parameter from dirstack_state "ds" to full_name. (prompt): Adjust parameters. Now, state comes from FTS/FTSENT pair. Those replace fd_cwd and "ds". Remove "filename". Remove pdirent_type in favor of new "is_dir" parameter. Rename is_empty to is_empty_p. (DO_RMDIR, DO_UNLINK): Remove definitions. (remove_entry, fd_to_subdirp, compare_ino): Remove functions. (dirent_count, dirent_inode_sort_may_be_useful): Likewise. (preprocess_dir): Likewise. (fts_skip_tree, mark_ancestor_dirs, excise, rm_fts): New functions. (remove_cwd_entries, remove_dir, rm_1): Remove functions. (rm): Rewrite as a simple loop calling fts_read and dispatching each entry via rm_fts. * src/rm.c (main): Adapt to new signature of rm(). * bootstrap.conf (gnulib_modules): Remove unlinkdir, no longer used. * src/Makefile.am (sc_tight_scope): Also recognize an extern "enum" declaration. * tests/rm/empty-name: Adjust expected output to match new diagnostic.
Jim Meyering committedSep 5, 2009 Configuration menu - View commit details
-
Copy full SHA for 18c5fbd - Browse repository at this point
Copy the full SHA 18c5fbdView commit details -
build: placate gcc's new -Wskip-jump-init
* remove.c (rm_fts): Put braces around each of the two offending blocks. * configure.ac: Don't turn off -Wjump-misses-init. With the rewrite of remove.c, it is no longer needed.
Jim Meyering committedSep 5, 2009 Configuration menu - View commit details
-
Copy full SHA for 4f87cc0 - Browse repository at this point
Copy the full SHA 4f87cc0View commit details -
rm: improve efficiency of rm -r (without -f) from O(N^2) to O(N)
where N is the depth of the deepest hierarchy rm is processing. * src/remove.c (write_protected_non_symlink): Use faccessat to avoid O(N)-per-entry cost of calling euidaccess. * m4/jm-macros.m4 (coreutils_MACROS): Check for faccessat.
Jim Meyering committedSep 5, 2009 Configuration menu - View commit details
-
Copy full SHA for 0f3f7d4 - Browse repository at this point
Copy the full SHA 0f3f7d4View commit details -
NEWS: mention recent improvements in rm
Jim Meyering committedSep 5, 2009 Configuration menu - View commit details
-
Copy full SHA for 278109b - Browse repository at this point
Copy the full SHA 278109bView commit details -
* bootstrap.conf (gnulib_modules): Add faccessat. Replace strdup with strdup-posix. * m4/jm-macros.m4 (coreutils_MACROS): Revert previous change, now that gnulib does it for us. * src/remove.c (write_protected_non_symlink): Use faccessat in more situations.
Configuration menu - View commit details
-
Copy full SHA for 2df2729 - Browse repository at this point
Copy the full SHA 2df2729View commit details -
euidaccess-stat: remove unnecessary macros
* lib/euidaccess-stat.c (F_OK, R_OK, W_OK, X_OK): Delete; now guaranteed by gnulib.
Configuration menu - View commit details
-
Copy full SHA for 5f303a1 - Browse repository at this point
Copy the full SHA 5f303a1View commit details -
* src/remove.c (rm_fts): Don't allow fall-through when assertions are disabled.
Configuration menu - View commit details
-
Copy full SHA for 41c9e06 - Browse repository at this point
Copy the full SHA 41c9e06View commit details
Commits on Oct 10, 2009
-
Configuration menu - View commit details
-
Copy full SHA for 2cd1577 - Browse repository at this point
Copy the full SHA 2cd1577View commit details -
copy: allow symlink timestamp preservation on more systems
* src/copy.c (utimens_symlink): Simplify by using lutimens. * m4/jm-macros.m4 (coreutils_MACROS): Drop utimensat; gnulib does this for us. * tests/cp/preserve-slink-time: Recognize lutimes support.
Configuration menu - View commit details
-
Copy full SHA for 82e344c - Browse repository at this point
Copy the full SHA 82e344cView commit details -
touch: optimize use of utimens
* src/touch.c (main): Use UTIME_NOW rather than calling gettime. (touch): Use UTIME_OMIT rather than stat.
Configuration menu - View commit details
-
Copy full SHA for aeaa6bf - Browse repository at this point
Copy the full SHA aeaa6bfView commit details -
* README-rm-timing-compare: new file * README-rm-timing-2: New file.
Configuration menu - View commit details
-
Copy full SHA for 3b7dc2b - Browse repository at this point
Copy the full SHA 3b7dc2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c935a0 - Browse repository at this point
Copy the full SHA 6c935a0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...next