Commit Graph

440 Commits

Author SHA1 Message Date
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
991a400776 Implemented -F 2007-05-09 21:43:58 +00:00
04059075af Implemented -h and -n 2007-05-09 21:40:04 +00:00
64c96d0722 Fixed header formatting 2007-05-09 21:24:23 +00:00
c4c26a9dab Fixed header date and text with standard input 2007-05-09 21:22:25 +00:00
83088b30bb Implemented -o, Displaying time, Code cleanup 2007-05-09 21:13:18 +00:00
f3ddf49303 Implemented -d 2007-05-09 20:26:30 +00:00
97cd6d37d8 Added page number 2007-05-09 20:17:10 +00:00
ee2517359b Fix -t and -l with less than 11 lines 2007-05-09 20:15:52 +00:00
bdd46b87e2 Supports arbitrary large width 2007-05-09 20:09:08 +00:00
1cf9a01bc0 Added pr and printf 2007-05-08 16:40:00 +00:00
732c193c91 Initial release 2007-05-08 16:37:48 +00:00
288fbbe6bb Code cleanup 2007-05-08 16:37:23 +00:00
5fb3c7d88a Let df compile again on Linux 2007-03-28 05:39:38 +00:00
bc5a1b6be3 Code cleanup 2007-03-28 05:25:55 +00:00
c596ba0562 Code cleanup 2007-03-28 05:14:02 +00:00
b5132b4855 Supports systems without the d_type field in struct dirent 2007-03-28 05:03:27 +00:00
b00b5b9602 Implemented -i 2007-03-28 04:51:24 +00:00
d91bdcf3fd Displaying numerical uid and gid when unknown 2007-03-25 15:42:12 +00:00
1398021ba8 Code cleanup 2007-03-25 15:35:58 +00:00
092b5b9b0e Fixed interactive mode spurious error messages on EOF 2007-03-25 14:31:04 +00:00
27146b75d9 More adequate error messages 2007-03-17 18:53:25 +00:00
6562d4c302 Added copyright string 2007-03-17 18:18:58 +00:00
ebfb69001f Provided mv basic functionality 2007-03-17 18:06:47 +00:00
18b631ed12 Fixed error code when a memory allocation error occured 2007-03-17 18:04:16 +00:00
e36447da8f Code cleanup 2007-03-17 18:02:03 +00:00
fd174ae198 Hopefully fixed -P and -H 2007-03-17 17:53:28 +00:00
568f3e7088 Removed bloat code (-P has to be implemented another way) 2007-03-17 17:47:43 +00:00
cb8688366a With more than two file operands the last one must already be a directory 2007-03-17 17:37:37 +00:00
1ad51d9fe6 Added stub for mv 2007-03-17 17:19:50 +00:00
f648dd32b3 Code cleanup 2007-03-17 16:53:01 +00:00
7a1bab59cf Code cleanup 2007-03-17 16:46:36 +00:00
68ec0c73d0 Actually implemented -H and -P 2007-03-17 16:42:19 +00:00
bab1549e4d Implemented recursion 2007-03-17 16:06:23 +00:00
258c24e143 Safer way to print results 2007-03-16 00:12:06 +00:00
32cccc3f68 Code cleanup 2007-03-15 15:36:31 +00:00
bd13f4bb09 Code cleanup 2007-03-15 15:07:30 +00:00
7c3a909593 Code cleanup 2007-03-14 12:38:55 +00:00
4fa89f9104 Apparently fixed filesystems blocks to bytes ratio 2007-03-14 11:43:42 +00:00
35857e29b4 Implemented df on NetBSD 2007-03-14 00:16:25 +00:00
4644182264 Fixed some type size issues 2007-02-07 18:29:49 +00:00
2311c44d1c Do not assume "." and ".." are the first entries 2007-02-07 00:12:22 +00:00
9567b4bfdb Code cleanup 2007-02-07 00:10:48 +00:00
3ee6b2ff1e Code cleanup 2007-01-30 23:22:55 +00:00
5ecf649485 Added copyright strings 2007-01-30 23:22:33 +00:00
44df075eb4 Using fputs() instead of fprintf() where possible 2007-01-26 14:32:05 +00:00
d17ce1d939 Re-generated Makefiles 2007-01-19 01:36:16 +00:00
e6fc3d2532 ls was improved some time ago 2007-01-10 20:44:49 +00:00
2acab8b828 Extra arguments are not allowed 2007-01-10 05:02:01 +00:00
f31f3d439c Stricter error checking 2007-01-10 00:20:12 +00:00
31fd387308 Code cleanup 2007-01-07 22:49:02 +00:00
343a9b680c Code cleanup 2007-01-07 20:10:48 +00:00
0e1851a62b Re-generated Makefile 2006-12-14 17:59:49 +00:00
b5186ccbd7 Code cleanup 2006-11-26 14:02:17 +00:00
27a485dd8a Include Makefile in dist 2006-11-01 21:08:35 +00:00
c6bb475430 Code cleanup 2006-10-27 11:04:08 +00:00
a3c61e5358 A memory leak is left (this tool deserves a reengineering) 2006-10-27 10:45:55 +00:00
653f354b82 Fixed logical errors when closing opened files 2006-10-27 10:37:17 +00:00
f67ab1912a Fixed a memory leak 2006-10-27 10:34:19 +00:00
785e270d52 Code cleanup 2006-10-27 10:27:12 +00:00
2433c6b43f Code cleanup 2006-10-26 22:47:13 +00:00
29fb417934 Code cleanup 2006-10-26 22:40:40 +00:00
787c838913 Code cleanup 2006-10-26 22:32:27 +00:00
014c2d9816 Failed to check an fclose() call return value 2006-10-26 22:26:44 +00:00
7f0623f385 Making error on closedir() non-fatal to try to be useful and avoid memory leak 2006-10-26 22:22:50 +00:00
22f97cbcbb Did not check for errors when closing directory (memory leak also suspected) 2006-10-26 22:08:19 +00:00
434ce4bd68 Adding copyright notices 2006-10-11 07:27:47 +00:00
8f16f2bc58 Added target tail 2006-10-11 07:20:31 +00:00
b78d13a5cb tail is not implemented 2006-10-11 07:19:42 +00:00
aaeb68c8a7 Initial release 2006-10-11 07:18:22 +00:00
6026b609c7 Adding copyright notices 2006-10-11 07:15:41 +00:00
f5f1bbbcbd Code cleanup 2006-10-09 03:50:16 +00:00
e10c3531cf Aligned with other programs for preferences handling 2006-07-16 17:38:26 +00:00
812af56954 Code cleanup 2006-07-16 15:56:02 +00:00
42b44ef077 Portability fix 2006-07-14 11:58:50 +00:00
b3d5888ffc Re-generated Makefile 2006-07-14 11:49:18 +00:00
3b0a46b3fa Added target who 2006-06-02 22:53:59 +00:00
84dda62139 Code cleanup 2006-06-02 15:20:24 +00:00
0c231c1647 Code cleanup 2006-06-02 15:02:26 +00:00
aad1908656 Initial release 2006-06-02 14:50:05 +00:00
490ebff1e0 Added target df 2006-05-31 12:08:08 +00:00
098df7b088 Getting rid of a temporary variable 2006-05-30 21:43:05 +00:00
8a94ae1a86 Format string alignment (probable) fix for some platforms 2006-05-30 21:35:31 +00:00
38695ef726 Started thinking about default behaviour's implementation 2006-05-29 23:39:45 +00:00
2883d8e7b5 -T is unspecified 2006-05-29 23:32:06 +00:00
440a7559fc Implemented -k 2006-05-29 23:20:56 +00:00
800ca47f3e Initial release 2006-05-29 19:31:29 +00:00
264ae02590 Fixed potential issues with format strings 2006-04-29 19:49:51 +00:00
5bc45b6418 Returns 2 on non-usage error 2006-04-13 20:34:41 +00:00
33bc3d04f1 Code cleanup 2006-04-13 20:33:19 +00:00
88f7d838a3 Code cleanup 2006-03-18 23:45:38 +00:00
67a899d29e Added a suggestion 2006-03-18 03:16:12 +00:00
08bbf070c6 Cross-platform long mode 2006-03-17 22:53:36 +00:00
1a02627f89 Compiles on NetBSD 2006-03-17 22:44:33 +00:00
2674d60147 Code cleanup 2006-03-17 21:33:59 +00:00
f83e4d1ac2 Aligned options handling with the other utilities 2006-03-06 21:29:34 +00:00
4e970804bf Code cleanup 2006-03-06 21:28:12 +00:00
3cf2db47bb Supports numerical IDs as fallback 2006-02-27 22:30:24 +00:00
b1fb976f41 Code cleanup 2006-02-27 22:29:56 +00:00
662e748da8 Code cleanup 2006-02-15 18:45:07 +00:00
df679a66b6 Forgot to apply -t to directory listings 2006-02-11 01:31:33 +00:00
97e098f82b Implemented -t 2006-02-10 14:26:39 +00:00
2536132751 Return value error check for times() requires an explicit cast 2006-01-27 03:38:48 +00:00
e624966310 Fixed long output of symbolic links 2005-12-11 01:58:38 +00:00
8d114fc361 Added uninstallation rules 2005-10-25 15:58:43 +00:00
4a486b19bc Fixed a bug with -p and an absolute path 2005-10-25 12:18:09 +00:00
94d325a44b Added installation rules 2005-10-25 02:30:56 +00:00
04d8655e01 New configure version 2005-10-24 00:04:32 +00:00
5823aaf0b6 Added dist files 2005-10-23 23:56:40 +00:00
4bbdeb2227 Now displaying symbolic links correctly 2005-09-20 21:00:58 +00:00
f8c31a22af Code cleanup 2005-09-20 20:41:03 +00:00
c64e3f99ac Factorizing mode expression code 2005-08-27 21:11:44 +00:00
c5a36e759a Factorizing mode expression code 2005-08-27 21:05:13 +00:00
8f2b158dc9 Initial revision 2005-08-27 21:00:14 +00:00
6616bc4b1d Fixed "ls -ld" 2005-08-07 02:34:32 +00:00
6d8f6f4b92 Fixed rm interaction by default 2005-07-18 12:21:55 +00:00
5e446146e4 No need to force interaction on interactive terminals 2005-07-18 12:21:38 +00:00
2d14924d45 Added a bug for rm 2005-07-17 14:17:31 +00:00
1588519eff Unified command-line parsing 2005-07-14 17:13:14 +00:00
fa1231e0ff Code cleanup 2005-07-14 17:12:09 +00:00
6c20dff61e Fixed usage 2005-07-14 17:11:58 +00:00
6cf4acdbe9 Fixed error message 2005-07-14 17:11:40 +00:00
6f100c0a7a Fixed "-m" command line option parsing (only numerical is supported) 2005-07-14 17:11:24 +00:00
b25ac91bc8 Command-line option "-f" is not implemented 2005-07-14 17:07:43 +00:00
3b0d2849f9 Fixed error message 2005-07-14 17:05:49 +00:00
eb41fcfaad Fixed -m command line option (only numerical form is supported) 2005-07-14 16:58:16 +00:00
027c167084 *** empty log message *** 2005-06-16 01:54:32 +00:00
b801bb6047 Bugs submitted 2005-06-15 03:45:22 +00:00
1530c909f4 Upgrading to today's standards (is just barely started anyway) 2005-06-14 04:36:09 +00:00
f0e05efa18 Code cleanup 2005-06-14 04:26:22 +00:00
a2c308cb4e Code cleanup 2005-06-14 04:25:31 +00:00
6fc807ef60 According to make usage it seems like with -f rm should return success code if a file doesn't exist 2005-06-14 00:24:15 +00:00
06b36386f8 Implemented recursive unlinking 2005-06-10 22:36:33 +00:00
80cd9078de Fixed confirmation 2005-06-08 15:13:44 +00:00