Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Jesus Sanchez
El 11/04/2010 8:37, Jesus Sanchez escribis: i don't think so. Use gdb and see where you are writing to. Based on your description of your a.c and b.c, I assume in a.c you have char foo; (global), and in b.c you by mistake have extern int foo;. If your foo variable is at address, say

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread patrick keshishian
On Sat, Apr 10, 2010 at 11:37 PM, Jesus Sanchez zexe...@gmail.com wrote: i don't think so. Use gdb and see where you are writing to. Based on your description of your a.c and b.c, I assume in a.c you have char foo; (global), and in b.c you by mistake have extern int foo;. If your foo

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Jesus Sanchez
El 11/04/2010 9:06, patrick keshishian escribis: On Sat, Apr 10, 2010 at 11:37 PM, Jesus Sanchezzexe...@gmail.com wrote: i don't think so. Use gdb and see where you are writing to. Based on your description of your a.c and b.c, I assume in a.c you have char foo; (global), and in b.c

Seminars in Beirut-Lebanon

2010-04-11 Thread GMTDC
Newsletter Lebanonwww.gmtdc.com Dear Sir/Madam, Our company GMTDC General Management Training and Development Consultant is organizing the following seminars in Beirut-Lebanon: Upcoming Seminars in Lebanon Description Start Date End Date April, 2010 Project Feasibility Study30/3/20101/4/2010

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Philip Guenther
On Sat, Apr 10, 2010 at 10:14 PM, Jesus Sanchez zexe...@gmail.com wrote: El 11/04/2010 6:14, Jesus Sanchez escribis: ... Coding some simple stuff in C I ended up having a harmless mistake (I hope) a double-declared variable with different types (char and int for the example) in wich I did

Info Mail Abril | THINKING OUTSIDE THE BOX | criatividade sem barreiras...

2010-04-11 Thread Opção Global, Lda.
se nco conseguir visualizar correctamente o contezdo deste e-mail, por favor, clique aqui AVISO - De acordo com a legislagco internacional que

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Jesus Sanchez
El 11/04/2010 9:41, Philip Guenther escribis: On Sat, Apr 10, 2010 at 10:14 PM, Jesus Sanchezzexe...@gmail.com wrote: El 11/04/2010 6:14, Jesus Sanchez escribis: ... Coding some simple stuff in C I ended up having a harmless mistake (I hope) a double-declared variable with

Re: pkg_add -F update downgrades the packages

2010-04-11 Thread Marc Espie
On Sat, Apr 10, 2010 at 06:42:55PM +0300, Ozgur Kazancci wrote: Hello. pkg_add -nui -F update -F updatedepends downgrades packages to their lower versions. [...] Using OpenBSD 4.6-stable stable branch for the 4.6 release. Use 4.7 or current. 4.6 doesn't understand version numbers.

Re: OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread James Hartley
On Sat, Apr 10, 2010 at 9:14 PM, Jesus Sanchez zexe...@gmail.com wrote: This is not really OpenBSD related but since it's a UNIX-like OS and here are really experienced people coding in C I thought this was a good place to ask. Actually, not. Your questions are general C programming

Re: OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Otto Moerbeek
On Sun, Apr 11, 2010 at 03:49:26AM -0700, James Hartley wrote: On Sat, Apr 10, 2010 at 9:14 PM, Jesus Sanchez zexe...@gmail.com wrote: This is not really OpenBSD related but since it's a UNIX-like OS and here are really experienced people coding in C I thought this was a good place to

compile in 32 bit in alpha

2010-04-11 Thread Kapetanakis Giannis
Hi all, Is there a way I would compile in 32 bit compatibility mode in alpha arch? I'm running 4.6 stable thanks Giannis

[SOLVED] Re: Execute startup script as user

2010-04-11 Thread Mats-Gøran Karlsen
On 10. apr. 2010, at 17.16, Christian Weisgerber wrote: Mats-Gxran Karlsen matsg...@gmail.com wrote: I'm trying to create a startup script that executes the transmission-daemon as a regular user. /usr/bin/sudo -u $USERNAME -p $PASSWD $DAEMON -g $CONFIGDIR You are going about this the

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Michael Small
Philip Guenther guent...@gmail.com writes: ... file a.c contains char foo on the code. and b.c contains int foo on the code. ... It violates a constraint of the C standard for two translation units of a program to have different tentative definitions for a single (necessarily

-current i386 (#501): massive performance drop from #448

2010-04-11 Thread Toni Mueller
Hi, going from #448 (March 16th) to #501 (April 8th), I noticed a sharp drop in performance. The problem manifests itself in the machine frequently becoming very sluggish wrt. network performance. In numbers, this means that the packet loss rate jumps to more than a felt 90% for more than a

Re: ACPI so close I can almost taste it...

2010-04-11 Thread Jean-Michel Bessot
Hi I have the same problem with a R400. dmesg: http://www.lacomte.net/informatique/lenovo-r400-dmesg acpidumb: http://www.lacomte.net/informatique/lenovo-r400-acpidump pcidump: http://www.lacomte.net/informatique/lenovo-r400-pcidump Bye

Re: compile in 32 bit in alpha

2010-04-11 Thread Christian Weisgerber
Kapetanakis Giannis bil...@edu.physics.uoc.gr wrote: Is there a way I would compile in 32 bit compatibility mode in alpha arch? No. Since the alpha architecture has been 64-bit from its very inception, your question doesn't make any sense. -- Christian naddy Weisgerber

Re: ACPI so close I can almost taste it...

2010-04-11 Thread Gabriel Kihlman
Pau vim.u...@googlemail.com writes: I have a thinkpad x200s and with a recent snapshot I can confirm here that the laptop suspends in a fraction of a second and resumes again almost immediately Unfortunately, after some few seconds, even if if looks as if everything had gone just perfect

Re: updating packages with ports binaries

2010-04-11 Thread Arnaud Bergeron
Disclaimer: I am not a pkg tools expert, so if somebody comes along and correct me (especially espie@) then they are right. 2010/4/10 Andreas Gerdd kryptos...@gmail.com: I follow stable tree, OPENBSD_4_6 branch. I'd like to update some of my packages. As an example, # pkg_add -unvi tiff

Πτήσεις εσωτερικού από 39 ευρώ πτήσεις εξωτερικού από 68 ευρώ!

2010-04-11 Thread airtickets.gr
E\m dem lpoqe_te ma de_te to emgleqytij| dekt_o j\mte click ed~ http://www.airtickets.gr/newsletter-online.asp?id=515email=m...@openbs d.org Cq^coqg Amaf^tgsg T}por: Apk| Le Epistqov^

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Ted Unangst
On Sun, Apr 11, 2010 at 8:47 AM, Michael Small sma...@panix.com wrote: where my wi wireless card stopped working on my old latitude. I noticed an ansification of functions in pccbb.c happening (revision 164) that claimed to make no binary change but actually changed the signature of

smtpd.conf: syntax error with from local

2010-04-11 Thread Rene Maroufi
Hi, i tried smtpd on a snapshot from March (GENERIC#556). If i use: accept from local for all relay I get with smtpd -n: /etc/mail/smtpd.conf:11: syntax error If i remove from local, everything is OK. Whats wrong with from local? The manpage says from local is correct (but the default, so it

Re: intel GM45 backlight and dualhead problems

2010-04-11 Thread Peter Miller
$ xrandr --output VGA --auto --right-of LVDS xrandr: screen cannot be larger than 1280x1280 (desired size 2304x1024) You have to set the X virtual screen size before starting X. Then when you attach a monitor, you use xrandr to carve up a portion of the virtual screen to show on the

Re: intel GM45 backlight and dualhead problems

2010-04-11 Thread Owain Ainsworth
On Sun, Apr 11, 2010 at 12:46:21PM -0400, Arnaud Bergeron wrote: 2010/4/11 Peter Miller feu...@gmail.com: xbacklight doesn't seem to work on my HP dv4-1435dx with an intel GM45. xrandr shows no Range for the backlight. The screen brightness does change, but it is affected by the presence of

Re: ACPI so close I can almost taste it...

2010-04-11 Thread Pau
YES!!! Same here on a thinkpad x200s! I'm so happy! Thanks a LOT! And btw, the suspend/resume is much faster than with the penguin!!! Thanks for this, I have been waiting YEARS for it! Pau 2010/4/11 Gabriel Kihlman

Re: ACPI so close I can almost taste it...

2010-04-11 Thread Josh Grosse
On Sun, Apr 11, 2010 at 08:40:47PM +0200, Pau wrote: YES!!! Same here on a thinkpad x200s! I'm so happy! Thanks a LOT! Not here. Even setting this netbook's disk bus to IDE-compatible, it cannot (yet) suspend/resume. But then, I don't

Re: OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread patrick keshishian
On Sun, Apr 11, 2010 at 4:11 AM, Otto Moerbeek o...@drijf.net wrote: On Sun, Apr 11, 2010 at 03:49:26AM -0700, James Hartley wrote: On Sat, Apr 10, 2010 at 9:14 PM, Jesus Sanchez zexe...@gmail.com wrote: This is not really OpenBSD related but since it's a UNIX-like OS and here are really

Re: smtpd.conf: syntax error with from local

2010-04-11 Thread Gilles Chehade
On Sun, Apr 11, 2010 at 08:20:24PM +0200, Rene Maroufi wrote: Hi, i tried smtpd on a snapshot from March (GENERIC#556). If i use: accept from local for all relay I get with smtpd -n: /etc/mail/smtpd.conf:11: syntax error If i remove from local, everything is OK. Whats wrong with

Re: intel GM45 backlight and dualhead problems

2010-04-11 Thread Peter Miller
$ xrandr --output VGA --auto --right-of LVDS xrandr: screen cannot be larger than 1280x1280 (desired size 2304x1024) You have to set the X virtual screen size before starting X. Then when you attach a monitor, you use xrandr to carve up a portion of the virtual screen to show on the

recyclage materiel informatique HS (DEEE) gratuit

2010-04-11 Thread DEEE
Vous vous jtes s{rement posi cette question + Que faire de notre matiriel obsolhte ?;. R2DEFI est la solution ` votre problhme. Le mitier de R2DEFI est le Recyclage et la Revalorisation de matiriel informatique et bureautique (DEEE). Le respect de lenvironnement est un enjeu primordial pour

Re: -current i386 (#501): massive performance drop from #448

2010-04-11 Thread Theo de Raadt
going from #448 (March 16th) to #501 (April 8th), Don't you think the onus is on you to figure out which change during that period is causing this? We don't have your hardware. We don't have your setup. Don't you understand that you have access to the source so that you can figure out what

Re: updating packages with ports binaries

2010-04-11 Thread Marc Espie
On Sun, Apr 11, 2010 at 12:26:41PM -0400, Arnaud Bergeron wrote: Normally, as long as you do not use -F something as an option to pkg_add, everything you do with it is safe. (caveat: sometimes there are major upgrades, like for postgresql that require extra actions, but those are when you

Re: Problem with NAT and UDP packages.

2010-04-11 Thread Hugo Osvaldo Barrera
On Thu, Apr 8, 2010 at 11:47, James Shupe professio...@jamesshupe.com wrote: My idea is to maintain a table of RTP servers, if that is possible. RTP uses any unprivileged port (or a port above 1024) to send traffic on. Your rule would be a rule that would allow any of that unprivileged UDP

Re: Problem with NAT and UDP packages.

2010-04-11 Thread Rod Whitworth
On Mon, 12 Apr 2010 00:18:31 -0300, Hugo Osvaldo Barrera wrote: 8 snip long message. My reply would be easy to miss in all that and it doesn't address lots of the thread. Caveat: I don't do pidgin etc BUT I do VoIP behind NAT with multiple ATAs and the audio uses RTP. I use sipproxy from