Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 11 Aug 2012 21:05:41 +0200
From: Daniel Cegiełka <daniel.cegielka@...il.com>
To: musl@...ts.openwall.com
Subject: Re: Priorities for next release?

>> what you think? It works for me... so why basename(argv[0])?
>>
>> Daniel
>
> basename() is for stripping path objects, for example, when you run
> prog via full path, /bin/true, basename("/bin/true") = "true"
>
> See man 3 basename

Indeed, it is better. However, if you run from $PATH, it works ok
without basename().

Thanks for suggestion :)

Daniel

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.