Re: Can the value of NAME_MAX be changed?

From: Me (somebudy_at_despammed.com)
Date: 06/26/03


Date: Thu, 26 Jun 2003 18:29:30 +0530

On Wed, 25 Jun 2003 21:41:26 GMT, John Gordon wrote:

>Me <somebudy@despammed.com> writes:
>
>> Can the value of NAME_MAX be changed?
>> Changing its value does not seem to make any difference.
>
>NAME_MAX is referenced in the source code of the fopen() function,
>which you did not recompile.
>
>If you are willing to recompile the entire standard library, then
>yes, you can probably set it to whatever you want.

Any way, lets say I change it somehow to a lower value; how will the operating
system treat files with longer names? What if I set it to 0? Will it ever boot
again?

On my system in KDE when I try to rename a file I have the following problem.
In the text box if the number of characters exceed a certain value (NAME_MAX?) I
am automatically logged off.
Do you face such a problem?

Try and put 2 dashes followed by one space as a sig separator, like this "-- "
(without quotes) 8-)

Thanks a lot.

-- 
somebudy@despammed.com
You need not make any modifications, the mail id is valid


Relevant Pages

  • Re: CREATEPROCESS Question
    ... this isn't just a spurious recompile. ... source code changes should normally be needed except in rare special ... commercial applications. ... For an operating system API, it can be a pretty big one. ...
    (comp.lang.fortran)
  • Re: pgm object/source comparison
    ... match date/time for each module. ... >> I have developed a concern recently that the source code may not match ... I recently had to recompile about 50 programs; ... >> George Applegate ...
    (comp.sys.ibm.as400.misc)
  • Re: MS Word - what a mickey mouse pile of sh!t.
    ... I like the fact that you can modify the source code, ... can recompile it with optimization flags specific to your processor. ... There are some features of Word that I may ...
    (microsoft.public.word.newusers)
  • Re: LE question about COBOL compatibility
    ... having the source code to recompile. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: VB6 Application Configuration
    ... >If I take my source code and recompile the application on my laptop running ... >receives an error when it runs on windows XP. ... >recompile the application on my xp computer, it runs ok on XP and 2000. ... >manifest information. ...
    (microsoft.public.vb.general.discussion)