Guido van Rooij <[EMAIL PROTECTED]> writes:
> May I aks which shell you are using?
Zsh.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Bernd Walter <[EMAIL PROTECTED]> writes:
> In short: The data is tranfered into the kernel and dropped there.
The data is never transferred into the kernel. There is no copyin()
or uiomove() there.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL
run PPP
over SSH. On the inside box, set up a single static route to the
outside box and let PPP take care of the default route. The outside
box should run natd or ipnat unless you have a spare IP address you
can use for the PPP link.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: se
Seth Kingsley <[EMAIL PROTECTED]> writes:
> Why not remove it after using it to restore the mixer state? It would
> only exist to survive a reboot.
You'd have to reset everything manually after a crash.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: se
him there :)
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ith it.
Read the announcement again. FreeBSD 5.x will still have DoC support,
which means you have at least two years to grow tired of it before we
stop putting out 5.x releases. By that time you will hopefully have
realised it is a dead-end technology and switched to something that
works.
Sergey Babkin <[EMAIL PROTECTED]> writes:
> Also the GNU grep has a lot more options, the most interesting
> of them being -r.
Unfortunately, GNU grep's -r option is broken (it does not handle
symnlinks correctly). Try textproc/freegrep from ports instead.
DES
--
Dag-Erling
ow has a new version-number
> > in it.
> This is an oft-requested feature, but I'm not sure how best to implement
> it.
Look up the -I option in the diff(1) man page.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ff twice... no more
than you already do (any reason why you don't use cmp instead of diff
on line 815?)
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
db(1) uses. You can get
additional information about memory maps etc. from procfs.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Sergey Matveychuk <[EMAIL PROTECTED]> writes:
> What is OSVERSION num right after OpenPAM implemented?
What problem are you trying to solve?
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers"
for PR.
If you've fixed it in a way which requires knowing whether the system
runs Linux-PAM or OpenPAM, you've fixed it wrong.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
onditional on the _OPENPAM preprocessor symbol.
> What fix will be a right one?
I can't tell you unless you show me what you believe needs fixing.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
"Sergey Matveychuk" <[EMAIL PROTECTED]> writes:
> What a right way escape from PAM_CONV_AGAIN/PAM_TRY_AGAIN and relate code
> from LINUX_PAM?
Shoot the module author for using it, and Andrew Morgan (Linux-PAM
author) for inventing it.
DES
--
Dag-Erling Smorgrav -
odified before release. The
exact nature of that database is not important.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
o examine a string directly via getenv() etc, those would not be
> too late.
It wouldn't be too late for loadable modules...
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ne you want
is the last one in the list that has a lower address than c0174830.
How do you build your kernels - 'make buildkernel' or manually?
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
d the value of x, y
and udev (as reported by gdb operating on the recovered core)
> > How do you build your kernels - 'make buildkernel' or manually?
> Always make buildkernel. I have a debug kernel built as well
> (makeoptions DEBUG=-g)
That's what I wanted to know.
DE
Mike Tancsa <[EMAIL PROTECTED]> writes:
> Thank you very much, I will do so as soon as I get the dump. BTW,
> could the act of giving the wrong params to dumpon cause the crash ?
No, it wouldn't.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to
one less than a power of two.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Peter Jeremy <[EMAIL PROTECTED]> writes:
> In any case, doesn't the name imply that it's 31-bits...
Yes, it's a bad name.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
=160) at /usr/src/sys/kern/kern_conf.c:207
These numbers look perfectly valid (cuaia0). The only explanation I
can think of is some kind of race, or some kind of corruption.
Hopefully somebody more clued than myself will be able to figure it
out.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To U
cessful. Its only on periodic that it
> dies and find is always the process running. Its only with SMP as well
> on this 'oldish' machine
Hmm, it would be great to know what process was running when it
crashed. Unfortunately, I don't know how to do that post-KSE...
DES
--
at this hasn't percolated down to -STABLE yet.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
e manager with RAID functionality.
> Is Vinum just a front-end to the ata system?
No, it's completely device independent.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
efore 1996 uncompilable.
have you tried -traditional?
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ten by the Linux bug.
May I remind you that K&R-style declarations have been deprecated for
the last 14 years?
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hacke
Wes Peters <[EMAIL PROTECTED]> writes:
> On Thursday 29 May 2003 00:12, Dag-Erling Smorgrav wrote:
> > May I remind you that K&R-style declarations have been deprecated for
> > the last 14 years?
> Funny, the last time I looked at a C language specification
Valentin Nechayev <[EMAIL PROTECTED]> writes:
> Essential words are understriked. I can't imagine how it can be read
> as "unsupported".
I didn't use the word "unsupported", I said "deprecated&qu
Vlad GALU <[EMAIL PROTECTED]> writes:
> Hello. I am trying to write a monitoring program
> which makes use of the kvm interface.
procfs is significantly less evil, if you can get the information you
require from it.
DES
--
Dag-Erling Smorgrav - [EMA
eister)
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Poul-Henning Kamp <[EMAIL PROTECTED]> writes:
> There exists a patch for adding a mode to our floppy driver to
> add DEC RX50 media handling.
Clearly a job for Jessem, don't you think? :)
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAI
"Rafter Man" <[EMAIL PROTECTED]> writes:
> 2. I hope that in the furture the FreeBSD developers will rewrite
> the system in C++.
You need to have your head examined.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
wit
e child will get a SIGTRAP signal and core dumps. Can anyone give me a
> clue how this is the case? Thanks!
The parent must either detach from the child, or wait for it to
terminate. See ptrace(2).
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECT
ugging
turned on (which it does as a result of PT_TRACE_ME).
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Zhihui Zhang <[EMAIL PROTECTED]> writes:
> On 9 Feb 2002, Dag-Erling Smorgrav wrote:
> > execve(2) in kern_exec.c posts SIGTRAP if the process has debugging
> > turned on (which it does as a result of PT_TRACE_ME).
> This is one time thing. It will be catched by the firs
ved issues.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
"Mike Meyer" <[EMAIL PROTECTED]> writes:
> In my ongoing attempt to get my PR's closed, here's the list
> again. They are listed roughly in the order of difficulty.
Please send this to [EMAIL PROTECTED]
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To
Hiten Pandya <[EMAIL PROTECTED]> writes:
> Is there any In-Kernel HTTP Server for FreeBSD, like there is
> kHTTPD for Linux?
God forbid! Lots of hack value, sure, but not something you'd
seriously consider for production use.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED
Thomas Hurst <[EMAIL PROTECTED]> writes:
> Don't functions like FreeBSD's zero-copy sendfile() provide similar
> performance benefits without the massive security issues?
sendfile() isn't zero-copy, it's just two-less-copies.
DES
--
Dag-Erling Smorgrav - [EMAIL
Roy Sigurd Karlsbakk <[EMAIL PROTECTED]> writes:
> well .. So let's turn the question upside-down, and ask "Is there a web
> server or -accelerator for FreeBSD with similar performance as with khttpd
> or Tux?
Have you tried thttpd or boa?
DES
--
Dag-Erling Smorgra
Roy Sigurd Karlsbakk <[EMAIL PROTECTED]> writes:
> > sendfile() isn't zero-copy, it's just two-less-copies.
> zero-copy means "zero copy-operations within memory"
To an MCSE, maybe.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to
s don't make you
smart, you know - though I wouldn't expect someone who brags about
being an MCSE and MCNE to understand that)
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
s
(employer's) time and money. Believing that it's worth more than the
paper it's printed on, however, and bragging about it in an
open-source forum, raises serious questions about one's intellectual
acumen.
Now, a CCNE, on the other hand...
DES (neither of the above)
--
Dag-Er
c is 20 + 16 * maxusers.
> 4. Why is it that some linux utilities, run inside a jail, get the
> hostname of the host machine, and not the hostname of the jail itself?
It's a bug. It was fixed recently (in the last few days) in -CURRENT.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Un
x27;ps -e'. Everything else will work just fine.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ularly bad idea?
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
cd baz
des@sex ~/baz% ls -l
total 0
-rw--- 1 des des0 Apr 10 16:16 bar
In my humble opinion, Solaris (and every other *nix) is broken in this
respect, and *BSD is correct.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "
Bogdan TARU <[EMAIL PROTECTED]> writes:
> On 10 Apr 2002, Dag-Erling Smorgrav wrote:
> > In my humble opinion, Solaris (and every other *nix) is broken in this
> > respect, and *BSD is correct.
> Except for OpenBDS. No NetBDS machine available, maybe some of you could
>
Bogdan TARU <[EMAIL PROTECTED]> writes:
> Could you also try the NetBDS's 'rm'? If it does work like FreeBDS, than
> I really don't know what to believe anymore.
It doesn't, actually, it removes the symlink rather than the directory
it points at.
DES
--
D
Alfred Perlstein <[EMAIL PROTECTED]> writes:
> It looks like the following delta (submitted by Tim J. Robbins) may
> fix it:
It looks correct to me, please commit (unless John has any
objections?)
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMA
John Kozubik <[EMAIL PROTECTED]> writes:
> You can solve this problem by removing the setrlimit() call in postfix,
> with the following patch:
s/solve/work around/
The correct *solution* would be to fix setrlimit().
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe:
he patch is
incorrect and should be backed out.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> -hackers is not the appropriate forum for code review. The patch is
> incorrect and should be backed out.
Never mind, I did it myself.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PRO
Ian <[EMAIL PROTECTED]> writes:
> > The general rule is "including includes from includes is bad".
> Okay, it's time to point out that these are opinions, not rules, and
> differing opinions exist.
POSIX disagrees with you.
DES
--
Dag-Erling Smorgrav - [EMAIL
Peter Haight <[EMAIL PROTECTED]> writes:
> If I link with libc_r can I use gethostbyname2() at the same time in two
> different threads?
Use getaddrinfo() instead.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscrib
rements. Now I am trying mmap, and this lets me get to about
> 2.5 GB of memory (again I ask for the memory in small increments). What
> is it that causes these limitations?
man limits, and see MAX{DSIZ,SSIZ} in NOTES.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send
Charles Sprickman <[EMAIL PROTECTED]> writes:
> On 28 Jul 2002, Dag-Erling Smorgrav wrote:
> > ad_attach() is trying to dereference atadev->param, which is NULL.
> Is there any other info I can provide? I'll drive, you steer. :)
No, this is Søren's cup of tea,
ch() is trying to dereference atadev->param, which is NULL.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
[EMAIL PROTECTED] writes:
> I'm writing some graphics code (just for fun) and I need "legal" access to
> the memory addresses below 1 mb.
You can't access the framebuffer directly in FreeBSD like you can in
DOS. Take a look at libvgl ('man vgl').
DES
--
Da
Ian Campbell <[EMAIL PROTECTED]> writes:
> How exactly would I go about increasing KVM?
Read the FAQ.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
he OfficeJet. I have a
d145, and while FreeBSD recognizes it just fine, and attaches it as a
ulpt device, it fails to print (the process that tries to write to
/dev/ulpt0 just hangs). I'll see if I can figure out a way to force
the ulpt driver to bind to 7/1/2.
DES
--
Dag-Erling Smorgr
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
Index: sys/dev/usb/ulpt.c
===
RCS file: /home/ncvs/src/sys/dev/usb/ulpt.c,v
retrieving revision 1.50
diff -u -r1.50 ulpt.c
--- sys/dev/usb/ulpt.c 30 Oct 2002 01:18:58 - 1.50
+++ sys/de
tream tcp waitkmem:kmem /usr/local/sbin/identd identd -w -t120
des@des ~% grep ident /usr/src/usr.sbin/inetd/inetd.c
voidident_stream __P((int, struct servtab *));
{ "ident", SOCK_STREAM,1, -1, ident_stream },
ident_stream(s, sep)/*
included in a future official release of tcpdump? Can we
afford to wait until then, and simply merge in the next release when
it comes?
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
I share an office) had an
external LaCie disk hooked up to his Mac until I threatened to pour
Coca Cola into the PSU (this was after I'd hinted several times that
the handles on his G3 would serve very well for chucking it out the
window)
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Uns
crypt0genic <[EMAIL PROTECTED]> writes:
> * Dag-Erling Smorgrav ([EMAIL PROTECTED]) [990701 11:47]:
> > LaCie don't make drives, they just package them in ugly boxes with
> > noisy fans.
> Im not sure what model you are refering too, but the drive I have is
> in a
x27;t hesitate to contact
the Oslo FreeBSD User Group (http://www.ofug.org/).
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
though. Also, although I caught and corrected a few spacing
nits caused by chopping off five letters, there may be some I didn't
catch.
If no-one objects, I'll commit this to -CURRENT in a few days.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
Index: src/
RRENT in a few days if no-one objects.
The patches are by Ruslan Ermilov, with a few adjustment by yours
truly.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> Attached are patches [...]
...and here are the patches.
Noticed by: Peter Wemm <[EMAIL PROTECTED]>
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
Index: src/usr.bin
anks for asking - while looking into this matter I found
another problem :) new patches will be available soon.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> That said, thanks for asking - while looking into this matter I found
> another problem :) new patches will be available soon.
Nothing serious; a corrected patch is available on my freefall web
page (http://www.freebsd.org/~des/sof
> Not to let this become a passage of right or anything.
ITYM "rite of passage". HTH, HAND!
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
k. You'll have to put a : at the start of your getopt()
string and examine every argument getopt() complains about.
Hope this helps... keep up the good work!
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
code is a tad too strict. It complains about
files with my name at the top (e.g. /usr/include/fetch.h in FreeBSD
3.x and 4.x) in non-ISO8859 locales.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
o, 15 miles
to the north of Ski, but I work in Ski). If you can find the right
coordinates for Oslo, put me there instead :) I think tegge also lives
in Oslo now, but I'm not sure.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
own as I type
> this), I will place this file in two locations:
>
> ftp://dragon.ham.muohio.edu/pub/howardjp/grep-0.3.tar.gz
> ftp://ftp.wam.umd.edu/pub/howardjp/grep-0.3.tar.gz
Mirror site: ftp://ftp.ofug.org/pub/grep/
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Uns
.
A good test is to build lots of ports, since the ports framework uses
grep a lot.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Jamie Howard <[EMAIL PROTECTED]> writes:
> I incorporated a huge patch from Dag-Erling Smorgrav [...]
Here's more :)
BTW, I assume you've read this:
http://www.opengroup.org/onlinepubs/007908799/xcu/grep.html>
I see you switched to using extended regexps by defaul
[accidentally b0rked the cc: line; apologies to those who get this twice]
Jason Thorpe <[EMAIL PROTECTED]> writes:
> On 07 Jul 1999 20:57:16 +0200
> Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote:
> > Don't use err() indiscriminately after a malloc() failure; ma
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> Jamie Howard <[EMAIL PROTECTED]> writes:
> > I incorporated a huge patch from Dag-Erling Smorgrav [...]
> Here's more :)
Following up on myself, I introduced a bug in the previous round of
patches; here's a corr
orresponds to what
GNU grep does)
As for full-line matches (-x), simply check that
(pmatch[0].rm_so == 0 && pmatch[0].rm_eo == len)
This should save you from playing games with back-references.
(both code snippets assume that line points to a line of text from the
input and that l
Jamie Howard <[EMAIL PROTECTED]> writes:
> On 7 Jul 1999, Dag-Erling Smorgrav wrote:
> > I see you switched to using extended regexps by default, and made -E a
> > no-op; this breaks the ports collection, so I changed it back.
>
> The FreeBSD, NetBSD, and OpenBSD
They don't DTRT. They only match whitespace boundaries IIRC.
Anyway, I already posted a solution which does not involve screwing
around with the pattern.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
BTW, the end-of-line handling is wrong; grep will fail to select a
line where the pattern appears at the end and the line is not
terminated by a newline. I'm working on a fix (and on implementing my
solution for -w and -x).
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe:
Assar Westerlund <[EMAIL PROTECTED]> writes:
> Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> > + realpat = grep_malloc(strlen(pattern) + sizeof("^(")
> > + + sizeof(")$") + 1);
> Why not just use asprintf?
almost) as much
memory as you want regardless of how much RAM / swap you have. You
won't run into trouble unless you actually try to use too much of it.
> What happens if the process hits its resource limits?
Malloc() fails with ENOMEM.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
on the Alpha?
BTW, is dladdr() signal-safe?
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
freebsd.org/handbook/contrib.html>
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
d text, count it
once for every user that uses it?
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
I use writev(), and I've gone
to great lengths to ensure that log_makedate() (which uses
localtime_r() and strftime() to build a date string) and lvformat() (a
printf() clone with some additional goodies) are signal-safe.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send ma
Greg Lehey <[EMAIL PROTECTED]> writes:
> mdoc.samples(7). Now tell me that that's not intuitive.
It would seem mdoc.samples(7) does not teach by example :)
des@des ~% man -t mdoc.samples | lpr -Plex
Usage: .Rv -std sections 2 and 3 only
DES
--
Dag-Erling Smorgrav - [EMAIL P
Alfred Perlstein <[EMAIL PROTECTED]> writes:
> On 18 Jul 1999, Dag-Erling Smorgrav wrote:
> > Alfred Perlstein <[EMAIL PROTECTED]> writes:
> > > I doubt this is
> > > at all portable and may fail because
t for is to find the caller's name
using dladdr().
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Alfred Perlstein <[EMAIL PROTECTED]> writes:
> On 18 Jul 1999, Dag-Erling Smorgrav wrote:
> > Hmm, I ended up using a global variable which I increment at the
> > beginning of the signal handler, and decrement at the end.
> As long as you make sure the code won't have
have the counter get jumbled.
Not if increment / decrement is atomic.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
um;
register size_t size;
{
register void *p;
size *= num;
if ( (p = malloc(size)) )
bzero(p, size);
return(p);
}
so the answer is yes, it overcommits, but the bzero() may cause the
system to run out of swap.
DES
--
Dag-Erling Smorgrav - [EMAIL P
Oscar Bonilla <[EMAIL PROTECTED]> writes:
> the idea is to have an entry in the /etc/passwd enabling LDAP lookups.
> the Entry would be of the form
>
> ldap:*:389:389:o=My Organization, c=BR:uid:ldap.myorg.com
Horrible idea.
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED
Oscar Bonilla <[EMAIL PROTECTED]> writes:
> On Mon, Jul 19, 1999 at 06:13:51PM +0200, Dag-Erling Smorgrav wrote:
> > Oscar Bonilla <[EMAIL PROTECTED]> writes:
> > > the idea is to have an entry in the /etc/passwd enabling LDAP lookups.
> > > the Entry would
301 - 400 of 489 matches
Mail list logo