Commit graph

14 commits

Author SHA1 Message Date
anthraxx 6128aef57a adding +x to shell-scripts 2014-06-10 14:00:21 +02:00
anthraxx 6a3da8153d rename my_string to input_str for better naming 2014-06-10 13:03:34 +02:00
anthraxx ea0b0d95e6 reduce complexity + just free() in a single place
- therefor if the program gets extended, its unlikly that
  someone will forget to call free()
- also this gets rid of copy-paste free() calls (which look stupid)
2014-06-10 13:01:34 +02:00
anthraxx bf5f98649d explicitly import string.h for strcmp()
- implicitly declaring library function is bad manner :)
2014-06-10 12:47:40 +02:00
anthraxx 320c09285c fixing memleak of input char*
- adding missing free() calls
- dont malloc ourselves as getline() also does a malloc
  (and anyway called realloc before if the size_t was
   smaller then the actual len(input-line) to behaviour
   is the same!)
2014-06-10 12:45:25 +02:00
Felix Favre 295b44aff4 remove trailing spaces 2014-06-07 18:40:16 +02:00
Felix Favre ff17c7f33e add trailing spaces 2014-06-07 18:39:45 +02:00
Felix Favre 03f9a6ff60 removed debug outputs 2014-06-07 18:36:07 +02:00
Felix Favre efc93bdc6a Added little c-Script to ask for a Password 2014-06-07 18:21:13 +02:00
Felix Favre 2a81047145 Added .gitignore File 2014-06-07 18:20:45 +02:00
Felix Favre 74a2f637b7 readme format fix 2014-06-06 13:52:30 +02:00
Felix Favre bfb7ee68e4 extended readme 2014-06-06 13:51:46 +02:00
Felix Favre 8a9790be72 added readme 2014-06-06 13:51:03 +02:00
Felix Favre 33314ad2a5 Initial commit with current scripts 2014-06-06 13:48:56 +02:00