Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/gnu/dist/bc/dc



Module Name:    src
Committed By:   hubertf
Date:           Mon Oct 13 21:52:40 UTC 2003

Modified Files:
        src/gnu/dist/bc/dc: dc.c

Log Message:
Prevent funny output when giving a directory name on the command line.

Before:
        $ dc ..
        miyu% dc ..
        dc: 02 unimplemented
        dc: 0 unimplemented
        dc: 0 unimplemented
        dc: input base must be a number between 2 and 16 (inclusive)
        dc: stack empty
        dc: stack empty
        dc: 'h' (0150) unimplemented
        dc: stack empty
        dc: 'u' (0165) unimplemented
        ...
        ** get heart attack suspecting major FS corruption **

After:
        $ dc ..
        Cannot use directory as input!


To generate a diff of this commit:
cvs rdiff -r1.1.1.2 -r1.2 src/gnu/dist/bc/dc/dc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index