Thank you very much. Your suggested command helped. I am very appreciated.<br>Best,<br>Anahita<br><br><div class="gmail_quote">On Fri, Jul 9, 2010 at 11:07 AM, Matthew Holland <span dir="ltr"><<a href="mailto:mdholland@ucdavis.edu">mdholland@ucdavis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">It seems pretty clear to me from the OP's further clarifications that<br>
this is a header file that belongs to a third party application, and<br>
the effects of editing the header file in question are known to the<br>
poster. The OP's lack of familiarity with UNIX comes through, and I<br>
think this is rousing everyone's protective instincts. Fine, but this<br>
all probably resulted from untarring the source code with sudo in the<br>
first place, so I think we can all just calm down with the warnings.<br>
<br>
I should add that I screwed up the chown command in my first response.<br>
It should be "chown username file" instead of "chown file username."<br>
Sorry for any confusion.<br>
<br>
I would recommend the the OP that if you're going to be using a Mac<br>
for this sort of thing, you do some reading on general UNIX use and<br>
administration. And learn to read man pages, if you don't know<br>
already. All will become clear in good time.<br>
<br>
Matt<br>
<div><div></div><div class="h5"><br>
On Fri, Jul 9, 2010 at 10:59 AM, Bill Kendrick <<a href="mailto:nbs@sonic.net">nbs@sonic.net</a>> wrote:<br>
> On Thu, Jul 08, 2010 at 10:19:00PM -0700, Jeff Newmiller wrote:<br>
>> Unless you have the full source code and are familiar enough with it<br>
>> to insure that it doesn't have hidden dependencies on those constants,<br>
>> and are recompiling the full source code, you should still be wary of<br>
>> changing read-only headers.<br>
><br>
> Indeed.<br>
><br>
> Furthermore, a more proper way of altering constants for your own<br>
> app's purpose would be to redefine them in your source, rather than<br>
> alter the library's header file.<br>
><br>
> e.g.:<br>
><br>
> #include <some_library_header.h><br>
><br>
> #if defined(SOMECONST)<br>
> #undef SOMECONST<br>
> #end<br>
><br>
> /* Override some_library_header.h's SOMECONST with my own number */<br>
> #define SOMECONST 1234<br>
><br>
><br>
> Obviously, this changed constant will only be visible to the file(s)<br>
> that see the above C preprocessor commands.<br>
><br>
> But do keep in mind, as explained earlier, even if you change some<br>
> #define's _in the system-wide header file_ (e.g., if I go in and<br>
> screw around with "/usr/include/stdio.h"), those changes will only<br>
> affect:<br>
><br>
> * programs compiled with that header<br>
> * and compiled AFTER I edited it<br>
><br>
> The "stdio" library itself, and any applications which were compiled<br>
> against the "stdio.h" header prior to my edits, will REMAIN UNCHANGED.<br>
><br>
><br>
> I'm throwing these caveats in here because I think we still don't<br>
> know exactly what you're trying to accomplish. :) Based on the vague<br>
> requirement of "need to change numbers in a header file", what you're<br>
> trying to do could range from trivial to impossible to downright<br>
> dangerous. :)<br>
><br>
><br>
><br>
> -bill!<br>
> _______________________________________________<br>
> vox-tech mailing list<br>
> <a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
> <a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
><br>
_______________________________________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
</div></div></blockquote></div><br>