From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [udev] extend exec_program[]
Date: Fri, 26 Dec 2003 01:42:17 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-107240300020795@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 141 bytes --]
extend exec_program size to 100 chars cause:
PROGRAM="/home/kay/src/udev.kay/extras/ide-devfs.sh %k %b %n"
is too long :)
thanks,
Kay
[-- Attachment #2: 06-bigger-callout-program.diff --]
[-- Type: text/plain, Size: 550 bytes --]
diff -Nru a/namedev.h b/namedev.h
--- a/namedev.h Thu Dec 25 23:20:39 2003
+++ b/namedev.h Thu Dec 25 23:20:39 2003
@@ -43,6 +43,7 @@
#define VALUE_SIZE 100
#define ID_SIZE 50
#define PLACE_SIZE 50
+#define PROGRAM_SIZE 100
#define TYPE_LABEL "LABEL"
#define TYPE_NUMBER "NUMBER"
@@ -75,7 +76,7 @@
char id[ID_SIZE];
char place[PLACE_SIZE];
char kernel_name[NAME_SIZE];
- char exec_program[FILE_SIZE];
+ char exec_program[PROGRAM_SIZE];
char name[NAME_SIZE];
char symlink[NAME_SIZE];
struct sysfs_pair sysfs_pair[MAX_SYSFS_PAIRS];
next reply other threads:[~2003-12-26 1:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-26 1:42 Kay Sievers [this message]
2003-12-30 1:06 ` [udev] extend exec_program[] Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-107240300020795@msgid-missing \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).