emacsclient: getopt minor cleanup

* lib-src/emacsclient.c (shortopts): New constant.
(decode_options): Use it.  Do not assume EOF == -1.
1 job for master in 21 minutes and 26 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #119
test

00:21:26

 
Name Stage Failure
failed
test Test
Makefile:301: recipe for target 'check-doit' failed
make[2]: *** [check-doit] Error 1
make[2]: Leaving directory '/builds/tzz/emacs/test'
Makefile:271: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/builds/tzz/emacs/test'
Makefile:955: recipe for target 'check' failed
make: *** [check] Error 2
ERROR: Job failed: exit code 1