[Gelistirici] [paketler-commits] r62109 - playground/murat/applications/games/nimuh

Murat Şenel muratasenel at gmail.com
23 Mar 2009 Pzt 21:55:42 EET


2009/3/23 Fatih Aşıcı <fatih at pardus.org.tr>:
> Pazartesi 23 Mart 2009 tarihinde, Murat Şenel şunları yazmıştı:
>>                                 directory = getenv("HOME");
>>                                 sprintf (tmp_dir, "mkdir %s/.%s",
>> directory, CONFIG_DIR_UNIX); system(tmp_dir);
>>                                 sprintf (directory, "%s/.%s/", directory,
>> CONFIG_DIR_UNIX);
>
> "man getenv" der ki:
>
> "As  typically  implemented, getenv() returns a pointer to a string
> within the environment list.  The caller must take care not to modify this
> string, since that would change the environment of the process."
>
> İkinci sprintf içinde directory hem hedef hem de kaynak olarak
> kullanılmış.
>
> Ekteki yama sorunu çözüyor olmalı.
>
>
> _______________________________________________
> Gelistirici mailing list
> Gelistirici at pardus.org.tr
> http://liste.pardus.org.tr/mailman/listinfo/gelistirici
>

Maalesef, hala aynı hata.

-- 
Murat Şenel



Gelistirici mesaj listesiyle ilgili daha fazla bilgi