[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CVS Commit of 'dpkg/utils start-stop-daemon.c'



Previously Ben Collins wrote:
> I noticed you switched this to use strtok() on optarg, which I think is
> probably not a good idea since it actually changes the contents of optarg.
> It think it needs to be changed back.

There is absolutely no harm in modifying optarg.. it's not the first
time I did it. It's safe since we never add any data but only change
the seperator-character to a nul-character.

Wichert.

-- 
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| wichert@liacs.nl                    http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

Attachment: pgpMeg2SQzWNQ.pgp
Description: PGP signature


Reply to: