You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Gary-Hobson (via GitHub)" <gi...@apache.org> on 2023/07/11 09:16:58 UTC

[GitHub] [nuttx] Gary-Hobson opened a new pull request, #9776: drivers: return sequential characters for /dev/zero device

Gary-Hobson opened a new pull request, #9776:
URL: https://github.com/apache/nuttx/pull/9776

   ## Summary
   It will return all characters between ' '(0x20)-'~'(0x7e).
   
   ## Impact
   
   ## Testing
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] patacongo merged pull request #9776: drivers: return sequential characters for /dev/zero device

Posted by "patacongo (via GitHub)" <gi...@apache.org>.
patacongo merged PR #9776:
URL: https://github.com/apache/nuttx/pull/9776


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] patacongo commented on pull request #9776: drivers: return sequential characters for /dev/zero device

Posted by "patacongo (via GitHub)" <gi...@apache.org>.
patacongo commented on PR #9776:
URL: https://github.com/apache/nuttx/pull/9776#issuecomment-1630869594

   /dev/zero is not specified by POSIX AFAIK but is common to most Unix implementations.  It is, for example, described in https://en.wikipedia.org/wiki//dev/zero 
   
   > "/dev/zero is a [special file](https://en.wikipedia.org/wiki/Special_file) in Unix-like operating systems that provides as many null (ASCII NUL, 0x00) as are read from it."
   
   I believe that behavior must not change.  /dev/zero should never return anything but zero, regardless of configuration settings.  I don't believe that this change should be merged as it (conditionally) breaks Unix conventions.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 commented on pull request #9776: drivers: return sequential characters for /dev/zero device

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #9776:
URL: https://github.com/apache/nuttx/pull/9776#issuecomment-1632901921

   @patacongo could you review again?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] Gary-Hobson commented on pull request #9776: drivers: return sequential characters for /dev/zero device

Posted by "Gary-Hobson (via GitHub)" <gi...@apache.org>.
Gary-Hobson commented on PR #9776:
URL: https://github.com/apache/nuttx/pull/9776#issuecomment-1632425857

   > /dev/zero is not specified by POSIX AFAIK but is common to most Unix implementations. It is, for example, described in https://en.wikipedia.org/wiki//dev/zero
   > 
   > > "/dev/zero is a [special file](https://en.wikipedia.org/wiki/Special_file) in Unix-like operating systems that provides as many null (ASCII NUL, 0x00) as are read from it."
   > 
   > I believe that behavior must not change. /dev/zero should never return anything but zero, regardless of configuration settings. I don't believe that this change should be merged as it (conditionally) breaks Unix conventions.
   > 
   > Why not create a new device, say /dev/ascii, that supports the behavior that you want instead of pirating /dev/zero?
   
   Done


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] davids5 commented on pull request #9776: drivers: return sequential characters for /dev/zero device

Posted by "davids5 (via GitHub)" <gi...@apache.org>.
davids5 commented on PR #9776:
URL: https://github.com/apache/nuttx/pull/9776#issuecomment-1632906586

   @Gary-Hobson Please change the title of the PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org