Re: PThreads problem

2002-10-21 Thread Peter Pentchev
the effects be if it were to be compiled against the devel/linuxthreads port? Maybe I will try building curl with linuxthreads later today.. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint

Re: PThreads problem

2002-10-22 Thread Peter Pentchev
he idea of redirecting all signals from one process to another :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 No language can expr

Re: ctwm port and XFree86 4.2 port incompatible?

2002-10-23 Thread Peter Pentchev
t; > twm seems to work fine. > > > > All my old configs failed when I upgraded to teh new XFree86 ports. > > > > Anyone able to get it going? > > I think you meant to post this to -current... Actually, I believe -ports would have been much more appropriate.. G&

Re: Question about light-weight mutex (kind of)

2002-10-11 Thread Peter Pentchev
On Fri, Oct 11, 2002 at 02:05:08PM +0300, Peter Pentchev wrote: > On Thu, Oct 10, 2002 at 07:50:28PM -0600, Andrei Cojocaru wrote: > > Hello, > > > > I have a question, please include me in the reply specifically because I'm > > not subscribed to the mailing list.

Re: Question about light-weight mutex (kind of)

2002-10-11 Thread Peter Pentchev
block [that's why I > want it to spin]). Any hints would be appreciated thanks, once again. Would pthread_rwlock_tryrdlock(3) and pthread_rwlock_tryrdlock(3), combined with an usleep() or something, do the trick? G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTEC

Re: Suggestion: usbd.conf uses rc.conf for options

2002-10-28 Thread Peter Pentchev
o actually start writing a simple proof-of-concept thing. Funny now, the timing; I was thinking of writing up a simple rcenv(1) today or tomorrow, and then I saw this thread :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.Fre

Re: Fw: Kerenl Panic on FreeBSD 4.7 release

2002-11-05 Thread Peter Pentchev
; I managed to get the last messege of it before the reboot. > > --- > > > > Fatal trap 12:page fault while in kernel mode Take a look at the FreeBSD FAQ at http://www.FreeBSD.org/, specifically questions 5.9. and 18.13., and come back with some more data :)

Re: /usr/src/ed/bin/re.c:99

2002-11-06 Thread Peter Pentchev
is the fact that q3.1 deals with expressions where the value of 'nd' is used; here, the left side of the assignment does not 'use' the value, it *changes* it :) Hope that helps. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:

Re: PThreads problem

2002-11-27 Thread Peter Pentchev
On Tue, Oct 22, 2002 at 08:24:05AM +0300, Peter Pentchev wrote: > On Mon, Oct 21, 2002 at 10:31:48PM +0200, Linus Kendall wrote: > [snip] > > > > That was very thorough, thanks! Now I at least have a notion of what > > is going on. Since this is slightly urgent

Re: question about shared libraries and the library cache.

2002-12-01 Thread Peter Pentchev
src/etc/defaults/rc.conf CVS history. Thus, all you need to worry about is running ldconfig(8) by hand, in which case you should not forget /usr/X11R6/lib, /usr/local/lib, and any other library directories where ports might have installed stuff, such as MySQL's /usr/local/lib/mysql/. G'

Re: question about shared libraries and the library cache.

2002-12-01 Thread Peter Pentchev
On Sun, Dec 01, 2002 at 03:09:34PM -0800, Terry Lambert wrote: > Peter Pentchev wrote: > > > Reinier Kleipool wrote: > > > > I have compiled a new library, > > > > and installed it in /usr/local/lib. If I then ask ldconfig(8) to updates its > > > >

[CFR] diskpart(1) buffer overflow fix

2002-12-02 Thread Peter Pentchev
, there should be no harm in fixing it :) Attached are two patches: a trivial one which just fixes up two problems in diskpart's argument parsing, and a more complex one, which does it "the right way" IMHO, using getopt(3). Comments? G'luck, Peter -- Peter Pentch

Re: [CFR] diskpart(1) buffer overflow fix

2002-12-02 Thread Peter Pentchev
On Mon, Dec 02, 2002 at 01:58:09PM +0200, Peter Pentchev wrote: > Hi, > > As noted on the vuln-dev list recently, the diskpart(1) program in > -stable is susceptible to a buffer overflow in the parsing of > command-line arguments. This is a low-risk problem, since diskpart(1) >

Re: [CFR] diskpart(1) buffer overflow fix

2002-12-02 Thread Peter Pentchev
On Mon, Dec 02, 2002 at 01:37:52PM +0100, Thomas Quinot wrote: > Le 2002-12-02, Peter Pentchev ?crivait : > > > > Attached are two patches: a trivial one which just fixes up two problems > > > in diskpart's argument parsing, and a more complex one, which does it >

Re: /usr/bin/finger problems...

2002-12-03 Thread Peter Pentchev
patches :) Of course, PR's without patches are not taken any less seriously, it's just that they may be delayed a bit, until somebody figures out exactly what the problem is and how to fix it. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:

Re: Need to override KRNLCONFDIR variable in command line of make (file /usr/src/Makefile.inc1).

2002-12-03 Thread Peter Pentchev
sing information about your particular configuration. Still, I believe that for most configurations, the already-provided variables and build infrastructure are quite sufficient. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.Fre

Re: booting multiple kernels

2002-12-04 Thread Peter Pentchev
ntil somebody walks up to the machine and manually changes the booted kernel by interrupting the loader. I believe this is not quite what Rashim asked for... G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.

Re: CVS_LOCAL_BRANCH_NUM?

2002-12-11 Thread Peter Pentchev
ver' keyword and one 'allow-root' option). The quotes around "$@" would make the whole param string be passed as a single parameter to the "real" CVS binary, which might not be quite the desired result... G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED]

Re: CVS_LOCAL_BRANCH_NUM?

2002-12-11 Thread Peter Pentchev
On Wed, Dec 11, 2002 at 10:40:04AM +0100, Stijn Hoop wrote: > On Wed, Dec 11, 2002 at 10:59:55AM +0200, Peter Pentchev wrote: > > On Tue, Dec 10, 2002 at 11:56:26AM -0800, Lamont Granquist wrote: > > > On Tue, 10 Dec 2002, Dmitry Morozovsky wrote: > > > > Please n

Re: kernel/userland ssh filesystem for FreeBSD?

2002-12-11 Thread Peter Pentchev
aemon which handles them. > > Now the question: if I wanted to do something similar for FreeBSD, how > would I do it? Any high-level hints? Take a look at mount_portal(8). G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.Fr

Re: kernel/userland ssh filesystem for FreeBSD?

2002-12-11 Thread Peter Pentchev
On Wed, Dec 11, 2002 at 02:34:44PM +0200, Peter Pentchev wrote: > On Wed, Dec 11, 2002 at 10:04:06AM +0100, Marco Molteni wrote: [snip] > > Quoting from http://lufs.sourceforge.net/lufs/intro.html: > > > > LUFS is a hybrid userspace filesystem framework supporting an inde

Re: network backup

2002-12-13 Thread Peter Pentchev
on the fly to space disk space? having 100GB of text files > compressed can save quite a few gigs. Take a look at the rsync manual page, specifically at the '-z' option :) G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people

Re: Reading rc.conf from C programs?

2003-01-02 Thread Peter Pentchev
. /etc/defaults/rc.conf source_rc_confs elif [ -r /etc/rc.conf ]; then . /etc/rc.conf fi This way you get the additional benefit of reading variables from other files besides /etc/rc.conf, like e.g. /etc/rc.conf.local; without this, you might miss important configudation data in some se

Re: Locale errors on 5.0-CURRENT (sparc)

2003-01-03 Thread Peter Pentchev
g trouble setting LC_ALL for any locale I tried. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence would be seven words long if

Re: Locale errors on 5.0-CURRENT (sparc)

2003-01-03 Thread Peter Pentchev
On Fri, Jan 03, 2003 at 02:31:41PM +0200, Peter Pentchev wrote: > On Fri, Jan 03, 2003 at 12:00:57PM +, Olafur Osvaldsson wrote: > > Hi, > > I'm having some problems with seting the locale on 5.0 wich I have set > > up on sparc hardware...I'm pretty sure this is

Re: Is it possible to have file removed upon process exit?

2010-11-27 Thread Peter Pentchev
a descriptor of the file. This > >>> approach, however, have a side effect that other processes would not be > >>> able to access the file via its name. G'luck, Peter -- Peter Pentchev r...@space.bgr...@ringlet.netr...@freebsd.org PGP key:http://peop

Re: question about CFLAGS, CXXFLAGS and DEBUG_FLAGS

2010-12-18 Thread Peter Pentchev
ign the debug flags to both CFLAGS *and* > CXXFLAGS? Uhm... yes, so they can be used in both C and C++ programs :) ...or are you making the mistake I've made too many times (and still make sometimes) of confusing CXXFLAGS with CPPFLAGS? :) G'luck, Peter -- Peter Pentchev

Re: question about CFLAGS, CXXFLAGS and DEBUG_FLAGS

2010-12-19 Thread Peter Pentchev
On Sat, Dec 18, 2010 at 09:24:31PM +, Alexander Best wrote: > On Sat Dec 18 10, Peter Pentchev wrote: > > On Sat, Dec 18, 2010 at 08:09:37PM +, Alexander Best wrote: > > > hi there, > > > > > > i just stumbled over these lines: > > > >

Re: setsid not found on freebsd

2011-02-14 Thread Peter Pentchev
mand as a session group leader in the style of daemon(8) (but without detaching or daemonizing :) I think it might not be too hard to implement it under FreeBSD. G'luck, Peter -- Peter Pentchev r...@ringlet.net r...@freebsd.org pe...@packetscale.com PGP key:http://people.FreeBSD.

Re: mdoc(8) files (man files) editor?

2011-09-14 Thread Peter Pentchev
at new line, like .Xr and .Nm make editing > these files in generic-purpose text editor very uncomfortable, IMHO. Vim seems to automagically switch into 'nroff mode' and editing is actually quite nice and easy, IMHO. G'luck, Peter -- Peter Pentchev r...@ringlet.net r...@freeb

Re: GSoC: Making ports work with clang

2010-05-03 Thread Peter Pentchev
I've mentioned above, just because some ports > don't compile, it doesn't affect this project too much. Well said, well meant. Kudos. Thanks for your work so far, and thanks for taking up that GSoC project. G'luck, Peter -- Peter Pentchev r...@ringlet.netr...@space.bg

Re: Are POSIX mqueues supposed to be functional on FreeBSD?

2010-06-20 Thread Peter Pentchev
ot guaranteeing that the code below doesn't have bugs in it as > I'm not the original author and the tests were originally written and > targeted towards Linux. Do you have the P1003_1B_MQUEUE option in your kernel config? G'luck, Peter -- Peter Pentchev r...@space

Re: using cupsd instead of base lpr

2010-06-24 Thread Peter Pentchev
hand, and your choice is honored even if later a package with an even higher priority is installed. G'luck, Peter -- Peter Pentchev r...@space.bgr...@ringlet.netr...@freebsd.org PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF

Re: an alternative to powerpoint

2010-07-13 Thread Peter Pentchev
t in, although I myself am quite used to typing HTML. G'luck, Peter -- Peter Pentchev r...@space.bgr...@ringlet.netr...@freebsd.org PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This senten

Re: How to disallow logout

2010-09-11 Thread Peter Pentchev
: > > trap '/path/to/script' EXIT > > > Should execute the contents of that script on every logout. Whether that > > script is a line by line action or a fully qualified script with > > functions to call different actions are up to you. ...but, of co

Re: Improve OptionalObsoleteFiles.inc

2010-10-04 Thread Peter Pentchev
), this > > should still work. Depending on the setup of the aliases, > > backup-aliases will still work too. I haven't checked for the other > > ones. > > If you want to keep some "old" files, you just need to press `n' instead of > `y' > when

Re: Wine on amd64 in 32 bit jail

2009-11-26 Thread Peter Pentchev
all the ioctl's and setsockopt's have the > proper glue code under COMBAT_FREEBSD32... That was actually a nice typo :P G'luck, Peter -- Peter Pentchev r...@ringlet.netr...@space.bgr...@freebsd.org PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A

Re: [RFC] The official logo for logo_saver?

2010-04-07 Thread Peter Pentchev
sctl's and new ones shouldn't be added for trifles, but still... :) G'luck, Peter -- Peter Pentchev r...@ringlet.netr...@space.bgr...@freebsd.org PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF

Re: Modifying ELF files

2010-04-08 Thread Peter Pentchev
ctory - unless you require from the user to specify a temporary directory you can use on the same filesystem). Then, read the original file, write into the new one, and when you're ready, do a rename(tempfile, realfile). Hope that helps. G'luck, Peter -- Peter Pentchev r...@space.bgr...@ringlet.netr...@freebsd.org PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 signature.asc Description: Digital signature

Re: SMP Version of tar

2012-10-08 Thread Peter Pentchev
the result to the output file in order. Of course, this would incur a small penalty in that the dictionary would not be reused between blocks, but it might still be worth it. G'luck, Peter -- Peter Pentchev r...@ringlet.net r...@freebsd.org pe...@packetscale.com PGP key:http://people.F

<    1   2   3   4   5