Message-ID: <4DUYJe$BuE@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 71, Issue 9
Date: Wed, 04 Aug 2004 12:25:28 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news1.google.com!newshub.sdsu.edu!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1091622328.A
Lines: 242
Xref: 74.82.202.154 cn.bbs.comp.unix:1420


Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
	freebsd-current-request@freebsd.org

You can reach the person managing the list at
	freebsd-current-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. POSIX Thread's locks failed (ngl)
   2. Re: tar -l  versus  gtar -l (Matthias Andree)
   3. Re: POSIX Thread's locks failed (Giorgos Keramidas)
   4. [current tinderbox] failure on i386/i386 (FreeBSD Tinderbox)
   5. Re: man(1) (Simon L. Nielsen)


----------------------------------------------------------------------

Message: 1
Date: Wed, 4 Aug 2004 16:58:29 +0600
From: "ngl" <ngl@ur.ru>
Subject: POSIX Thread's locks failed
To: <current@freebsd.org>
Message-ID: <0ba301c47a11$fa028b80$0202000a@spirit>
Content-Type: text/plain;	charset="koi8-r"

Hello all.

Sorry for my english.

I use libpcap and libc_r under FreeBSD 5.2.1-p9,
and i has faced a problem, that sometimes pthread_mutex
doesn't work properly. 
I'm getting packets from bpf with pcap_next function in one
thread and processing them in another. Both threads
are using the same pthread_mutex to synchronize.
Everything works perfectly, but sometimes i get errors
could arise only if synchronization failed.

regards,
Nik

------------------------------

Message: 2
Date: Wed, 04 Aug 2004 13:32:20 +0200
From: Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
Subject: Re: tar -l  versus  gtar -l
To: freebsd-current@FreeBSD.ORG
Cc: Andrey Chernov <ache@nagual.pp.ru>
Message-ID: <m3llgvi1ff.fsf@merlin.emma.line.org>
Content-Type: text/plain; charset=us-ascii

"David O'Brien" <obrien@FreeBSD.ORG> writes:

>> POSIX have higher importance. We should ignore any GNUisms in favour of 
>> POSIX overriding ones (at least to pass POSIX tests suite).
>
> But past FreeBSD (and BSD) practices should override POSIX.

Guys, please remember this is -CURRENT, not -STABLE.

Any standards conformance issues we're aware of and that are easily
fixed should be ironed out BEFORE going -STABLE or we'll be stuck with
them for another five years.

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)

------------------------------

Message: 3
Date: Wed, 4 Aug 2004 13:35:24 +0300
From: Giorgos Keramidas <keramida@linux.gr>
Subject: Re: POSIX Thread's locks failed
To: ngl <ngl@ur.ru>
Cc: current@freebsd.org
Message-ID: <20040804103524.GB4077@orion.daedalusnetworks.priv>
Content-Type: text/plain; charset=us-ascii

On 2004-08-04 16:58, ngl <ngl@ur.ru> wrote:
>
> I use libpcap and libc_r under FreeBSD 5.2.1-p9, and i has faced a problem,
> that sometimes pthread_mutex doesn't work properly.
>
> I'm getting packets from bpf with pcap_next function in one thread and
> processing them in another.  Both threads are using the same pthread_mutex
> to synchronize.  Everything works perfectly, but sometimes i get errors
> could arise only if synchronization failed.

A small program that exhibits the problem when run and a few details
about the way we should run it while trying to reproduce the problem
would be fine, IMHO.


------------------------------

Message: 4
Date: Wed,  4 Aug 2004 07:48:16 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/i386
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<i386@freebsd.org>
Message-ID: <20040804114816.2DDF77303F@freebsd-current.sentex.ca>

TB --- 2004-08-04 10:30:48 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-04 10:30:48 - starting CURRENT tinderbox run for i386/i386
TB --- 2004-08-04 10:30:48 - checking out the source tree
TB --- 2004-08-04 10:30:48 - cd /home/tinderbox/sandbox/CURRENT/i386/i386
TB --- 2004-08-04 10:30:48 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-04 10:36:29 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-04 10:36:29 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-04 10:36:29 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-08-04 11:26:05 - building generic kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-04 11:26:05 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-04 11:26:05 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Wed Aug  4 11:26:05 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for GENERIC completed on Wed Aug  4 11:38:34 UTC 2004
TB --- 2004-08-04 11:38:34 - generating LINT kernel config
TB --- 2004-08-04 11:38:34 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src/sys/i386/conf
TB --- 2004-08-04 11:38:34 - /usr/bin/make -B LINT
TB --- 2004-08-04 11:38:34 - building LINT kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-04 11:38:34 - cd /home/tinderbox/sandbox/CURRENT/i386/i386/src
TB --- 2004-08-04 11:38:34 - /usr/bin/make buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Wed Aug  4 11:38:35 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/syscons/syscons.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/syscons/sysmouse.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/dev/uart/uart_cpu_i386.c
awk -f /tinderbox/CURRENT/i386/i386/src/sys/tools/makeobjops.awk /tinderbox/CURRENT/i386/i386/src/sys/dev/acpica/acpi_if.m -c ;  cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffree
 standing -Werror -finstrument-functions -Wno-inline acpi_if.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/i386/acpica/OsdEnvironment.c
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I/tinderbox/CURRENT/i386/i386/src/sys -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/altq -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/pf -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/i386/i386/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror -finstrument-functions -Wno-inline /tinderbox/CURRENT/i386/i386/src/sys/i386/acpica/acpi_asus.c
/tinderbox/CURRENT/i386/i386/src/sys/i386/acpica/acpi_asus.c: In function `acpi_asus_led':
/tinderbox/CURRENT/i386/i386/src/sys/i386/acpica/acpi_asus.c:421: warning: 'method' might be used uninitialized in this function
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/obj/tinderbox/CURRENT/i386/i386/src/sys/LINT.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src.
*** Error code 1

Stop in /tinderbox/CURRENT/i386/i386/src.
TB --- 2004-08-04 11:48:15 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-08-04 11:48:15 - ERROR: failed to build lint kernel
TB --- 2004-08-04 11:48:15 - tinderbox aborted


------------------------------

Message: 5
Date: Wed, 4 Aug 2004 13:53:44 +0200
From: "Simon L. Nielsen" <simon@FreeBSD.org>
Subject: Re: man(1)
To: Ruslan Ermilov <ru@freebsd.org>
Cc: Rahul Siddharthan <rsidd@online.fr>
Message-ID: <20040804115343.GC41839@eddie.nitro.dk>
Content-Type: text/plain; charset="us-ascii"

On 2004.08.04 10:35:32 +0300, Ruslan Ermilov wrote:
> On Wed, Aug 04, 2004 at 09:30:12AM +0200, Simon L. Nielsen wrote:
>
> > Well, it can be done without a patch... I use the following tcsh alias
> > so I can just write 'manf foo.1' :
> >
> > groff -Wall -Tascii -te -mandoc !^ | less
> >
> You need to use ``-mtty-char -man'' to get the correct output.  (-man
> or -mandoc doesn't matter.)

OK, I will update my alias :).

So the most correct command would be:

groff -Wall -Tascii -te -mtty-char -man

?

-- 
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040804/7013f50c/attachment-0001.bin

------------------------------

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 71, Issue 9
**********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]