[MPlayer-dev-eng] Re: [PATCH] fix for unconditional use of PATH_MAX
Tobias Diedrich
ranma at gmx.at
Fri May 2 03:44:23 CEST 2003
Robert Millan wrote:
> ok. if using dynamic allocation only is ok to you, then do that
> and let's leave it here.
Well, feel free to submit a patch, but it does not seem like any of the
other developers care about such long paths, me included. Its just
highly unusual to have a path longer than 255 characters. At least on my
system the longest path is 170 characters. If this were a virus scanner
I would care, but for a multimedia player it's IMHO ok to have simple limits.
find / -type d | awk '{ if (length(bash) > maxlen) { maxlen = length(bash); print maxlen, bash }}'
1 /
11 /lost+found
16 /boot/lost+found
19 /.kde2/share/config
21 /.kde2/share/apps/kfm
31 /.kde2/share/apps/kfm/bookmarks
39 /.kde2/share/apps/kfm/bookmarks/Toolbar
42 /.kde2/share/apps/konqueror/dirtree/remote
46 /.kde2/share/apps/konqueror/dirtree/remote/ftp
50 /etc/gconf/gconf.xml.defaults/apps/galeon/Browsing
58 /etc/gconf/gconf.xml.defaults/apps/galeon/Browsing/General
60 /etc/gconf/gconf.xml.defaults/apps/galeon/Browsing/Bookmarks
66 /etc/gconf/gconf.xml.defaults/apps/galeon/Browsing/History/Session
71 /etc/gconf/gconf.xml.defaults/apps/galeon/State/compact_bookmark_editor
74 /etc/gconf/gconf.xml.defaults/apps/gedit-2/preferences/editor/line_numbers
79 /etc/gconf/gconf.xml.defaults/schemas/apps/galeon/State/compact_bookmark_editor
82 /etc/gconf/gconf.xml.defaults/schemas/apps/gedit-2/preferences/editor/line_numbers
87 /etc/gconf/gconf.xml.defaults/schemas/apps/panel/default_profiles/small/panels/00000001
88 /etc/gconf/gconf.xml.defaults/schemas/apps/panel/default_profiles/medium/panels/00000001
89 /etc/gconf/gconf.xml.defaults/schemas/apps/panel/default_profiles/medium/objects/00000001
91 /home/ranma/.gqview/thumbnails/shared/htdocs/private/nsysu/pub/Misc/Anime/Pictures/Rayearth
96 /home/ranma/src/user-mode-linux-2.4.20-1um/debian/user-mode-linux/usr/lib/uml/modules/2.4.20-1um
103 /home/ranma/src/user-mode-linux-2.4.20-1um/debian/user-mode-linux/usr/lib/uml/modules/2.4.20-1um/kernel
111 /home/ranma/src/user-mode-linux-2.4.20-1um/debian/user-mode-linux/usr/lib/uml/modules/2.4.20-1um/kernel/drivers
117 /home/ranma/src/user-mode-linux-2.4.20-1um/debian/user-mode-linux/usr/lib/uml/modules/2.4.20-1um/kernel/drivers/block
122 /home/ranma/src/user-mode-linux-2.4.20-1um/debian/user-mode-linux/usr/lib/uml/modules/2.4.20-1um/kernel/net/ipv6/netfilter
170 /home/ranma/mp3-utf8/jpop/ã«ãã°ã©ãã£ãã£ãPorno Graffitti/ãã³ãã¹ãã»ãšãŽã€ã¹ã/Porno Graffitti--ãã³ãã¹ãã»ãšãŽã€ã¹ã-Dateien
--
Tobias PGP: http://9ac7e0bc.2ya.com
This mail is made of 100% recycled bits
np: McVaffe: http://remix.overclocked.org 99 - Actraiser Freestyle OC ReMix []
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030502/52e66b2d/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list