Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: AC Codin' Style[ was lug-bg: Kernel 2.4.11]


  • Subject: Re: AC Codin' Style[ was lug-bg: Kernel 2.4.11]
  • From: vasil@xxxxxxxxxxx (Vasil Kolev)
  • Date: Fri, 12 Oct 2001 12:03:20 +0300 (EEST)



On Thu, 11 Oct 2001, Petko Boukov wrote:

> Syglasen sym, primeryt ti e udachen. V takyv tochno sluchaj goto
> pesti dublirane na kod. Az nqmashe da napravq usloviqta vlozheni, no
> shtqh da dubliram RELEASE-ite:
>
> if (!SUCCEEDED(1))
>         return FAILED;
> if (!SUCCEEDED(2)) {
>         RELEASE(1);
>         return FAILED;
> }
> if (!SUCEEDED(3)) {
>         RELEASE(2);
>         RELEASE(1);
>         return FAILED;
> }
> return SUCCESS;
>
> Tova obache haresva li ti?
>
> $ find /usr/src/linux-2.4.10 -type f -name "*.c" -exec grep goto {} \; | wc -l
>   13232
>
> Nqmam podryka BSD kernel, ama ot tova, koeto sym vidql v TCP/IP
> Illustrated vol.2 v tehniq tcp/ip stack ne slagat goto za shtqlo i
> neshtqlo.
>
> Petko
>
:) az imam :
root@freebsd:~# find /usr/src/sys  -type f -name "*.c" -exec grep goto {}  \; | wc -l
    5564

Koeto pak ne e malko, ponezhe prakticheski source na fbsd kernela e 71 mb
( 4.4 release, ako ne se luzha), a linux-2.4.11 e nqkude okolo 100-110 mb,
kato razlikata e osnovno v driveri, v koito goto se polzva dosta chesto.

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.