Commit Graph

473 Commits

Author SHA1 Message Date
06c14936c3 More code cleanup 2009-10-20 14:31:06 +00:00
f6a962d21c Code cleanup 2009-10-20 14:26:12 +00:00
805cb07e39 Code cleanup 2009-10-20 14:19:59 +00:00
84b191ee5b Using getopt() for coherence with the other tools 2009-10-20 14:11:05 +00:00
83ba791afe Code cleanup 2009-10-20 14:04:24 +00:00
030b712b3d Code cleanup and fixed output with -Gn 2009-10-19 22:13:18 +00:00
2bce4dc280 Code cleanup 2009-10-19 21:58:39 +00:00
70aec3c187 Fixed a bug when using "--" on the command line 2009-10-19 21:46:30 +00:00
7ca743c1dc Using getopt() for coherence with the other tools 2009-10-19 21:36:43 +00:00
efc86bfdaf Code cleanup 2009-10-19 21:26:05 +00:00
76e27ba17e Code cleanup 2009-10-19 21:00:09 +00:00
b21305c8bb Updated copyright information 2009-10-14 00:00:32 +00:00
4d9f3c9ca5 Added usage screen 2009-10-14 00:00:31 +00:00
1e6f0ca087 Fixed some dependencies 2009-10-12 23:39:06 +00:00
82df233084 Only allow common.c to be included once 2009-10-12 23:30:57 +00:00
1f3c841fe4 Use defines instead of an enum (mostly useful for utilbox) 2009-10-12 23:29:15 +00:00
aabbab3a3f Renamed some static functions to not conflict when both included (see utilbox) 2009-10-12 23:24:23 +00:00
5db44191b0 Fixed a warning with -pedantic 2009-07-12 00:22:56 +00:00
3ae04f587a Using -pedantic instead of -ansi 2009-07-12 00:14:31 +00:00
64f31f34ee Fixed a warning with -pedantic 2009-07-11 23:52:28 +00:00
af8caf0bce Fixed a crash on NetBSD 2009-07-11 23:46:38 +00:00
ec427932a5 Fixed a warning with -pedantic 2009-07-11 23:46:03 +00:00
0a037a5c67 Code cleanup 2009-07-04 13:22:17 +00:00
8a4829b15c Re-generated Makefiles 2009-06-16 23:45:52 +00:00
5050faaa84 common is not an executable 2009-06-01 16:35:50 +00:00
ecac0d25d8 Initial release 2009-06-01 16:35:20 +00:00
6a6a731919 Re-generated Makefiles 2009-01-11 21:46:49 +00:00
ee8a72332f Merging the two TODO files 2008-10-02 13:50:03 +00:00
bc84231444 Re-generated Makefiles 2008-09-26 21:20:27 +00:00
c91ad0d6f8 Code cleanup 2008-06-22 00:06:02 +00:00
6b47bbc578 Re-generated Makefiles 2008-06-06 23:15:40 +00:00
232274d7b6 Code cleanup 2007-11-20 01:13:37 +00:00
5cb9051a4f Re-generated Makefile 2007-10-14 14:11:42 +00:00
da533ad0e5 More robust when going through group members 2007-09-27 01:08:57 +00:00
c13c4c2528 Implemented partly -H 2007-09-18 22:04:45 +00:00
4e9b3c0ab0 Code cleanup 2007-09-18 22:04:23 +00:00
b9613aa9a1 Supports many more commands 2007-09-15 10:28:44 +00:00
0e94c7100b Parsing probably more accurate for -nouser and -nogroup 2007-09-12 23:38:27 +00:00
84296898dc Supports -prune 2007-09-12 23:36:29 +00:00
f897d18c21 Code cleanup 2007-09-12 23:26:16 +00:00
abca89e3c2 Fixed -name as it returned before evaluating the following primaries 2007-09-09 17:25:06 +00:00
e33d492ef0 Implemented -name 2007-09-09 17:23:36 +00:00
9dbf24fdef Code cleanup 2007-09-09 16:18:38 +00:00
510b3517ec Recognizes the first command entered 2007-09-09 16:12:28 +00:00
dceb83a246 Added target find 2007-09-09 15:59:26 +00:00
f136e46342 Implemented tail by line count 2007-08-22 01:55:50 +00:00
cc60015ea7 Unifying usage screens 2007-08-17 17:03:33 +00:00
25d1644d43 Fixed use before initialization 2007-08-03 01:36:58 +00:00
b3ec4fa2be Code cleanup 2007-08-03 01:32:59 +00:00
1dd4e45e98 Implemented recursion for cross-device moving 2007-08-03 01:32:31 +00:00
2df6ec2667 Fixed copy or regular files across devices 2007-08-03 01:14:22 +00:00
03e144c8ee Code cleanup
Fixed usage screen
2007-08-03 01:09:39 +00:00
9dc7ee76d2 Fixed usage screen 2007-08-03 01:09:14 +00:00
d88e2c65a2 Fixed compilation 2007-07-31 00:50:17 +00:00
e31c6fdafb Code cleanup 2007-07-31 00:49:41 +00:00
cae9308811 Code cleanup 2007-07-29 22:57:10 +00:00
d4e792fa88 ls can display unknown uid and gid 2007-07-29 17:11:02 +00:00
42ccfce4f6 Code cleanup 2007-07-29 17:10:32 +00:00
1a135949ed Fix compilation with DeforaOS libc 2007-07-29 17:01:09 +00:00
523554baf8 Hopefully fixed handling of -H, -L and -P options 2007-07-29 16:46:15 +00:00
e9f12002c1 Simpler and more portable code (cannot avoid TOCTOU anyway) 2007-07-29 16:18:02 +00:00
1d73c291f1 Factorized confirmation code 2007-07-29 16:12:59 +00:00
2ba9d0e69a Added a comment 2007-07-29 16:06:39 +00:00
e223e0d50e Do not confirm when source or destination is absent 2007-07-29 15:59:35 +00:00
494c4a1a25 Re-organized the code 2007-07-29 15:41:54 +00:00
1c0a70ec20 Code cleanup 2007-07-29 14:01:49 +00:00
d9d0ba0c00 Stricter use of readlink() 2007-07-29 11:46:03 +00:00
f740fb5336 Code cleanup 2007-07-29 11:43:56 +00:00
17c0fae701 Code cleanup 2007-07-29 11:42:54 +00:00
baa2cd5f37 Replaced lchmod() and lutimes() by utimes() for portability 2007-07-29 02:15:46 +00:00
ac0b1f8db7 Restoring access and modification times 2007-07-29 01:38:35 +00:00
2651c6e0d5 Handling device nodes 2007-07-29 01:34:40 +00:00
f4b626c678 Handling named pipes 2007-07-29 01:26:36 +00:00
c56e1ff381 Restoring original ownership and permissions 2007-07-29 01:22:23 +00:00
7b82474d4f Implemented confirmation and fixed moving directories across devices 2007-07-29 01:14:00 +00:00
67794dcc42 Supporting cross-device file renaming 2007-07-08 11:14:34 +00:00
e4831defec Code cleanup 2007-06-29 15:19:20 +00:00
6095a382c9 Cleaned error handling 2007-06-26 18:01:29 +00:00
9d1a58881b Cleaned error code 2007-06-26 18:00:29 +00:00
e07dfc0403 Works in one case (bytes, seekable) 2007-06-26 08:47:06 +00:00
39924d1c66 Started implementation 2007-06-26 08:17:30 +00:00
45a3956e23 Code cleanup fixes warnings about signedness issues 2007-06-25 09:33:44 +00:00
238e7801e7 Parsing command line arguments 2007-06-21 12:41:44 +00:00
ee6c7787cd Failing to delete a file in recursively was bailing out prematurely 2007-06-20 03:03:57 +00:00
09bd4adb64 Fixed error code when attempting to delete directories not recursively 2007-06-18 03:27:17 +00:00
58d32754ca The first two directory entries may not be "." and ".." 2007-06-18 03:21:45 +00:00
bd748050e2 Code cleanup 2007-06-18 03:19:08 +00:00
a65a1a5d5c Using errno to print the error when unable to delete a directory 2007-06-18 02:28:50 +00:00
00af06fd5e Properly licensed as part of the DeforaOS Project 2007-06-13 19:03:50 +00:00
e7b557a157 Code cleanup 2007-06-02 17:46:26 +00:00
393ef41b69 Usage and error strings were wrong 2007-06-02 15:53:19 +00:00
4654b72291 Code cleanup 2007-06-01 16:34:47 +00:00
02d40b2210 Code cleanup 2007-05-22 02:33:52 +00:00
a8f6d8366f More code cleanup 2007-05-14 18:25:31 +00:00
c8655f7c76 I believe id.c is a bit more readable now 2007-05-14 18:21:41 +00:00
d4496e5f84 Massive cleanup 2007-05-14 18:20:50 +00:00
706f34f49b Revert 1.8 2007-05-09 22:37:22 +00:00
22c02149f9 localtime() does not return NULL 2007-05-09 22:36:01 +00:00
c3f10f08f2 Code cleanup 2007-05-09 22:32:02 +00:00
52c3dfc1ea Code cleanup 2007-05-09 22:24:48 +00:00