[so] LS innainte de RD
Cristi B
cristib84 at yahoo.com
Mon Dec 18 12:07:52 EET 2006
Am gasit de ce, la comanda "ls" foloseam si structura "struct stat*" pe care nu o alocam de fiecare data(alocam o data la inceputul programului si se pare ca se invalida pe parcursul rularii)
Cristi B <cristib84 at yahoo.com> wrote: Exista vreo interferenta intre functia closedir() si aio_read ? De fiecare care data cand incerc comanda "ls" innainte de "rd" imi da segmentation fault. Am comentat "closedir()" si nu mai da eroarea.
Din cate am observat eu seg. fault-ul apare exact cand vrea sa scrie in buffer, dar nu inteleg ce legatura are closedir() cu el.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com _______________________________________________
so mailing list
so at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20061218/4011a6c9/attachment.html
More information about the so
mailing list