Skip to content
Snippets Groups Projects
Select Git revision
  • f682df42dcc6949182d977acdd296ebda712efeb
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2016
  • v8.0.2014
  • v8.0.2012
  • v8.0.2008
  • v8.0.2006
  • v8.0.2004
  • v8.0.2002
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
41 results

constants.h

Blame
    • Martin Stjernholm's avatar
      1eb9851b
      Fixed missing PMOD_EXPORT on the visit functions. · 1eb9851b
      Martin Stjernholm authored
      Rev: src/array.c:1.207
      Rev: src/array.h:1.75
      Rev: src/constants.c:1.60
      Rev: src/constants.h:1.37
      Rev: src/mapping.c:1.201
      Rev: src/mapping.h:1.68
      Rev: src/multiset.c:1.111
      Rev: src/multiset.h:1.44
      Rev: src/object.c:1.291
      Rev: src/object.h:1.96
      Rev: src/pike_types.c:1.332
      Rev: src/pike_types.h:1.115
      Rev: src/program.c:1.692
      Rev: src/program.h:1.243
      Rev: src/stralloc.c:1.219
      Rev: src/stralloc.h:1.104
      1eb9851b
      History
      Fixed missing PMOD_EXPORT on the visit functions.
      Martin Stjernholm authored
      Rev: src/array.c:1.207
      Rev: src/array.h:1.75
      Rev: src/constants.c:1.60
      Rev: src/constants.h:1.37
      Rev: src/mapping.c:1.201
      Rev: src/mapping.h:1.68
      Rev: src/multiset.c:1.111
      Rev: src/multiset.h:1.44
      Rev: src/object.c:1.291
      Rev: src/object.h:1.96
      Rev: src/pike_types.c:1.332
      Rev: src/pike_types.h:1.115
      Rev: src/program.c:1.692
      Rev: src/program.h:1.243
      Rev: src/stralloc.c:1.219
      Rev: src/stralloc.h:1.104
    check_saned 837 B
    #!/bin/sh
    #
    # usage: check_saned pattern
    #
    # This script will run "scanimage -L" and grep for the supplied pattern.
    #
    # FIXME: since scanners in use are not included in the list produced
    # by "scanimage -L", the state should be OK if the scanner was seen
    # within the last hour, and WARNING if it was seen within the last
    # day.
    #
    # This check script is maintained in a Subversion repository at
    # http://lsvn.lysator.liu.se/svnroot/nagios-plugins.  Contact
    # <ceder@lysator.liu.se> for commit access.
    
    TMPFILE=`tempfile`
    scanimage -L > $TMPFILE 2>&1
    if [ $? -ne 0 ]
    then
        echo CRITICAL - scanimage failed - "`cat /tmp/scanimage.$$`"
        rm $TMPFILE
        exit 2
    fi
    
    grep "$1" $TMPFILE >/dev/null 2>&1
    RC=$?
    
    if [ $RC -ne 0 ]
    then
        echo CRITICAL - scanner not found
        rm $TMPFILE
        exit 2
    fi
    rm $TMPFILE
    echo OK - all fine
    exit 0