


30 Jan  2004 

under macosx, compiled straight:

cc -traditional-cpp -Wall -ggdb -O -o dugraph dugraphpatch.c

[NOTE: renamed dugraphpatch.c dugraph.c]

----------

test
du ../ | dugraph/dugraph
	ok

----------

other tests, on macos dirs with names with embedded spaces, failed

----------

changed scan of input to read spaces - may have to add tab, bs, ??

	while (fscanf(stdin, 
	"%lu %[ A-Za-z-_0-9/%.,;:><?\"\'+|~!@#$%&*()=\\]*s\n", 
	&size, name) != EOF)

increased hard-coded name array to name[400] - not enough for depth ?

seems to work - can expect to make more changes when it fails....

changed man page to accord with need to filter out odd filepath characters




Jan  8  1998

compilation under irix 6.4 octane:

	cc -n32 -o dugraph dugraphpatch.c


flags -o32, -o32 -cckr, etc gave compilation, but executable that gave out
only a single line , the last???




Sat Jan 23 15:22:00 MST 1988

the patch in dugraph.patch1 goes in ok, but the code has a bug

when running "du /", the output begins with a double slash "//",
which is handled by the original version but not by the patched

apparently, the change in formatting in the patch, which removes
a null directory, is confused by a "//"


