Changeset 142 in MondoRescue for trunk/mondo/mondo/common


Ignore:
Timestamp:
Nov 27, 2005, 10:38:41 PM (18 years ago)
Author:
bcornec
Message:

merge -r139:141 $SVN_M/branches/2.05
splint improvements (begin)

Location:
trunk/mondo/mondo/common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-fifo.c

    r45 r142  
    99#include <unistd.h>
    1010#include <stdio.h>
     11#ifndef S_SPLINT_S
    1112#include <signal.h>
     13#endif
    1214#include <fcntl.h>
    1315#include <stdio.h>
     
    2022#include <sys/sem.h>
    2123#include <sys/wait.h>
     24#ifndef S_SPLINT_S
    2225#include <pthread.h>
     26#endif
    2327
    2428#include "my-stuff.h"
  • trunk/mondo/mondo/common/libmondo-files.c

    r127 r142  
    12331233    }
    12341234    fprintf(fout, "ifconfig lo 127.0.0.1  # config loopback\n");
    1235     fprintf(fout, "ifconfig %s %s; # config client\n", nfs_dev,
     1235    fprintf(fout, "ifconfig %s %s # config client\n", nfs_dev,
    12361236            nfs_client_ipaddr);
    1237     fprintf(fout, "ping -c 1 %s; # ping server\n", nfs_server_ipaddr);
     1237    fprintf(fout, "ping -c 1 %s # ping server\n", nfs_server_ipaddr);
    12381238    fprintf(fout, "mount -t nfs -o nolock %s /tmp/isodir\n",
    12391239            bkpinfo->nfs_mount);
  • trunk/mondo/mondo/common/my-stuff.h

    r127 r142  
    6161#include <time.h>
    6262#include <unistd.h>
     63#ifndef S_SPLINT_S
    6364#include <signal.h>
     65#endif
    6466//#include <curses.h>
    6567#include <newt.h>
    6668#include <ctype.h>
    6769#include <string.h>
     70#ifndef S_SPLINT_S
    6871#include <pthread.h>
     72#endif
    6973#include <assert.h>
    7074
     
    338342#define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE  "/dev/md"
    339343#define RAID_DEVICE_STUB    DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE
    340 #define SANE_FORMATS        "swap image vfat ext2 ext3 xfs vfs jfs reiserfs dos minix coda nfs ntfs hpfs raid lvm"
     344#define SANE_FORMATS        "swap image vfat ext2 ext3 xfs vfs jfs reiserfs dos minix coda nfs ntfs hpfs raid lvm cifs"
    341345#define ALT_TAPE        "/dev/ht0"
    342346#define MKE2FS_OR_NEWFS "mke2fs"
Note: See TracChangeset for help on using the changeset viewer.