Re: a couple of patches for cvs

2001-01-13 Thread Akinori MUSHA
Just in case, At Sun, 14 Jan 2001 17:10:24 +0900, I wrote: > The second one lets cvs support PAM authentication. With it one can Please run autoconf to update configure after patching against configure.in. -- / /__ __Akinori.org / MUSHA.or

a couple of patches for cvs

2001-01-13 Thread Akinori MUSHA
Hi, I have some patches I wish you'd integrate into our cvs(1) source. The first one adds support for the "tag" directive in CVSROOT/config, which NetBSD's and OpenBSD's cvs(1) implements. I know our cvs(1) supports more powerful extension via CVSROOT/options, however, supporting CVSROOT/config

Re: bus_alloc_resource and RF_SHARABLE

2001-01-13 Thread Robert Lipe
> In message <[EMAIL PROTECTED]> "Justin T. Gibbs" writes: > : > : RF_SHARABLE requests to share a resource with another device, not > : within the same device. Further, RF_SHARABLE only applies to > : IRQs, not BARs. Warner Losh wrote: > Actaully, the underlying RF_SHARABLE is for any region o

Re: pppd & mkdir diff

2001-01-13 Thread Alfred Perlstein
* Warner Losh <[EMAIL PROTECTED]> [010113 19:55] wrote: > In message <[EMAIL PROTECTED]> "W.H.Scholten" writes: > : + while (path[ strlen(path)-1 ] == '/') path[ strlen(path)-1 ] = 0; > > Style(9) says write this like: > while (path[ strlen(path)-1 ] == '/') > path[ strlen(p

Re: pppd & mkdir diff

2001-01-13 Thread Kris Kennaway
On Sat, Jan 13, 2001 at 10:14:16PM -0800, Kris Kennaway wrote: > On Sat, Jan 13, 2001 at 07:14:32PM -0800, Alfred Perlstein wrote: > > > Actually, there already exists a function called dirname in libc, dirname(3). > > > > Here's what I'm going to commit: > > You might also like to contribute t

Re: pppd & mkdir diff

2001-01-13 Thread Kris Kennaway
On Sat, Jan 13, 2001 at 07:14:32PM -0800, Alfred Perlstein wrote: > Actually, there already exists a function called dirname in libc, dirname(3). > > Here's what I'm going to commit: You might also like to contribute this back to the pppd maintainer ([EMAIL PROTECTED])..although since our versi

Re: pppd & mkdir diff

2001-01-13 Thread Ben Smithurst
Warner Losh wrote: > In message <[EMAIL PROTECTED]> "W.H.Scholten" writes: > : + while (path[ strlen(path)-1 ] == '/') path[ strlen(path)-1 ] = 0; > > Style(9) says write this like: > while (path[ strlen(path)-1 ] == '/') > path[ strlen(path)-1 ] = 0; No it doesn't. "No

Re: sys/disklabel.h in C++ files

2001-01-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Wes Peters writes: : Warner Losh wrote: : > : > In message <[EMAIL PROTECTED]> Alexander : > Langer writes: : > : How do you include sys/disklabel.h in C++ files? : > : > You can't. It is broken :-(. : : Alexande, you could fix it, and submit it in a PR. : : Hop

Re: sys/disklabel.h in C++ files

2001-01-13 Thread Wes Peters
Warner Losh wrote: > > In message <[EMAIL PROTECTED]> Alexander > Langer writes: > : How do you include sys/disklabel.h in C++ files? > > You can't. It is broken :-(. Alexande, you could fix it, and submit it in a PR. Hope springs eternal. -- "Where am I, and what am I doing in

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-13 Thread Greg Black
Gerhard Sittig wrote: > On Thu, Jan 11, 2001 at 16:33 +1000, Greg Black wrote: > > > BTW: There's good news for those with a dislike regarding > > > the change: While testing I'm stuck again, so there will be > > > some more delay. > > > > Previously we were told that this stuff had already b

Re: sys/disklabel.h in C++ files

2001-01-13 Thread Warner Losh
Warner Losh writes: : In message <[EMAIL PROTECTED]> Alexander : Langer writes: : : How do you include sys/disklabel.h in C++ files? : : You can't. It is broken :-(. But I just fixed it. Looks like version 1.54 broke this. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: sys/disklabel.h in C++ files

2001-01-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Alexander Langer writes: : How do you include sys/disklabel.h in C++ files? You can't. It is broken :-(. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: bus_alloc_resource and RF_SHARABLE

2001-01-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Justin T. Gibbs" writes: : RF_SHARABLE requests to share a resource with another device, not : within the same device. Further, RF_SHARABLE only applies to : IRQs, not BARs. Actaully, the underlying RF_SHARABLE is for any region of resource that can be multiplexed

Re: pppd & mkdir diff

2001-01-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> "W.H.Scholten" writes: : + while (path[ strlen(path)-1 ] == '/') path[ strlen(path)-1 ] = 0; Style(9) says write this like: while (path[ strlen(path)-1 ] == '/') path[ strlen(path)-1 ] = 0; : + : + slash = strrchr(path, '/'); : +

Re: pppd & mkdir diff

2001-01-13 Thread Alfred Perlstein
* W.H.Scholten <[EMAIL PROTECTED]> [010113 01:57] wrote: > Alfred Perlstein wrote: > > [ mkdir ] > > > I'll commit the patch shortly. > > Here's a better patch, it checks for multiple slashes, so mkdir > /tmp/aa///bb will give: > > mkdir: /tmp/aa: No such file or directory > > Also, renam

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-13 Thread John Gregor
Ok, this has gone on long enough that my normal inhibitions about driving down the signal-to-noise ratio of a technical list have long subsided. Folks, cron is a *LOW LEVEL SERVICE* much in the same vein as UDP. Neither one makes strong guarantees about ordering, duplication, or dropped events.

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-13 Thread Doug Barton
Could you guys remove my name from the Cc: list on this thread please? I've already made my position quite clear. Thanks, Doug -- "The most difficult thing in the world is to know how to do a thing and to watch someone else do it wrong without comment." --

x85 memory barriers.. ewww

2001-01-13 Thread John Baldwin
Well, I wish I had a freebsd-{i386,ia32,x86} list to send this to, but I'm having some x86 asm problems. I'm trying to fix atomic_store_rel() and atomic_load_acq() to actually serve as memory barriers, instead of the current lame a = b versions we have now that don't enforce any type of barriers.

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-13 Thread Leif Neland
> > One of the things that would need to be documented is what will > > happen to the new algorithm in the situation where cron is > > stopped and re-started during one of the time periods that gets > > repeated. > > Oh, you bring up an absolutely new datapoint it seems! Since all > the inform

Re: CFR: Generalized power-management interface

2001-01-13 Thread Matthew Jacob
On Sun, 14 Jan 2001, Mitsuru IWASAKI wrote: > Hi, > > > If we're going to talk about 'health' for a machine and it's components, it > > should tie in with the SES/SAF-TE driver (for SCSI/FibreChannel). > > Yes, but my understanding on SES/SAF-TE is very poor unfortunately :-) > I think number

sys/disklabel.h in C++ files

2001-01-13 Thread Alexander Langer
Hi! I have a question: How do you include sys/disklabel.h in C++ files? alex:~ $ cat test.cc #include alex:~ $ cat test2.cc extern "C" { #include } alex:~ $ make test.o c++ -O -pipe -c test.cc In file included from test.cc:1: /usr/include/sys/disklabel.h:182: `lp' was not declared in this sc

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-13 Thread Gerhard Sittig
[ for the impatient there's a summary at the bottom ("/summarize") ] On Thu, Jan 11, 2001 at 16:33 +1000, Greg Black wrote: > Gerhard Sittig wrote: > > > I take notice of your (and Greg Black's) reservation / being > > opposed, respect it and conclude that the change will have to > > - default t

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-13 Thread Gerhard Sittig
On Thu, Jan 11, 2001 at 13:19 -0500, Darren Henderson wrote: > > On Wed, 10 Jan 2001, Gerhard Sittig wrote: > > > Looking at the echo returning so far I see _much_ more "yes" > > than "nope" answers. There's consent that *something* has to > > be done. > > Heh, if its votes you are looking for

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-13 Thread Gerhard Sittig
On Thu, Jan 11, 2001 at 01:05 -0800, Doug Barton wrote: > Gerhard Sittig wrote: > > > > Looking at the echo returning so far > > Which represents a very small percentage of the people who need > to look at the change. A significant percentage (probably a > majority) of the people who are freebsd

Re: CFR: Generalized power-management interface

2001-01-13 Thread Mitsuru IWASAKI
> >We don't know which power management system is enabled on the actual > >system, so it's impossible. We need one mandatory device for PM to be > >generalized. I think the opposite way is more reasonable. > > Why? Is it bad to check whether the device is available or not in rc? Ah, you mean

Re: CFR: Generalized power-management interface

2001-01-13 Thread Mitsuru IWASAKI
Hi, > If we're going to talk about 'health' for a machine and it's components, it > should tie in with the SES/SAF-TE driver (for SCSI/FibreChannel). Yes, but my understanding on SES/SAF-TE is very poor unfortunately :-) I think number of hackers who can cover all areas with enough knowledge and

Re: bus_alloc_resource and RF_SHARABLE

2001-01-13 Thread Justin T. Gibbs
>I'm on FreeBSD 4.1.1 and when I attempt multiple calls to >bus_alloc_resource on a PCI device for the same BAR, I run afoul of code >in resource_list_alloc: > >rle = resource_list_find(rl, type, *rid); > >if (!rle) >return 0; /* no resource of that type/rid */ >i

Re: CFR: Generalized power-management interface

2001-01-13 Thread Takanori Watanabe
t;> >http://people.freebsd.org/~iwasaki/acpi/power-20010113.tar.gz >> >> What about treating it as a part of ioctl in existing device, then >> make symbolic link to a generalzed name,instead of consuming new >> major number? > >Does `existing device' mean

Re: new documentaion

2001-01-13 Thread GLOBALLINK2001
Hello, Thank you very much for your support, I will check into all the resources you suggested. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: CFR: Generalized power-management interface

2001-01-13 Thread Mitsuru IWASAKI
> >I've update the patch based on some comments so far and added wmpm > >(actually ACPI support for wmapm which is utility for WindowMaker) > >ports files as a example. > > > >http://people.freebsd.org/~iwasaki/acpi/power-20010113.tar.gz > > What about t

Re: pppd & mkdir diff

2001-01-13 Thread W.H.Scholten
Alfred Perlstein wrote: [ mkdir ] > I'll commit the patch shortly. Here's a better patch, it checks for multiple slashes, so mkdir /tmp/aa///bb will give: mkdir: /tmp/aa: No such file or directory Also, renamed the function to dirname as it does the same as dirname(1). Regards, Wouter

Re: CFR: Generalized power-management interface

2001-01-13 Thread Takanori Watanabe
In message <[EMAIL PROTECTED]>, Mitsuru IWASAKI さんいわく : >Hi, > >I've update the patch based on some comments so far and added wmpm >(actually ACPI support for wmapm which is utility for WindowMaker) >ports files as a example. > >http://people.freebsd.