Adapted from patches by Nicolas Boullis on Debian:
* alignment issues on sparc * "make check" failure when stderr is not a tty * wrong program name in manpages in tarball * build failure with hurd * "make check" failure on machines with no disc drive * make distclean fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
$Id: scan_devices.c,v 1.33 2008/06/16 19:45:44 flameeyes Exp $
|
||||
|
||||
Copyright (C) 2004, 2005, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
|
||||
Copyright (C) 2004, 2005, 2007, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
|
||||
Copyright (C) 1998 Monty xiphmont@mit.edu
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
@@ -39,6 +39,10 @@
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
#define MAX_DEV_LEN 20 /* Safe because strings only come from below */
|
||||
/* must be absolute paths! */
|
||||
static const char scsi_cdrom_prefixes[][16]={
|
||||
|
||||
Reference in New Issue
Block a user