diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2011-01-02 15:19:00 +0100 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2011-01-02 15:19:00 +0100 |
| commit | 9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch) | |
| tree | 370db60ffdc2ef840b7d1124d5a392f93bba3c9d /wtime/patches/wtime.patch | |
| download | qipackages-fork-9aaeb4623d3ff5746e665bc17914eefd292b7dcd.tar.gz | |
New OpenWrt package for GNU Octave. Experimental/probably still broken.grafted
Work in progress. Committing it as compilation seems to take forever.
Not sure whether I can finish this within a few days.
Diffstat (limited to 'wtime/patches/wtime.patch')
| -rw-r--r-- | wtime/patches/wtime.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/wtime/patches/wtime.patch b/wtime/patches/wtime.patch new file mode 100644 index 0000000..9f75b66 --- /dev/null +++ b/wtime/patches/wtime.patch @@ -0,0 +1,12 @@ +--- wtime/wtime.c 2006-06-17 14:29:37.000000000 +0200 ++++ wtimem/wtime.c 2010-12-08 20:20:18.692552915 +0100 +@@ -10,7 +10,8 @@ + + typedef enum { EMPTY, STARTED, STOPPED, UNKNOWN } Tstate; + +-char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [<start>[<end>]]]\nFor more info see the man page.\n"; ++//char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [<start>[<end>]]]\nFor more info see the man page.\n"; ++char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [<start>[<end>]]]\nExamples:\n wt -a ... start counting\n wt -s ... stop counting\n wt -c ... show running time in seconds\n wt -r ... show spent time in seconds\n"; + + static int fgetlastl(FILE * fd, char *lbuf, int size) + { |
