linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [udev] extend exec_program[]
@ 2003-12-26  1:42 Kay Sievers
  2003-12-30  1:06 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2003-12-26  1:42 UTC (permalink / raw)
  To: linux-hotplug

[-- 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];

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [udev] extend exec_program[]
  2003-12-26  1:42 [udev] extend exec_program[] Kay Sievers
@ 2003-12-30  1:06 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-12-30  1:06 UTC (permalink / raw)
  To: linux-hotplug

On Fri, Dec 26, 2003 at 02:42:17AM +0100, Kay Sievers wrote:
> 
> extend exec_program size to 100 chars cause:
> 
>   PROGRAM="/home/kay/src/udev.kay/extras/ide-devfs.sh %k %b %n"
> 
> is too long :)

Applied, thanks.

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-30  1:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-26  1:42 [udev] extend exec_program[] Kay Sievers
2003-12-30  1:06 ` Greg KH

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).