[prev in list] [next in list] [prev in thread] [next in thread] 

List:       popt-devel
Subject:    Using fnmatch(3) for popt alias/exec poptrc config
From:       Jeff Johnson <n3npq () mac ! com>
Date:       2008-05-12 16:47:12
Message-ID: 7E6B8624-2332-42C4-894D-21D7CEC5AF40 () mac ! com
[Download RAW message or body]

SSIA

(aside) I've wanted to have the abilty to attach popt alias/exec to  
argv[0] from
poptrc configuration using fnmatch(3) for years. Only legacy forward  
compatibility has stopped me ...

For portability to the fnmatch(3) deprived, I'll work up a strncmp match
to handle a trailing "*" splat without needing fnmatch(3). That should
cover the common usage case.

todo++

73 de Jeff
______________________________________________________________________
POPT Library                                           http://rpm5.org
Developer Communication List                       popt-devel@rpm5.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic