Re: [PATCH v2] parse-opt: migrate builtin-ls-files.

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

 



On Wed, Jan 07, 2009 at 03:11:34AM +0000, Miklos Vajna wrote:

> +static int option_parse_ignored(const struct option *opt,
> +				const char *arg, int unset)
> +{
> +	struct dir_struct *dir = opt->value;
> +
> +	if (unset)
> +		dir->show_ignored = 0;
> +	else
> +		dir->show_ignored = 1;

dir->show_ignored = !unset ?

> +static int option_parse_directory(const struct option *opt,
> +				  const char *arg, int unset)
> +{

ditto

> +static int option_parse_empty(const struct option *opt,
> +				 const char *arg, int unset)
> +{

ditto


-- 
·O·  Pierre Habouzit
··O                                                madcoder@xxxxxxxxxx
OOO                                                http://www.madism.org

Attachment: pgp4YpQQ5z25B.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux