[BACK]Return to MAKEDEV.awk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/MAKEDEV.awk between version 1.21 and 1.21.12.1

version 1.21, 2010/03/30 07:30:03 version 1.21.12.1, 2013/06/23 06:26:21
Line 55  BEGIN {
Line 55  BEGIN {
   
         # file with major definitions          # file with major definitions
         majors[0] = "conf/majors"          majors[0] = "conf/majors"
         if ((maarch == "arm" || maarch == "armeb") && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0)          if (index(maarch, "arm") != 0 && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0)
                 majors[1] = "arch/arm/conf/majors.arm32";                  majors[1] = "arch/arm/conf/majors.arm32";
         else if (machine == "sbmips")          else if (machine == "sbmips")
                 majors[1] = "arch/evbmips/conf/majors.evbmips";                  majors[1] = "arch/evbmips/conf/majors.evbmips";
Line 264  BEGIN {
Line 264  BEGIN {
         sub(/%CONSOLE_CMAJOR%/, CONSOLE_CMAJOR)          sub(/%CONSOLE_CMAJOR%/, CONSOLE_CMAJOR)
         parsed = ""          parsed = ""
         line = $0          line = $0
         while (match(line, /%[gu]id_[a-z]*%/)) {          while (match(line, /%[gu]id_[_a-z]*%/)) {
                 typ = substr(line, RSTART + 1, 3);                  typ = substr(line, RSTART + 1, 3);
                 nam = substr(line, RSTART + 5, RLENGTH - 6);                  nam = substr(line, RSTART + 5, RLENGTH - 6);
                 if (typ == "uid") {                  if (typ == "uid") {

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.21.12.1

CVSweb <webmaster@jp.NetBSD.org>