Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
710 B

4 years ago
  1. BEGIN {
  2. "echotime /t" | getline date
  3. print "/***********************************************************************"
  4. print "* Microsoft (R) 32-Bit Incremental Linker"
  5. print "*"
  6. print "* Copyright (C) Microsoft Corp 1992-1996. All rights reserved."
  7. print "*"
  8. print "* File: errmsg.h"
  9. print "*"
  10. print "* File Comments:"
  11. print "*"
  12. print "* Generated from link32er.txt " date
  13. print "*"
  14. print "***********************************************************************/"
  15. print ""
  16. i = 0
  17. }
  18. /^\/\// { print $0 }
  19. /^$/ { print $0 }
  20. /^#define/ {
  21. print $0
  22. }
  23. /^LNK.*: / {
  24. n = split( $0, a, "::" )
  25. symbol = a[2]
  26. print "#define " symbol " " i++
  27. }