OSDN Git Service

ar: fix two bugs, one added by prev comment and other we SEGV with no params
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 4 Jan 2010 13:30:37 +0000 (14:30 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 4 Jan 2010 13:30:37 +0000 (14:30 +0100)
commit40e5a30b66b51440f92826683c833ae23765390a
tree9ef02ecdcef5c63acfb633a8ed75fcc10ea642c7
parent2ec91aead52d6ea6a42420005119ebb281a76cdc
ar: fix two bugs, one added by prev comment and other we SEGV with no params

cpio: use optind less

function                                             old     new   delta
ar_main                                              189     184      -5
cpio_main                                            549     533     -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-21)             Total: -21 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/ar.c
archival/cpio.c