public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* Suggestions on CP
@ 2024-01-22  6:32 bottaawesome633
  2024-01-22  9:35 ` [developer] " Andy Fiddaman
  0 siblings, 1 reply; 6+ messages in thread
From: bottaawesome633 @ 2024-01-22  6:32 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

Anyone working on these issues or I am allowed to work on them?
https://www.illumos.org/issues/16197
https://www.illumos.org/issues/16198
Do you have any suggestions concerning these issues?  

[-- Attachment #2: Type: text/html, Size: 398 bytes --]

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

* Re: [developer] Suggestions on CP
  2024-01-22  6:32 Suggestions on CP bottaawesome633
@ 2024-01-22  9:35 ` Andy Fiddaman
  2024-01-22 10:23   ` bottaawesome633
  2024-01-22 16:23   ` Alan Coopersmith
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Fiddaman @ 2024-01-22  9:35 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]


On Mon, 22 Jan 2024, bottaawesome633@gmail.com wrote:

> Anyone working on these issues or I am allowed to work on them?
> https://www.illumos.org/issues/16197
> https://www.illumos.org/issues/16198
> Do you have any suggestions concerning these issues?  

Hi,

I filed those because I came across them when porting some software to
illumos. As far as I know, nobody is working on them so please feel free
to pick them up, and thank you!

In general, if there is nobody listed in the `Assignee` field in the issue,
then it's most likely that nobody is working on it yet. Do you have an
illumos issue account? If so, we can set the assignee to you.

In terms of suggestions, I don't have anything specific to the change as
I haven't looked at the source, but here are a few optional ones:

- The code is probably quite old at this point, so when you make your changes
  and run `git pbchk`, it may well report issues with other parts of the code.
  Please consider fixing these up too as part of the change.
- Consider adding a test to usr/src/test/util-tests for the new functionality.
- If there are any compiler warnings turned off in the Makefile, please
  consider turning them back on and fixing any fallout. Same for if
  the `smatch` checker is disabled, or currently has pieces turned off.
- cp is currently a 32-bit binary. We are generally trying to move things
  towards 64-bit so if that extra work is something you'd like to look at,
  please feel free. Depending on the software, that port can be a bit of a
  challenge.

Thanks for asking,

Andy

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

* Re: [developer] Suggestions on CP
  2024-01-22  9:35 ` [developer] " Andy Fiddaman
@ 2024-01-22 10:23   ` bottaawesome633
  2024-01-22 16:23   ` Alan Coopersmith
  1 sibling, 0 replies; 6+ messages in thread
From: bottaawesome633 @ 2024-01-22 10:23 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 160 bytes --]

Hii :)
Yes, my username is bottaX633 <https://www.illumos.org/users/13897>. I'd like to work on the, so please feel free to assign them to me. Thanks
Ahmed

[-- Attachment #2: Type: text/html, Size: 916 bytes --]

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

* Re: [developer] Suggestions on CP
  2024-01-22  9:35 ` [developer] " Andy Fiddaman
  2024-01-22 10:23   ` bottaawesome633
@ 2024-01-22 16:23   ` Alan Coopersmith
  2024-01-23 11:51     ` bottaawesome633
  1 sibling, 1 reply; 6+ messages in thread
From: Alan Coopersmith @ 2024-01-22 16:23 UTC (permalink / raw)
  To: illumos-developer, Andy Fiddaman

On 1/22/24 01:35, Andy Fiddaman wrote:
> - The code is probably quite old at this point, so when you make your changes
>    and run `git pbchk`, it may well report issues with other parts of the code.
>    Please consider fixing these up too as part of the change.

And for cp, the source code is cleverly hidden in the tree in the file
usr/src/cmd/mv/mv.c where few people expect to find it until they learn
it's secret (cp, mv, and ln in Solaris are all different personalities
of the same command).

	-alan-


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

* Re: [developer] Suggestions on CP
  2024-01-22 16:23   ` Alan Coopersmith
@ 2024-01-23 11:51     ` bottaawesome633
  2024-01-23 13:40       ` Peter Tribble
  0 siblings, 1 reply; 6+ messages in thread
From: bottaawesome633 @ 2024-01-23 11:51 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

> And for cp, the source code is cleverly hidden in the tree in the file
usr/src/cmd/mv/mv.c where few people expect to find it until they learn
it's secret (cp, mv, and ln in Solaris are all different personalities
of the same command).
So that is different from the cp.c file in libcmd?

[-- Attachment #2: Type: text/html, Size: 1305 bytes --]

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

* Re: [developer] Suggestions on CP
  2024-01-23 11:51     ` bottaawesome633
@ 2024-01-23 13:40       ` Peter Tribble
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Tribble @ 2024-01-23 13:40 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

On Tue, Jan 23, 2024 at 11:51 AM <bottaawesome633@gmail.com> wrote:

> And for cp, the source code is cleverly hidden in the tree in the file
> usr/src/cmd/mv/mv.c where few people expect to find it until they learn
> it's secret (cp, mv, and ln in Solaris are all different personalities
> of the same command).
>
> So that is different from the cp.c file in libcmd?
>

Yes, it is. That's for the ksh builtin.

(If you run ksh, and then type 'builtin cp', you get to use that one rather
than
the one in /usr/bin/cp, and if you then do 'cp --help' you'll see it's a
rather
different thing entirely.)

Some of the ksh builtins (but not cp) replaced the old standalone commands
in /usr/bin (wc is an example of one that's been replaced - there are a
number
that are hard links to /usr/bin/alias).

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/

[-- Attachment #2: Type: text/html, Size: 2183 bytes --]

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

end of thread, other threads:[~2024-01-23 13:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-22  6:32 Suggestions on CP bottaawesome633
2024-01-22  9:35 ` [developer] " Andy Fiddaman
2024-01-22 10:23   ` bottaawesome633
2024-01-22 16:23   ` Alan Coopersmith
2024-01-23 11:51     ` bottaawesome633
2024-01-23 13:40       ` Peter Tribble

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