Markus Baertschi

Show:

What's happening?

  • rcons command using simplistic syntax

    When I run the 'rcons' command with no argument I get two shell syntax errors because the missing quotes in if statements: root@bg-adm:~ # rcons /opt/xcat/bin/rcons: line 2: [: =: unary operator expected /opt/xcat/bin/rcons: line 9: [: =: unary operator expected I'm runnng the latest 'stable' build: xCAT-client-2.2.1-snap200905282320 The rcons command should be changed and the arguments...

    2009-08-26 19:25:32 UTC in xCAT

  • C++ comment style used

    There are a couple of files where a C++ style comment characters are used '//'. Unfortunately, while tolerated by gcc, such comments are not legal C and make other compilers balk, for example IBM's XlC stops with an error. The files concerned are: lib/ripemd.c: line 59.3 lib/ripemd.c: line 62.3 lib/snefru.c: line 23 Regards Markus.

    2008-01-29 20:13:31 UTC in Libmhash

  • lam fails when mhash is not installed

    My php installation coredumps when I configure mhash so I decided to do without as the documentation claims that is is optional. The basic functions work, but there are areas where it seems required: - On the login page is a red warning box saying a required php extension (mhash) is missing. - When I edit a machine I get the following error: Fatal error: Call to undefined function mhash(...

    2008-01-23 16:50:31 UTC in LDAP Account Manager

  • Add status register bits in include file

    In the include file io2343.h the bits of the status register MCUSR are not defined. It would be nice to add them similar to the following example. /* MCU general Status Register */ #define EXTRF 1 #define PORF 0 Markus.

    2007-02-11 10:21:36 UTC in WinAVR

  • Comment: C++ comments used in C code

    Logged In: YES user_id=156828 I've had a short look at the gcc option (I suppose you talk about gcc). There is -pedantic and -Wcomment options which warn for such things. http://gcc.gnu.org/onlinedocs/gcc-4.0.3/gcc/Warning-Options.html#Warning-Options Thanks Markus.

    2006-10-26 21:00:31 UTC in Nagios Plugin Development

  • C++ comments used in C code

    While compiling nagios-plugins-1.4.4 on AIX using the IBM compiler I'm stumbling over two cases where C++-style comments '//' in stead of proper C comments are used '/* */'. The compiler flags these as Syntax error as this comment style is not allowed in ANSI C. Replacing the // with /* */ fixes the problem and all compiles fine. Here the "check_disk.c", line 639.3: 1506-046 (S...

    2006-10-24 10:24:01 UTC in Nagios Plugin Development

  • Mangled single quotes

    I'm ripping with "rip -ST". When song names contain a single quote the rip creates a id3 tag with a single-quoted escaped quote: '\'' When you copy of move such a file on the command line you get unexpected results and it looks funny on your mp3 player.

    2006-07-30 22:43:51 UTC in rip

  • Performance Monitor

    markus_b committed patchset 2 of module monitor-3.1 to the Performance Monitor CVS repository, changing 100 files.

    2001-02-22 23:07:35 UTC in Performance Monitor

  • Performance Monitor

    markus_b committed patchset 1 of module monitor-3.1 to the Performance Monitor CVS repository, changing 100 files.

    2001-02-22 23:07:35 UTC in Performance Monitor

  • Performance Monitor

    markus_b committed patchset 2 of module monitor to the Performance Monitor CVS repository, changing 102 files.

    2001-02-22 22:37:12 UTC in Performance Monitor

About Me

  • 2001-02-19 (9 years ago)
  • 156828
  • markus_b (My Site)
  • Markus Baertschi

  • SQL-based SQL-based C Java Perl XSL (XSLT/XPath/XSL-FO) HTML/XHTML Security Networking French German

Send me a message