[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:
> It should atleast be strdup'd so we don't change the actual optarg. Future
> additions to the program might depend on the arg being unchanged, so we
> shouldn't make it more difficult in this way.

But strdup isn't as portable and it's currently not needed anyway..
oh well, I've update my source to copy the string first.


 / 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: pgpyyaGgovVS5.pgp
Description: PGP signature

Reply to: