Skip to content
Commits on Dec 7, 2011
  1. remove unnecessary headers

    committed
  2. yay! ebcdic compliance!

    committed
  3. make time parsing slightly more robust

    committed
    and a little simpler, too
Commits on Dec 6, 2011
  1. fix amusing bug

    committed
Commits on Dec 5, 2011
  1. increment return values in main

    committed
    This makes creation of a test suite for time parsing easier.
  2. fix error in comparison

    committed
  3. lump h/m/s into a struct

    committed
    add helper function to convert struct to seconds
  4. avoid unnecessary lookahead

    committed
    Worst case scenario, we multiply 10 * 0.
  5. sort includes

    committed
  6. remove alarm5.c

    committed
  7. more Makefile sanitization

    committed
  8. refactor help to accept a stream name

    committed
    always exit from help, which now exits with success if called via an
    option, but with failure if called because a bad parse.
  9. return from main, instead of calling exit

    committed
    In addition, use stdlib.h constants
  10. support H, M, S

    committed
Commits on Dec 4, 2011
  1. implement more robust option parsing

    committed
    - use GNU getopt_long
    - break out time parsing to separate functions
  2. avoid redeclaring errno

    committed
    This is an extern included by errno.h. As errno(3) warns, this is not
    a good idea.
  3. add vim modeline

    committed
  4. overhaul Makefile

    committed
    - allow user specified CFLAGS/LDFLAGS
    - allow overriding suspend command
    - allow overriding installation dirs
    - remove unneeded conversion rules
Commits on Nov 20, 2011
  1. minor formatting fixes for the help message

    fogobogo committed
  2. lots of small fixes.

    fogobogo committed
    improved argument handling and error checks
Something went wrong with that request. Please try again.