On Sat, Dec 22, 2012 at 9:22 AM, Kurt Van Dijck kurt.van.di...@eia.be wrote:
b) man 3 asprintf
will eliminate 1/3 of your code
afaik asprintf is a gnu extension and isn't posix,
although it seems that both uclib and musl support it.
~cjh
Greetings.
On Wed, 26 Dec 2012 08:29:24 +0100 Chris Hall followingthep...@gmail.com
wrote:
On Sat, Dec 22, 2012 at 9:22 AM, Kurt Van Dijck kurt.van.di...@eia.be wrote:
b) man 3 asprintf
will eliminate 1/3 of your code
afaik asprintf is a gnu extension and isn't posix,
although it
First of all, thank you for your patience with the beginner I am,
because I still have a lot to learn.
Concerning French parts, you're right, it's a big mistake. I just forgot
to translate comments.
a) I would have put your username Mail folder as parameters,
argv[1] argv[2] or so.
I'm
On Fri, Dec 21, 2012 at 5:45 PM, Christoph Lohmann 2...@r-36.net wrote:
Greetings.
On Fri, 21 Dec 2012 17:45:28 +0100 Xavier Cartron thu...@singularity.fr
wrote:
Hello,
I tried my first piece of C into adding a mail counter to dwmstatus.
The code is added on the wiki [1]
Please correct
Raphael Proust raphla...@gmail.com writes:
On Fri, Dec 21, 2012 at 5:45 PM, Christoph Lohmann 2...@r-36.net wrote:
Please, use English while programming. There is no justification for lo‐
calized sourcecode.
I am trying to come up with one, but it's hard. Obfuscation maybe?
I can think of
On 12/22/2012 09:00 AM, Thuban wrote:
First of all, thank you for your patience with the beginner I am,
because I still have a lot to learn.
Concerning French parts, you're right, it's a big mistake. I just forgot
to translate comments.
You did a mistake indeed, but it's not where you think it
On Sat, Dec 22, 2012 at 09:00:06AM +0100, Thuban wrote:
First of all, thank you for your patience with the beginner I am,
because I still have a lot to learn.
Concerning French parts, you're right, it's a big mistake. I just forgot
to translate comments.
I would do:
@@ -1,7 +1,3 @@
-//
Hello,
I would do:
[snip]
@@ -1,7 +1,3 @@
+
+ if (!argv[1]) {
+ fprintf(stderr, usage: %s DIRECTORY [NAME]\n);
+ exit(1);
+ }
Ok, I see. But it doesn't seems easier to use in a big dwmstatus showing
other things that new mails. Am I
Hello,
I tried my first piece of C into adding a mail counter to dwmstatus.
The code is added on the wiki [1]
Please correct my mistakes.
Regards,
[1] http://dwm.suckless.org/dwmstatus/mail_counter.c
--
,--. Xavier Cartron
: /` ) M2 MEFPC
| `-' Debian user
Greetings.
On Fri, 21 Dec 2012 17:45:28 +0100 Xavier Cartron thu...@singularity.fr wrote:
Hello,
I tried my first piece of C into adding a mail counter to dwmstatus.
The code is added on the wiki [1]
Please correct my mistakes.
First thanks for your commit, but you made a big mistake. You
On Dec 21, 2012 11:53 AM, Christoph Lohmann 2...@r-36.net wrote:
Greetings.
On Fri, 21 Dec 2012 17:45:28 +0100 Xavier Cartron thu...@singularity.fr
wrote:
Hello,
I tried my first piece of C into adding a mail counter to dwmstatus.
The code is added on the wiki [1]
Please correct my
Christoph Lohmann 2...@r-36.net wrote:
On Fri, 21 Dec 2012 18:07:18 +0100 Carlos Torres vlaadbr...@gmail.com wrote:
Does suckless really mean stink free in German?
No, but »suck« has many meanings in English, which is why it was picked
for the English propaganda. But in German »stinkt
* s...@alternametz.org 2012-12-21 19:20
To me the less in suckless was nearer to the german suffix los than to
german weniger
but it's maybe a bit idealistic.
It is.
“suckless.org software that sucks less”
http://suckless.org/philosophy
best
--s_
On Friday, December 21, 2012, sta...@cs.tu-berlin.de wrote:
* s...@alternametz.org 2012-12-21 19:20
To me the less in suckless was nearer to the german suffix los than to
german weniger
but it's maybe a bit idealistic.
It is.
I like dwm, but you guys are getting retarded up in here.
Hi,
a) I would have put your username Mail folder as parameters,
argv[1] argv[2] or so.
b) man 3 asprintf
will eliminate 1/3 of your code
c) you seem to have 2 coding styles mixes together: tabs vs. 4 spaces.
I don't care about your French, although I think your comments that are in
15 matches
Mail list logo