Sue,
I have a question about your changes with using dirname in the following
files.
* usr/src/cmd/installadm/create-client.sh
* usr/src/cmd/installadm/installadm.c
Was there a technical reason behind why the following code was used in
installadm.c to assign dirname instead of just a straight-forward
setting of the directory name?
144 /*
145 * Get directory info for calling subcommands
146 */
147 (void) strlcpy(fullpath, progname, sizeof (fullpath));
148 ptr = (char *)strrchr(fullpath, '/');
149 if (ptr == NULL) {
150 /*
151 * Command called from current directory
152 */
153 dirname = "";
154 } else {
155 /*
156 * Path is either absolute or relative with a '/'
in it.
157 */
158 *ptr = '\0';
159 strcat(fullpath, "/");
160 dirname = strdup(fullpath);
161 }
Also, I have a minor nit:
usr/src/pkgdefs/SUNWinstalladm-tools/prototype_com.frames.html
48 d none usr/lib 0755 root bin
convention for the files is just "755"
Otherwise, it looks fine.
-Moriah
Sundar Yamunachari wrote:
> Sue,
>
> It looks good now.
>
> - Sundar
>
> Susan Sohn wrote:
>> Sundar and Moriah,
>>
>>
>>> Sundar Yamunachari wrote:
>>>
>>>> Susan Sohn wrote:
>>>>
>>>>> Please review the changes for:
>>>>>
>>>>> 4040 installadm packaging needs changes
>>>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=4040
>>>>>
>>>>> which are posted at:
>>>>>
>>>>> http://cr.opensolaris.org/~sohn/4040
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Sue
>>>>> _______________________________________________
>>>>> caiman-discuss mailing list
>>>>> caiman-discuss at opensolaris.org
>>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>>
>>>>>
>>>> *usr/src/pkgdefs/SUNWinstalladm-tools/prototype_com:
>>>>
>>>> *57: publish-manifest and delete-manifest are missing in the modified
>>>> file.
>>>>
>>>> - Sundar
>>>>
>>> Thanks, I'll add them back in.
>>> Sue
>>>
>>
>> I've updated the webrev, same location.
>>
>> Sue
>> _______________________________________________
>> caiman-discuss mailing list
>> caiman-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>
>