Re: add long option names to mount_nfs' man page

2009-06-26 Thread Jason McIntyre
On Fri, Jun 26, 2009 at 02:50:21AM +0200, Ingo Schwarze wrote:
> Hi Jason, hi Thordur,
> 
> just to warn you, i had a brief look at this, and what you have does
> not seem right yet.  This looks like a can of worms.
> 

yes, you're right. i'll shelve this diff for now. i guess we need to
look a bit deeper at how the mount pages are working.

jmc



8 526 Case per le vacanze, Appartamenti per le vacanze, Hotel

2009-06-26 Thread Maik Schmidt
Ferienunterkunft
vacation rentals worldwide

  * secondcasa.com

  * vacation rentals worldwide

  * Reuchlinstrasse 23

  * 72800 Eningen unter Achalm

  * Germania

  * Telefono/Telefax +49 (0)7123 2846889/2846892

  * E-Mail i...@secondcasa.com

  * 

Greece

Gentili signore ed egregi signori,

e con piacere che vi presentiamo personalmente secondcasa, il portale per
le vacanze unico nel suo genere, ed e con altrettanto piacere che saremmo
lieti di darvi il nostro caloroso benvenuto come nuovo inserzionista
secondcasa e una piattaforma plurilingue in funzione di intermediario per
alloggi di villeggiatura.

Se avete altri quesiti il nostro servizio assistenza e a vostra completa
disposizione per rispondervi.

  * Traduzione automatica del vostro annuncio in 20 lingue

  * Elaborazione sicura e facile gestione degli affitti per le vacanze

  * Sviluppo sicuro delle richieste di prenotazione

  * Organizzazione online dell'anagrafica clienti

  * Ed inoltre avrete a disposizione un sito Internet aggiornabile e
dotato di un libro degli ospiti

  * Statistiche e newsletter

  * Presentazione dettagliata dei vostri immobili compreso il piano delle
prenotazioni e la galleria fotografica

  * Oltre 8.500 alloggi di villeggiatura in 92 paesi

  * 949.000 ospiti al mese

Approfittate di questa occasione e registratevi oggi stesso:
Maggiori informazioni / secondcasa.com ;

Distinti saluti,

Maik Schmidt

Mallorca
Toscana
New York



If you wish to unsubscribe from the Publisher Email Notifications, simply
click on this unsubscribe-link.



Minor changes to getopt_long.c

2009-06-26 Thread Hyjial Irldar
Hi !

  Looking at the CVS records, it seems that the BSD implementation of
getopt(3) has be thrown away quite a time ago. Thus there shouldn't be
any need to have the REPLACE_GETOPT preprocessing symbol any
more---plus it is now defined unconditionnally. The comments have been
fixed accordingly.

  There also was a typo in the comment accompanying FLAG_ALLARGS's
definition. In the manual it is referred to as '\1'. Which should be
chosen I don't quite know.

  Finally, it turns out that the swapping inner loop runs once too
much. This was harmless, given that it assigns what is indexed by the
cstart variable to itself : when the last iteration begins, pos will
have been incremented nnonopts times by nopts and decremented nopts
times by nnonopts. The global move is nil.

  I hope this might be of some use.

  Cheers,

hyjial.

P.S. : while here I realize I have not got any feedback as regards the
patch to the mbr files. Any comment ?

? getopt.diff
Index: getopt_long.c
===
RCS file: /cvs/openbsd/src/lib/libc/stdlib/getopt_long.c,v
retrieving revision 1.23
diff -u -r1.23 getopt_long.c
--- getopt_long.c   31 Oct 2007 12:34:57 -  1.23
+++ getopt_long.c   26 Jun 2009 09:34:38 -
@@ -55,20 +55,16 @@
 #include 
 #include 

-#defineREPLACE_GETOPT  /* use this getopt as the system 
getopt(3) */
-
-#ifdef REPLACE_GETOPT
 intopterr = 1; /* if error message should be printed */
 intoptind = 1; /* index into parent argv vector */
 intoptopt = '?';   /* character checked for validity */
 intoptreset;   /* reset getopt */
 char*optarg;   /* argument associated with option */
-#endif

 #define PRINT_ERROR((opterr) && (*options != ':'))

 #define FLAG_PERMUTE   0x01/* permute non-options to the end of argv */
-#define FLAG_ALLARGS   0x02/* treat non-options as args to option "-1" */
+#define FLAG_ALLARGS   0x02/* treat non-options as args to option "1" */
 #define FLAG_LONGONLY  0x04/* operate as getopt_long_only */

 /* return values */
@@ -135,7 +131,7 @@
nnonopts = panonopt_end - panonopt_start;
nopts = opt_end - panonopt_end;
ncycle = gcd(nnonopts, nopts);
-   cyclelen = (opt_end - panonopt_start) / ncycle;
+   cyclelen = (opt_end - panonopt_start) / ncycle - 1;

for (i = 0; i < ncycle; i++) {
cstart = panonopt_end+i;
@@ -391,7 +387,7 @@
 * Check long options if:
 *  1) we were passed some
 *  2) the arg is not just "-"
-*  3) either the arg starts with -- we are getopt_long_only()
+*  3) either the arg starts with -- or we are getopt_long_only()
 */
if (long_options != NULL && place != nargv[optind] &&
(*place == '-' || (flags & FLAG_LONGONLY))) {
@@ -467,12 +463,9 @@
return (optchar);
 }

-#ifdef REPLACE_GETOPT
 /*
  * getopt --
  * Parse argc/argv argument vector.
- *
- * [eventually this will replace the BSD getopt]
  */
 int
 getopt(int nargc, char * const *nargv, const char *options)
@@ -488,7 +481,6 @@
 */
return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
 }
-#endif /* REPLACE_GETOPT */

 /*
  * getopt_long --



New installer - initial user creation

2009-06-26 Thread viq
Since the user created during installation is somewhat marketed as "root
replacement", shouldn't he be added to staff login class ?
--
viq

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: New installer - initial user creation

2009-06-26 Thread Thordur I. Bjornsson
viq  wrote on Fri 26.Jun'09 at 14:45:04 +0200

> Since the user created during installation is somewhat marketed as "root
> replacement", shouldn't he be added to staff login class ?

Yes, I'd actually love that. Then I could use it.

krw ?



Re: New installer - initial user creation

2009-06-26 Thread Antoine Jacoutot
On Fri, 26 Jun 2009, Thordur I. Bjornsson wrote:

> viq  wrote on Fri 26.Jun'09 at 14:45:04 +0200
> 
> > Since the user created during installation is somewhat marketed as "root
> > replacement", shouldn't he be added to staff login class ?
> 
> Yes, I'd actually love that. Then I could use it.
> 
> krw ?


I already sent a diff to krw@ to do just that a couple of months ago. I 
think he wanted theo's input first.

-- 
Antoine



High-yield investment program

2009-06-26 Thread Thelma JOHNSON
If you indigence to lock in a undeviating monthly income stream from your
portfolio, then it's time to forget your investments. Thanks to the
introduction of a brand new assets, there's a whole new world of daily
income just here for you. Plenty of investors are already using these new
ways to beget a unctuous dividends monthly.
For earnings junkies, there's nothing sweeter than a continuous yield. So if
you get a thrill from cashing a huge stream of dividends, then you're
missing effectively on some of the highest profit on the planet. I'm
speaking about what has been the most worthy financial innovation -
http://groups.yahoo.com/group/falisosuqusal11/message/1



Re: cwm - handle the PAspect flag

2009-06-26 Thread Paul Stoeber
Prevent overflow in (w + n * wi) and (h + n * hi).
This diff supersedes the previous one.


I grant this diff to the public domain.

Index: mousefunc.c
===
RCS file: /cvs/xenocara/app/cwm/mousefunc.c,v
retrieving revision 1.12
diff -u -r1.12 mousefunc.c
--- mousefunc.c 20 Jun 2009 00:55:42 -  1.12
+++ mousefunc.c 26 Jun 2009 14:49:28 -
@@ -25,6 +25,43 @@
 static int mousefunc_sweep_calc(struct client_ctx *, int, int, int, int);
 static voidmousefunc_sweep_draw(struct client_ctx *);
 
+/* greater-than for fractions of ints with positive denominator */
+#define GTF(a,b, c,d) ((long long)(a) * (d) > (long long)(b) * (c))
+
+/* ceiling(a/b), if a>0 and b>0 */
+#define CEILDIV(a, b) a) - 1) / (b)) + 1)
+
+static void
+aspect_calc(int *wp, int *hp, int fl, int wi, int hi,
+   int a, int b, int c, int d)
+{
+   int w = *wp, h = *hp;
+   long long n;
+
+   if (!fl || wi < 1)
+   wi = 1;
+   if (!fl || hi < 1)
+   hi = 1;
+   if (w < 1 || h < 1 || a < 1 || b < 1 || c < 1 || d < 1 ||
+   GTF(a,b, c,d))
+   return;
+   if (GTF(a,b, w,h)) {
+   /* the least n such that a/b <= (w + n*wi)/h */
+   n = CEILDIV(CEILDIV((long long)h * a, b) - w, wi);
+   w = (n <= (INT_MAX - w) / wi) ? (w + (int)n * wi) : INT_MAX;
+   if (GTF(w,h, c,d))
+   w -= wi;
+   *wp = w;
+   } else if (GTF(w,h, c,d)) {
+   /* the least n such that w/(h + n*hi) <= c/d */
+   n = CEILDIV(CEILDIV((long long)w * d, c) - h, hi);
+   h = (n <= (INT_MAX - h) / hi) ? (h + (int)n * hi) : INT_MAX;
+   if (GTF(a,b, w,h))
+   h -= hi;
+   *hp = h;
+   }
+}
+
 static int
 mousefunc_sweep_calc(struct client_ctx *cc, int x, int y, int mx, int my)
 {
@@ -39,6 +76,13 @@
cc->geom.height -=
(cc->geom.height - cc->geom.min_dy) % cc->size->height_inc;
}
+
+   if (cc->size->flags & PAspect)
+   aspect_calc(&cc->geom.width, &cc->geom.height,
+   (cc->size->flags & PResizeInc) != 0,
+   cc->size->width_inc, cc->size->height_inc,
+   cc->size->min_aspect.x, cc->size->min_aspect.y,
+   cc->size->max_aspect.x, cc->size->max_aspect.y);
 
if (cc->size->flags & PMinSize) {
cc->geom.width = MAX(cc->geom.width, cc->size->min_width);



Re: New installer - initial user creation

2009-06-26 Thread Kenneth R Westerback
On Fri, Jun 26, 2009 at 03:12:52PM +0200, Antoine Jacoutot wrote:
> On Fri, 26 Jun 2009, Thordur I. Bjornsson wrote:
> 
> > viq  wrote on Fri 26.Jun'09 at 14:45:04 +0200
> > 
> > > Since the user created during installation is somewhat marketed as "root
> > > replacement", shouldn't he be added to staff login class ?
> > 
> > Yes, I'd actually love that. Then I could use it.
> > 
> > krw ?
> 
> 
> I already sent a diff to krw@ to do just that a couple of months ago. I 
> think he wanted theo's input first.
> 
> -- 
> Antoine

Antoine is correct. Now that steam is not coming out of his ears
on other topics (of course I haven't been on icb yet today ...) I
will ask him about this.

 Ken



Re: azalia(4) diff needs testing.

2009-06-26 Thread Dorian Büttner
On Thursday 25 June 2009 01:29:59 Jacob Meuser wrote:
> only 4 people have ati or nvidia azalia(4)?

sorry, part-time tester. Sounds fine either with or without the patch.

# mixerctl -av
record.adc_mute=off  [ off on ]
record.adc=120,120
record.adc2_mute=off  [ off on ]
record.adc2=120,120
inputs.mix_source=mic,mic2,line-in,hp,cd,beep,line  { mic mic2 line-in hp cd 
beep line }
inputs.mix_mic=120,120
inputs.mix_mic2=120,120
inputs.mix_line-in=120,120
inputs.mix_hp=120,120
inputs.mix_cd=120,120
inputs.mix_beep=120,120
inputs.mix_line=120,120
outputs.mix2=120,120
inputs.mix2_source=dac,mix  { dac mix }
outputs.mix3=120,120
inputs.mix3_source=dac2,mix  { dac2 mix }
outputs.mix4=120,120
inputs.mix4_source=dac3,mix  { dac3 mix }
outputs.mix5=120,120
inputs.mix5_source=dac4,mix  { dac4 mix }
outputs.line_source=mix2  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.line_mute=off  [ off on ]
inputs.line=85,85
outputs.line_dir=output  [ none output input ]
outputs.line_boost=off  [ off on ]
outputs.mic_source=mix3  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.mic_mute=off  [ off on ]
inputs.mic=85,85
outputs.mic_dir=input-vr80  [ none output input input-vr0 input-vr50 
input-vr80 ]
outputs.mic_boost=off  [ off on ]
outputs.mic2_source=mix8  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.mic2_mute=off  [ off on ]
inputs.mic2=85,85
outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50 
input-vr80 ]
outputs.mic2_boost=off  [ off on ]
outputs.line-in_source=mix4  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.line-in_mute=off  [ off on ]
inputs.line-in=85,85
outputs.line-in_dir=input  [ none output input input-vr0 input-vr50 
input-vr80 ]
outputs.line-in_boost=off  [ off on ]
outputs.hp_source=mix5  [ mix2 mix3 mix4 mix5 mix8 ]
outputs.hp_mute=off  [ off on ]
inputs.hp=85,85
outputs.hp_dir=output  [ none output input input-vr0 input-vr50 input-vr80 ]
outputs.hp_boost=off  [ off on ]
outputs.SPDIF_source=dig-dac  [ dig-dac ]
record.adc2_source=mic,mic2,line-in,hp,cd,beep,line,mix  { mic mic2 line-in hp 
cd beep line mix }
record.adc_source=mic,mic2,line-in,hp,cd,beep,line,mix  { mic mic2 line-in hp 
cd beep line mix }
outputs.mix8=120,120
inputs.mix8_source=dac5,mix  { dac5 mix }
outputs.line_sense=plugged  [ unplugged plugged ]
outputs.mic_sense=unplugged  [ unplugged plugged ]
outputs.mic2_sense=unplugged  [ unplugged plugged ]
outputs.line-in_sense=unplugged  [ unplugged plugged ]
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.master=120,120
outputs.master.mute=off  [ off on ]
outputs.master.slaves=mix2,line  { mix2 mix3 mix4 mix5 line mic mic2 line-in 
hp mix8 }
record.volume=120,120
record.volume.mute=off  [ off on ]
record.volume.slaves=adc,adc2  { adc adc2 line mic mic2 line-in hp }
inputs.usingdac=0203040525  [ 0203040525 06 ]







OpenBSD 4.6-beta (GENERIC.MP) #6: Fri Jun 26 23:39:14 CEST 2009
r...@zock.doris.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2145255424 (2045MB)
avail mem = 2071007232 (1975MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (58 entries)
bios0: vendor Phoenix Technologies, LTD version "ASUS M2A-VM ACPI BIOS 
Revision 2201" date 10/22/2008
bios0: ASUSTeK Computer INC. M2A-VM
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S5) USB1(S5) USB2(S5) USB3(S5) USB4(S5) USB5(S5) 
AZAL(S3) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE8
(S4) UAR1(S5) UAR2(S5) PS2M(S5) PS2K(S5) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+, 3000.26 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+, 2999.89 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0 apid 4 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
acpiprt2 at acpi0: bus 1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus 2 (PCE7)
a

Ponuda za izradu / redizajn internet sajta i web hosting

2009-06-26 Thread Info
  Po9tovani,

  biz.net je firma koja se bavi uslugama internet in>enjeringa, web
dizajna, hostinga i razvoja programskih re9enja.

  Ukoliko Vam je potrebna web prezentacija (web sajt) kojom fete
predstaviti sebe i svoje proizvode i usluge, ili ako niste zadovoljni
trenutnom prezentacijom, stojimo Vam na raspolaganju. Izradjujemo klasihne
sajtove, sajtove sa CMS-om i dinamihkim stranama, sajtove za on-line
kupovinu...

  Ako nemate registrovan domen (internet adresu; npr www.imefirme.com),
biz.net ce nafi slobodnu adresu i izvr9iti njenu registraciju za vas i
postaviti sajt na na9im serverima.

  Prila>emo listu sa nekoliko referentnih radova:
a.. www.vrtirep.com
b.. www.uvoz.info
c.. www.deltainzenjering.rs
d.. www.biochem.rs
e.. www.bz-sabac.com
f.. www.ivcompany.co.rs
g.. www.law-office.rs
h.. www.vreto.co.yu
  Kompletnu listu referenci mo>ete videti na na9em sajtu.

  Na va9 zahtev dostavifemo vam ponudu i predloge dizajna

  Za samo 1.590 dinara godi9nje nudimo vam mogufnost da hostujete va9 sajt
na na9im serverima , Windows i Linux platforma - 200MB prostora, 10 mail
adresa sa antivirus i antispam za9titom, statistika poseta, ASP, ASPX, PHP,
CGI, Joomla, full control panel...

  Po veoma povoljnim uslovima nudimo registraciju i obnovu internet adresa
: .rs-2100 dinara, .co.rs, org.rs, edu.rs-800 dinara, .com, net, org,
info-1000 dinara...

  Ukoliko vef imate registrovan sajt i internet adresu, prilikom prelaska
kod nas zadr>avate postojefu adresu, a uslugu hostinga i transfera/obnove
domena vam nudimo besplatno do isteka ugovora kod trenutnog hosting
provajdera. Kompletan postupak prebacivanja vaseg sajta obavlja biz.net , bez
prekida u radu sajta.

  Vi9e od 6 godina iskustva i preko 400 hostovanih sajtova je garancija
na9eg kvaliteta.
  Detaljnije informacije na
  off...@biznet.rs   www.biznet.rswww.isp-biz.net

  kontakt telefoni
  |  063/340-101  |  011/22-80-916  |

  za odjavu sa nase mailing liste kliknite ovde