dus.git
14 years agoFixed a bug when given a filename of length 0 as argument (i.e. "").
Francois Fleuret [Sat, 5 Jun 2010 23:26:40 +0000 (01:26 +0200)]
Fixed a bug when given a filename of length 0 as argument (i.e. "").

14 years agoNow lists the content of dir if their names end with a '/'.
Francois Fleuret [Sat, 5 Jun 2010 09:35:35 +0000 (11:35 +0200)]
Now lists the content of dir if their names end with a '/'.

14 years agoFixed the version number.
Francois Fleuret [Sat, 17 Apr 2010 19:46:21 +0000 (21:46 +0200)]
Fixed the version number.

14 years agoCosmetics.
Francois Fleuret [Tue, 30 Mar 2010 07:33:57 +0000 (09:33 +0200)]
Cosmetics.

14 years agoCosmetics.
Francois Fleuret [Tue, 30 Mar 2010 06:33:01 +0000 (08:33 +0200)]
Cosmetics.

14 years agoInitial commit.
Francois Fleuret [Mon, 22 Mar 2010 07:58:50 +0000 (08:58 +0100)]
Initial commit.

14 years agoDo not ignore ./something when the -d option is on.
Francois Fleuret [Mon, 22 Mar 2010 07:57:29 +0000 (08:57 +0100)]
Do not ignore ./something when the -d option is on.

14 years agoChanged all the sprintf into snprintf, removed an unused routine.
Francois Fleuret [Thu, 18 Mar 2010 08:23:08 +0000 (09:23 +0100)]
Changed all the sprintf into snprintf, removed an unused routine.

14 years agoRemoved a superfluous space in the non-fancy display.
Francois Fleuret [Thu, 18 Mar 2010 08:00:45 +0000 (09:00 +0100)]
Removed a superfluous space in the non-fancy display.

14 years agoNow take the -c option into account.
Francois Fleuret [Thu, 18 Mar 2010 07:01:43 +0000 (08:01 +0100)]
Now take the -c option into account.

14 years agoCosmetics in usage().
Francois Fleuret [Thu, 18 Mar 2010 06:54:44 +0000 (07:54 +0100)]
Cosmetics in usage().

14 years agoCosmetics.
Francois Fleuret [Wed, 17 Mar 2010 07:13:23 +0000 (08:13 +0100)]
Cosmetics.

14 years agoCosmetics.
Francois Fleuret [Tue, 16 Mar 2010 18:47:17 +0000 (19:47 +0100)]
Cosmetics.

14 years agoRemove the buggy "..." when files are too small to be listed.
Francois Fleuret [Tue, 16 Mar 2010 18:22:02 +0000 (19:22 +0100)]
Remove the buggy "..." when files are too small to be listed.

14 years agoAdded the long options.
Francois Fleuret [Tue, 16 Mar 2010 18:19:07 +0000 (19:19 +0100)]
Added the long options.

14 years agoAdded "..." to tty display when the list is truncated.
Francois Fleuret [Tue, 16 Mar 2010 17:53:31 +0000 (18:53 +0100)]
Added "..." to tty display when the list is truncated.

14 years agoI decided this was not an alpha version anymore.
Francois Fleuret [Sat, 13 Mar 2010 20:29:14 +0000 (21:29 +0100)]
I decided this was not an alpha version anymore.

14 years agoChanged printf(a) to printf("%s", a) to avoid a warning with gcc 4.4.
Francois Fleuret [Sat, 13 Mar 2010 11:51:53 +0000 (12:51 +0100)]
Changed printf(a) to printf("%s", a) to avoid a warning with gcc 4.4.

14 years agoAdded include <sys/params> so that PATH_MAX is defined on FreeBSD.
Francois Fleuret [Thu, 11 Mar 2010 07:03:02 +0000 (08:03 +0100)]
Added include <sys/params> so that PATH_MAX is defined on FreeBSD.

14 years agoFixed the \n at the top.
Francois Fleuret [Mon, 8 Mar 2010 12:46:24 +0000 (13:46 +0100)]
Fixed the \n at the top.

14 years agoReplaced BUFFER_SIZE with PATH_MAX where it makes sense.
Francois Fleuret [Sun, 7 Mar 2010 16:52:40 +0000 (17:52 +0100)]
Replaced BUFFER_SIZE with PATH_MAX where it makes sense.

14 years agoRemoved the error when the tty size can not be obtained and just ignore it.
Francois Fleuret [Sun, 7 Mar 2010 10:47:44 +0000 (11:47 +0100)]
Removed the error when the tty size can not be obtained and just ignore it.

14 years agoTypo.
Francois Fleuret [Sun, 7 Mar 2010 09:16:02 +0000 (10:16 +0100)]
Typo.

14 years agoAdded an option to set a lower size bound for printing.
Francois Fleuret [Sun, 7 Mar 2010 09:14:56 +0000 (10:14 +0100)]
Added an option to set a lower size bound for printing.

14 years agoFixed the date.
Francois Fleuret [Fri, 5 Mar 2010 10:09:19 +0000 (11:09 +0100)]
Fixed the date.

14 years agoCosmetics.
Francois Fleuret [Fri, 5 Mar 2010 10:04:40 +0000 (11:04 +0100)]
Cosmetics.

14 years agoFixed the summary.
Francois Fleuret [Fri, 5 Mar 2010 09:06:13 +0000 (10:06 +0100)]
Fixed the summary.

14 years agoInitial commit.
Francois Fleuret [Fri, 5 Mar 2010 09:04:38 +0000 (10:04 +0100)]
Initial commit.

14 years agoAdded a man page.
Francois Fleuret [Fri, 5 Mar 2010 09:03:07 +0000 (10:03 +0100)]
Added a man page.

14 years agoAdded the information from uname in the help.
Francois Fleuret [Fri, 5 Mar 2010 07:03:32 +0000 (08:03 +0100)]
Added the information from uname in the help.

14 years agoRemoved the REVISION_NUMBER. Prints help on either stderr or stdout.
Francois Fleuret [Fri, 5 Mar 2010 06:49:44 +0000 (07:49 +0100)]
Removed the REVISION_NUMBER. Prints help on either stderr or stdout.

14 years agoPrint errors to stderr.
Francois Fleuret [Fri, 5 Mar 2010 06:45:11 +0000 (07:45 +0100)]
Print errors to stderr.

14 years agoFixed a bug in the arguments of raw_print and fancy_print.
Francois Fleuret [Sat, 27 Feb 2010 10:14:18 +0000 (11:14 +0100)]
Fixed a bug in the arguments of raw_print and fancy_print.

14 years agoAdded the -c options in the -h help + cosmetics.
Francois Fleuret [Sat, 27 Feb 2010 09:40:54 +0000 (10:40 +0100)]
Added the -c options in the -h help + cosmetics.

14 years agoAdded malloc check, and printing constrained to the tty width.
Francois Fleuret [Sat, 27 Feb 2010 09:33:47 +0000 (10:33 +0100)]
Added malloc check, and printing constrained to the tty width.

14 years agoAdded an option to show the top of the list instead of the bottom.
Francois Fleuret [Fri, 26 Feb 2010 22:10:15 +0000 (23:10 +0100)]
Added an option to show the top of the list instead of the bottom.

14 years agoFixed a stupid bug with the return value type of getopt.
Francois Fleuret [Fri, 26 Feb 2010 19:21:52 +0000 (20:21 +0100)]
Fixed a stupid bug with the return value type of getopt.

14 years agoAdded an option to revert the sort order.
Francois Fleuret [Fri, 26 Feb 2010 18:29:39 +0000 (19:29 +0100)]
Added an option to revert the sort order.

14 years agoThis version works and has options.
Francois Fleuret [Fri, 26 Feb 2010 17:18:03 +0000 (18:18 +0100)]
This version works and has options.

14 years agoAdded the option parsing.
Francois Fleuret [Fri, 26 Feb 2010 17:17:51 +0000 (18:17 +0100)]
Added the option parsing.

14 years agoAdded an option ignore_dotfiles.
Francois Fleuret [Fri, 26 Feb 2010 09:57:00 +0000 (10:57 +0100)]
Added an option ignore_dotfiles.

14 years agoChanged the buffer size, added the setlocale.
Francois Fleuret [Thu, 25 Feb 2010 21:09:45 +0000 (22:09 +0100)]
Changed the buffer size, added the setlocale.

14 years agoCosmetic changes in the license header.
Francois Fleuret [Thu, 25 Feb 2010 18:07:00 +0000 (19:07 +0100)]
Cosmetic changes in the license header.

14 years agoAdded the gpl-3.0.txt
Francois Fleuret [Thu, 25 Feb 2010 18:04:12 +0000 (19:04 +0100)]
Added the gpl-3.0.txt

14 years agoPasses the LFS options to cc.
Francois Fleuret [Thu, 25 Feb 2010 18:01:10 +0000 (19:01 +0100)]
Passes the LFS options to cc.

14 years agoChecks the tty height. Takes the content of '.' if no arguments.
Francois Fleuret [Thu, 25 Feb 2010 18:00:53 +0000 (19:00 +0100)]
Checks the tty height. Takes the content of '.' if no arguments.

14 years agoFinished the routine to print in size order.
Francois Fleuret [Wed, 24 Feb 2010 07:10:41 +0000 (08:10 +0100)]
Finished the routine to print in size order.

14 years agoAdded an embryo of the main routine to print the result.
Francois Fleuret [Wed, 24 Feb 2010 07:01:29 +0000 (08:01 +0100)]
Added an embryo of the main routine to print the result.

14 years agoChanged the license header.
Francois Fleuret [Wed, 24 Feb 2010 06:41:29 +0000 (07:41 +0100)]
Changed the license header.

14 years agoChanged the license header.
Francois Fleuret [Wed, 24 Feb 2010 06:41:02 +0000 (07:41 +0100)]
Changed the license header.

14 years agoInitial commit.
Francois Fleuret [Tue, 23 Feb 2010 18:21:28 +0000 (19:21 +0100)]
Initial commit.