Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU0-SMTP211EB37BA0C55C564872DDCFDF90@phx.gbl>
Date: Sun, 17 Jun 2012 22:11:59 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Is strsep() portable enough?

Hi all,

currently parsing of --markov=... options is done with strtok().
I'd prefer using strsep(), to allow something like
--markov=mode::::10-15
instead of
--markov=mode:0:0:0:10-15
or
--markov=mode::0:10000000
--markov=mode::10000000:20000000
--markov=mode::20000000:30000000
instead of
--markov=mode:0:0:10000000
--markov=mode:0:10000000:20000000
--markov=mode:0:20000000:30000000

But I am not sure whether strsep() is portable enough.
Any opinions?

Frank

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.