NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/60345: (/usr/src)/etc/services contains non-ascii chars on several lines



>Number:         60345
>Category:       misc
>Synopsis:       services file contains UTF-8 sequences
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 21 03:15:00 +0000 2026
>Originator:     The Grey Wolf
>Release:        NetBSD 11.99.6
>Organization:

				--*greywolf;
>Environment:
	
	
System: NetBSD valentina.serenity.starwolf.com 11.99.6 NetBSD 11.99.6 (VALENTINA) #5: Fri Jun 19 13:10:15 PDT 2026  root@:/usr/src/sys/arch/amd64/compile/VALENTINA amd64
Architecture: x86_64
Machine: amd64

>Description:
	Several of the header lines in /usr/src/etc/services contain UTF-8
	sequences which ought not be there; looks like a Mac text editor
	or wysiwig editor being used on a text file. [I do understand that
	UTF-8 is relevant in email addresses, although, given the
	normalization of the other names, the "areaguard-neo" line
	seems out of whack as well; I think there are others in there.

>How-To-Repeat:
	tr \200-\377' '^' < /usr/src/etc/services | grep '\^\^'
>Fix:
--- services.orig	2026-06-20 19:52:20.180384301 -0700
+++ services	2026-06-20 19:53:01.900204662 -0700
@@ -1,10 +1,10 @@
 # $NetBSD: services,v 1.109 2026/05/29 16:18:13 christos Exp $
 # See also: services(5), https://www.iana.org/assignments/service-names-port-numbers/
 #
-#    � Domains
-#    � Protocols
-#    � Numbers
-#    � About
+#    - Domains
+#    - Protocols
+#    - Numbers
+#    - About
 # 
 # Service Name and Transport Protocol Port Number Registry
 # 

>Unformatted:
 	
 	



Home | Main Index | Thread Index | Old Index